hello,
i have haos installed on a raspberry 4. when i turn it on, after a while all devices on my network are not able to reach internet anymore, even ha itself.
i noticed in ha DNS logs this log: “Using degraded feature set TCP instead of UDP for DNS server ”, which i believe it’s what is happening on all devices even though i am able to see the log only in HA and i think it’s the reason why it’s not working anymore.
The only thing i can do is to reboot the router but then the issue represents.
I believe is HA issue because when it’s not connected i have exactly zero issues.
What i tried so far after googling multiple times:
assign static ip both in router and home assistant
disable ipv6 in ha
use quad9 dns
one more thing: i have few logs regarding undervotlage and then normalize, i don’t think this might be the issue for that thing particulary but who knows
ah! the number of devices connected is 24, 25 with haos. i also reached 30ish devices connected when i have guests and issue didn’t happen.
This could be do to your Power source, if you have i.e external device attached to your PI, it can’t cope with this. (even if it’s the “default power source” such gets old.
You doesn’t sounds like you have good network knowledge, so i would suggest you reset Your Router to default setting, same as with your HA
I have no idea what quad9 dns is, but maybe you don’t either are aware of the consequences of using this as your dns.( or for what ever reason )
Golden rule is, Don’t play around with local or manual DNS settings if you don’t know what you are doing
I assume you have your ha/pi attached via ethernet , HA should be, and is better of using Auto, instead of static IP
In your Routers DHCP scope you could “Reserve IP” instead
Also you say nothing in regards if your system/network have ever worked properly with HA, or if it’s something that just suddenly started to happens
i am aware of the reason of the undervoltage, i wrote about it because i don’t know if it can lead to this network issue thing (i don’t think so as stated but i don’t know for sure).
i don’t have anything else attached to rpi.
the HA works properly with all devices, i have no issues in automation, the only strange thing that happens is that when it is turned on, after a while i cannot navigate the internet anymore on ALL devices (computers, phones, tvs).
originally it was in DHCP but after googling for this issues i have decided to reserve ip first on router and THEN in HA but nothing changed.
i have a base network knowledge, i know few tricks as well, that’s why i think the issue is either in my home assistant configuration (which is the default one) or something specific in ha.
by the way quad9 is the default dns in home assistant, it’s the 9.9.9.9 ip you see in the settings and i think it’s like the most famous dns in the world after the google dns
Sorry i don’t see 9.9.9.9 anywhere in my settings , and never seen
Where have you read that this is “Default Dns” in HA
( I thought it was Cloudflare 1.1.1.1 ( as it’s fallback ) , if anything other than the default-gateway on your Router ) so you could try with 8.8.8.8 also, but still, why ? if you don’t know( per default you don’t have to type Any DNS servers, as this is normally a task for your DHCP-Server to provide , and you obviously have DNS issues
How many clients, wired and wireless, are connecting to your router?
Most ISP-provided routers struggle with more than 30-40 clients because of limited RAM for the routing tables. This is easy to test; turn off or disconnect half of your clients. If the problem goes away, there’s your answer.
Try to point your DNS to same IP as your Routers Lan IP ( Gateway )
( And remove 9.9.9.9 )
As you have not told either which Router you have, no-one knows but most Routers and ISP’s have a preferred DNS Server
HA “pick” first the DNS-Server from/if Provided by the Router/DHCP, as a fallback it should use 1.1.1.1
And as you have poking around with Static and Auto etc, noone knows how your setting looks like now, we only have your words NO i.e screen-print of HA’s settings etc
Thats why i initially suggested you to reset your Router, and also Keep/Set HA default settings, which should be what the Device get from the DHCP, in many cases Default is the same as LAN-IP ( Gateway ) if you have not been “poking” in Your Router also.
This “Gateway” causes the Router “forwarding” the DNS requests, for outgoing packets(ip-numbers/domain-names, Other than .local ) to Your ISP, Which im Pretty sure have one of the “Nearest/Fastest” to an reliable DNS-Server ( Their life and their Customer(most) rely on this )
And fix this, could also be some “trick” you made in your Router or HA Settings,I.e Changing Defaults, setting DNS-Server the wrong places, or a firewall rule etc.
As your other Devices, laptop/phone also not can find/ping google.com, could point to your Router Settings
Again, IF Your ISP have not giving you a specific NOTE: when you got your internet-subscription, I´with information you should set in your Router, Dont set any if you dont know what you are doing, Use the Routers Default Settings ( If it’s a “decent” Router )
this point directly to a DNS problem, are you using some strange addonn/app in HA like VPNs etc?
Eg. Tailscale can lead to issues if you wrongly configure the “magicdns” options..
In normal circumstances neither HAOS nor HA itself should interfere withh DNS resolution.
check that you did not inadvertently set your HAOS with a conflicting IP with your router.
Usually the ISP router sets itself as a caching DNS then it forwards queries to upstream DNS.
Can it be that after a while DNS requests on your lan get “redirected” to your HA host?
I did not read all the posts, but if other devices are affected too, then it suggests that you have a æn IP address conflict and it could sound like with your DNS service, which is probably the router too in your case.
ok guys it was definitely something on HAOS installed on raspberry pi, is any of you running it on rpi by any chance?
because a reinstalled it, keeping all vanilla and did the same. after i installed raspberry os and ran HA in docker, keeping all vanilla again but it is currently working properly.
other than that i am not receiving undervoltage errors… i don’t want to think it was actually that.
as soon as i will receive the new power supply ordered i think i will try again.. i think… maybe.
in the meantime, thank you all for the support and your availabitliy!
bye!
Huh? The router IP is static by default since it usually has the DHCP server. Static IP is defined in the device, not the router. Do you mean reserved IP?
The fact that nothing pings tells me there is a DNS problem.
Are you saying that if you don’t connect the Home Assistant server (your Raspberry) that everything is normal? You can browse Google, watch YouTube, etc? Only when you connect the Raspberry to you network do things stop working? And even then, not right away?
correct. everything works perfectly, from years. when i plug in my raspberry with haos after some minutes (can be 1 minutes or 5 minutes, the time changes but i donk’t know based on what, because even if i don’t do anything and just wait the time changes), i cannot navigate the internet anymore on any device, and i mean i cannot navigate AT ALL, whatsapp/telegram don’t work, browsing from safari/edge/chrome/firefox don’t work, the smart tv do not work, spotify don’t work etc etc etc etc
That changes A LOT of speculation.
Get a new SD card and install Raspian on it. Plug in a monitor and keyboard and let it run in the background. If your network never goes down, then I would start with re-installing HAOS. (BTW, how did you install HAOS?)
About +120000 Pi’s is running Homeassistant , not many( if any ) have “reported” anything similar as You, ( Lately ) in HA’s Github, or here for that matter
But if you are sure it’s caused by HAOS,Please report an issue in Github, so it can be fixed, so others don’t run into the same “situation”
Again, this is something VERY weird IMHO.
Please explain that to us because I have a hunch that there is more to it then you are telling us and I guess then you know.
You didn’t coincidentally assign the same IP to your HA as to your router?!
We are trying to help you with a very vague issue and you can help us and yourself by at least answering questions.
Also, it does not add anything to repeat the same thing over and over again.