core: upnp error with AVM Fritz Box

The problem

upnp integration is reporting error in lovelace (and there actually is a warning in the log) and it stopped working. It was working fine, despite the errors, in previous versions.

What is version of Home Assistant Core has the issue?

2021.10.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

ssdp

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-10-07 11:04:42 WARNING (MainThread) [homeassistant.components.ssdp] Failed to setup listener for 0.0.0.0: [Errno 98] Address in use

Additional information

This is a followup of #55945 and #53118

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 28 (24 by maintainers)

Most upvoted comments

Troubleshooting is hard for me to do without being able to reproduce it. I don’t mind investing time in this, but the cost vs benefit… lets close this issue. If you ever find anything I’m very much interested!

Thank you for your time as well @maxcanna.

I already sent all the logs produced when increasing the level. I just had:

2022-01-09 16:57:54 DEBUG (MainThread) [async_upnp_client.advertisement] Start listening for advertisements
2022-01-09 16:57:54 DEBUG (MainThread) [async_upnp_client.ssdp] Creating socket on (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '0.0.0.0', ('0.0.0.0', 0)) to (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '239.255.255.250', ('239.255.255.250', 1900))
2022-01-09 16:57:54 DEBUG (MainThread) [async_upnp_client.advertisement] Binding to address: ('239.255.255.250', 1900)
2022-01-09 16:57:54 WARNING (MainThread) [homeassistant.components.ssdp] Failed to setup listener for 0.0.0.0: [Errno 98] Address in use
2022-01-09 16:57:54 DEBUG (MainThread) [homeassistant.components.upnp] async_step_user: user_input: None