core: 0.113.0 - Zeroconf errors

The problem

Log error recorded

Environment

  • Home Assistant Core release with the issue: 0.113.0
  • Last working Home Assistant Core release (if known):
  • Operating environment (OS/Container/Supervised/Core): Core
  • Integration causing this issue: zeroconf
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

-

Traceback/Error logs


2020-07-23 17:53:13 WARNING (zeroconf-ServiceBrowser__http._tcp.local._5358) [zeroconf] Error sending through socket 25
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 2792, in send
    bytes_sent = s.sendto(packet, 0, (real_addr, port))
OSError: [Errno 22] Invalid argument

2020-07-26 08:24:40 WARNING (zeroconf-ServiceBrowser__http._tcp.local._5358) [zeroconf] Error sending through socket 25
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 2792, in send
    bytes_sent = s.sendto(packet, 0, (real_addr, port))
OSError: [Errno 19] No such device

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (15 by maintainers)

Most upvoted comments

#35773

That PR appears to be doing things correctly and using the shared instance 👍

pyShelly will need an issue opened and the custom integration as well.

Here is an example of how to get the shared zeroconf instance: https://github.com/home-assistant/core/pull/38678

Running multiple Zeroconf instances in the same process has also been known to drive up CPU