Ubuntu docker: Unable to connect to Home Assistant. Retry

In Chrome, where I normally log in, I get the classic “Unable to connect to Home Assistant. Retry” message. From incognito or Edge, I don’t even get that, but a standard “This site can’t be reached” page. Running in a docker container on Ubuntu, using duckdns.

I don’t know much about debugging HA from outside HA. I can remote into the computer just fine, but that’s it.

Tips on where to start?

look at the home-assistant.log file in the config directory for errors.

1 Like

If you are running docker try docker ps to see if the container is running.

What was the docker commandline that you used to run home assistant?

Oof, I feel dumb.

home-assistant.log said one of my secrets wasn’t found. Turns out I commented one out without checking that it wasn’t used anywhere anymore.

Thanks darksky.

1 Like

We’ve all been there.

Just make sure you always do a config check before restarting to catch those errors.