core: Wemo integration creating non-stop SSDP errors in log
The problem
I am using the latest home assistant with a series of integrations. I have SSDP and Zeroconf enabled in my configuraiton.yaml file. As soon as i add the wemo integration, while it finds my wemo devices and adds them properly, i start getting all kinds of SSDP errors in my log files.
Here is an example:
2021-07-10 12:40:08 ERROR (Wemo DiscoveryResponder Thread) [pywemo.ssdp] Failed to send SSDP reply to ('192.168.1.108', 45072)
Traceback (most recent call last):
File "/Users/u8915055/Documents/homeassistant/lib/python3.9/site-packages/pywemo/ssdp.py", line 426, in respond_to_discovery
sock.sendto(
OSError: [Errno 49] Can't assign requested address
2021-07-10 12:40:09 ERROR (Wemo DiscoveryResponder Thread) [pywemo.ssdp] Failed to send SSDP reply to ('192.168.1.109', 53431)
Traceback (most recent call last):
File "/Users/u8915055/Documents/homeassistant/lib/python3.9/site-packages/pywemo/ssdp.py", line 426, in respond_to_discovery
sock.sendto(
OSError: [Errno 49] Can't assign requested address
THe strange thing here is that those IP address are google home devices (which are using the google cast integration and working fine). These messages happen every few seconds.
I watch my logging pretty carefully and this is the first time im seeing these… now whether this started with the last update or not i cannot say.
What is version of Home Assistant Core has the issue?
core-2021.7.1
What was the last working version of Home Assistant Core?
core-2021.7.1
What type of installation are you running?
Home Assistant Core
Integration causing the issue
wemo
Link to integration documentation on our website
https://www.home-assistant.io/integrations/wemo/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2021-07-10 12:39:40 WARNING (SyncWorker_0) [pywemo.ssdp] Error fetching description at http://0.0.0.0:1901/index.html
2021-07-10 12:39:40 WARNING (SyncWorker_0) [pywemo.ssdp] Error fetching description at http://0.0.0.0:1901/index.html
2021-07-10 12:39:40 WARNING (SyncWorker_0) [pywemo.ssdp] Error fetching description at http://0.0.0.0:1901/index.html
2021-07-10 12:39:42 ERROR (Wemo DiscoveryResponder Thread) [pywemo.ssdp] Failed to send SSDP reply to ('192.168.1.3', 58184)
Traceback (most recent call last):
File "/Users/u8915055/Documents/homeassistant/lib/python3.9/site-packages/pywemo/ssdp.py", line 426, in respond_to_discovery
sock.sendto(
OSError: [Errno 49] Can't assign requested address
2021-07-10 12:39:43 ERROR (Wemo DiscoveryResponder Thread) [pywemo.ssdp] Failed to send SSDP reply to ('192.168.1.3', 58184)
Traceback (most recent call last):
File "/Users/u8915055/Documents/homeassistant/lib/python3.9/site-packages/pywemo/ssdp.py", line 426, in respond_to_discovery
sock.sendto(
OSError: [Errno 49] Can't assign requested address
2021-07-10 12:39:44 ERROR (Wemo DiscoveryResponder Thread) [pywemo.ssdp] Failed to send SSDP reply to ('192.168.1.3', 58184)
Traceback (most recent call last):
File "/Users/u8915055/Documents/homeassistant/lib/python3.9/site-packages/pywemo/ssdp.py", line 426, in respond_to_discovery
sock.sendto(
OSError: [Errno 49] Can't assign requested address
2021-07-10 12:39:45 ERROR (Wemo DiscoveryResponder Thread) [pywemo.ssdp] Failed to send SSDP reply to ('192.168.1.112', 51046)
Traceback (most recent call last):
File "/Users/u8915055/Documents/homeassistant/lib/python3.9/site-packages/pywemo/ssdp.py", line 426, in respond_to_discovery
sock.sendto(
OSError: [Errno 49] Can't assign requested address
### Additional information
_No response_
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 23 (8 by maintainers)
@esev thanks for your work on this
Cloned and running with no errors yet.
I will add some input here. Discovery does work for me on a mac with Catalina.
Although i dont know why i get that inability to find descriptions but it could be that i have some wemo device that are known but unplugged right now.
Hope this helps.
Gotcha, ok. I need to find a few hours to get up to speed on these last few issues to see if I can help. I know you’ve been looking into it though.