Hi, I am following a different approach to getting external access to my internal home assistant RPi.
I use a proxy_pass directive on nginx - routing the “https://sub.domain.com” to the internal server’s IP-address:8123.
I am able to get to the Home Assistant login screen. But, when I log in with my credentials - both from a web page, and from the app, I get the home assistant logo, and the message below it:
Unable to connect to Home Assistant.
RETRY
So - from external to my network I do get to the home page, but cannot log in.
Some settings:
- On the Internet facing RPi - which I get to with port forwarding - I only enabled ports 80 and 443.
- I have successfully installed LetsEncrypt on nginx for sub.domain.com
- I have ufw firewall running - between the nginx server and the internal home assistant server, and enabled a rule to pass traffic from nginx to homeasst-ipaddess and port 8123.
- I have checked and double checked - and tried with a different user’s uid/pwd as well.
The Log file states:
Logger: homeassistant.components.http.ban
Source: components/http/ban.py:116
Integration: HTTP (documentation, issues)
First occurred: 23:01:04 (2 occurrences)
Last logged: 23:01:07Login attempt or request with invalid authentication from nginx.domain (xxx.xxx.xx.x). (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15)
Where else should I look - for home page coming up, but logging in not working?