-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPnP: continious errors in logs #73988
Comments
upnp documentation |
Hey there @StevenLooman, @ehendrix23, mind taking a look at this issue as it has been labeled with an integration ( |
Same here, although only difference is fd=13 in the logs. It is exactly every 2 minutes that this error pops up. The first time in the logs it shows up there is additional info in the logs though:
So it seems for me it's IPv6 related. I think the issue started for me when I disabled IPv6 in the HASS configuration (System -> Network -> IPv6 to disabled). I've re-enabled DHCP (although I don't have IPv6 on my router enabled), I'll let you know what happens. Edit: seems to have done the trick for me. This error should however not be there when IPv6 is disabled. |
ssdp documentation |
network documentation |
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( |
I think when IPv6 is disabled, the adapter(s) found via the |
I'm not sure if we actually know if ipv6 is disabled as ifaddr only tells us the addresses not if ipv6 is actually enabled which isn't something we can tell in a cross platform way AFAICT |
There is also the question why it reports |
How are these supervised installations run; bare-metal Ubuntu? VM? k8s? |
For me it's bare metal, Intel NUC installation (don't havr an actual NUC though). |
I have Intel NUC with Supervised HA on Ubuntu 20.04. But now I don't have these errors anymore. Firewall is disabled. IPv6 is disabled. |
Did you change anything, or just restart home assistant? |
I didn't change anything. I have tried to restart HA and host several times and the errors were still appearing. But after a night I realized that there are no errors anymore. |
This issue is happening to me as well. I am running HA 2022.6.7 on macOS 12.4 and python 3.10.5. Previously this was working fine with python 3.8.x and HA 2021.12.x. I have to restart HA every couple of days to get it working again. |
It appears that disabling |
Yes, when you do this SSDP/UPnP devices will no longer be discovered and integrations relying on this will no longer properly work. |
@mark-miller0 I'm uncertain if macOS is a supported platform, unless running in a container or VM. Still, I'd like to investigate this. Do you see any changes with regard to the addresses? Windows uses RFC3041 to randomly generate an address and use that, for privacy reasons. Perhaps macOS does this as well, but for link local addresses (i.e., it changes mac address or something)? Can you see if your IPv6 addresses change between a restart of home assistant, and when the error starts occuring? |
@StevenLooman HA has been supported on macOS in a python venv for several years. In my case it has been running fine for 5 years. It wasn't until the move from python 3.8.9 to 3.10.5 and from HA 2021.12.7 to 2022.6.7 did this happen. I can take a look at IPv6 this week. macOS is a fairly aggressive user of RFC3041. |
You are right, must have read over the link to this page: https://www.home-assistant.io/installation/macos. Though it mentions
Great, hopefully we can get this fixed. |
Yikes! I have not read the current macOS installation instructions for HA in quite a while, but those are much different than what used to be there. The installation instructions located here are what I have been using with great success: https://siytek.com/install-home-assistant-on-mac/ Will get back to you soon with some more info on the IPv6 behavior. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I have these errors every minute:
Internet connection is OK. UPnP itself seems to be working fine. So the issue is only in the logs?
What version of Home Assistant Core has the issue?
core-2022.6.7
What was the last working version of Home Assistant Core?
core-2022.5.5
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
UPnP
Link to integration documentation on our website
https://www.home-assistant.io/integrations/upnp
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: