Just want to start out by saying, I have done tons of searching on this and I cannot find anything that specifically fixes my issue or even someone that has mentioned the exact same symptoms that I’m seeing.
I have a very intermittent issue that I can’t find a solution to.
I currently have Hass OS 6.5 installed on a Raspi 4B. It’s got Let’s Encrypt setup with Duck DNS and I can access it from outside my network using SSL and the Phone app. On my computer, I prefer to access it using Firefox browser.
For some reason, whenever the host is rebooted or sometimes just randomly when I try to access https://homeassistant:8123, I will get the error “Unable to connect to Home Assistant” with the Retry button. What often happens is that either spamming the Retry button will sometimes get it to work. If I leave it alone for a while and hit Retry again, it may or may not work. In every case, it will randomly work at some point and I have access to it again. During this time of it not working though, accessing it through my phone (which is my external IP) always works.
By accessing it externally, I can see error logs. The error I get is always the following (occurrence number varies based on how many times I clicked Retry):
It’s mostly on one PC on my local network (the only one I ever locally to access HA) but occasionally it happens with my phone via Nabu Casa and the mobile app, as well.
It’s been going on for several months and I’ve posted about it before but I got no solution/hints so I’ve just put up with it since it mostly works.
And yes I’m always using the correct username and password.
I’ve seen a lot of people responding with something about using the wrong password. When doing that, intentionally of course, red text is added to the login page stating “invalid username or password” and you don’t get to the “Unable to connect to Home Assistant” page at all.
nslookup gives me the static IP that I’ve given to my Raspi4.
How would I activate SSL on my local network? I haven’t seen any information on how to do that.
No, I don’t. That’s what I need to know how to do, if it is possible. Accessing via https gives me the “this is not secure” browser warning and I continue anyways.