I have the exact same setup, and the exact same problem.
I’m running 2 webservers (weewx and hass) on different ports of the raspberry pi, and I have nginx running on a “proxy”-like other rasberry.
I have generated cerificates as outlined by a blog post from nginx, for both hass and weewx. This has the additional benefit that it also alters the
.conf file accordingly, and it worked flawlessly for my weewx web server.
However, for hass (which is running in a docker container), I get to the login screen (followed by my 2FA screen), and after having succesfully logged in, I get the “Unable to connect to Home Assistant.” screen. I see nothing appearing in the logs. I however see that “
tokens are generated for https://marvin.[redacted].be/”, so the login was succesfull.
This is my configuration.yaml:
This section might be related:
customize: !include customize.yaml
packages: !include_dir_named packages
I suspect that hass is trying to “recheck” the certificate, but fails to do so. I tried to adding the following to my configuration:
wth the fullchain and privkey copied from my nginx server to the root directory of hass. But although this passed the “check configuration”, hass refused to start up (not even the “safe boot” mode).
I’m basically out of ideas now…
Thank you in advance!