I have a very strange problem. It seems like HA is taking my router down every time I want to use it inside my network. When I access HA from outside my network (over https and duckdns) everything works flawless.
When I use the same url from inside my network, my router is giving DHCP errors and reboots itself up to 5 times. After x minutes, it the errors occur again.
I have a router from my ISP Telenet (Belgium company), so I can’t setup or change much myself. Telenet came to ‘fix it’, but failed 2 times already. The replaced the router, but that didn’t fix it.
when you say the same URL you mean using fully qualified domain name? Have you tried using local IP/private IP (192., 10., or whatever your LAN IP is) when you’re at home, instead of domain name, to see if your router won’t act up?
But I had to remove my base_url, but I than I have to use https://192.x.x.x:8123 and I get ssl errors. When I use http://192.x.x.x:8123, I can’t access my HA instance.
How can I resolve this error?
Knowing that using my duckdns url gives this error with my router. How can I fix this? I need to use my duckdns url with working ssl for the Home Assistant Cast functionality.
Just saw your message.
I have had exactly same problem a few weeks ago.
Also SSL errors… Router stopped responding and rebooted. It started after an home assistent update to a newer version. Finally reinstalled homeassistant and problems went away.
One of the strangest thinks that happend to debug in a long time i think.
First i thought it was a dd wrt firmware bug on my r7000 router but when i reinstalled fresh home assistant after a while everything was workibg normal. But still weeeiird issue
Ohh also problem went away if i rebooted home assistant/rpi and router. Then when everything was ok again… as soon as i opened home assistant in my browser, problems started again
I personally use a VPN and it makes things way easier and arguably way more secure than duckdns/letsencrypt.
You have a couple of different options for setting up a VPN.
My router supports it’s own OpenVPN server so I just set that up.
But before I realized that my router had that functionality built-in I had previously set up PiVPN on an extra Pi I had laying around.
Using a VPN allows me to connect directly to my HA instance usinbg the IP address while I’m connected to my home network (wifi or LAN) and then if I need to access HA while I’m not on my home wifi network I literally just click a button to connect to my VPN and I can access my HA (or anything else on my network) just as if I was connected to my router through wifi sitting in my livingroom.
The connection is securely made by setting up server/client key files that someone would need to have on their device to allow access to the VPN. And communication is encrypted so no one can listen in on your traffic.
I can give you a quick and dirty procedure that you can use to install it on a Pi and may be able to be adapted to use on another device. But it’s even easier if your router offers the built-in functionality.
I also have a NGINX proxy set up in my Docker but I really don’t use it for anything. It was more of a “let’s get this running in case I need it at some point down the road”. So it just sits there running along doing nothing except for the occasional test to make sure it is still working.