You absolutely beauty you. ! Works !
Used incognito and got the auth popup. Logged in and transported over the VPN to my HA sever in my LAN.
I have accrued knowledge over a year or so having known ziltch about HA, config, linux, nginx, services and so on. But Ive got there. Just one thing ⌠how did you know it was this cache thing and why did ctrl-f5 not work in Chrome to refresh? If you dont mind please.
EDIT:
Works on my laptop.Not on my mobile.
My phone, using Chrome, logs me in through nginx auth, opens the HA dashboard, but then returns me to the nginx auth screen. Cleared chrome browser storage cache and all Chrome browsing data, cookies, images - since all time. ??
Seen this in the homeassistant.logâŚ
2020-11-17 21:53:56 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2020-11-17 22:00:01 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
EDIT 2:
My bad !!
Didnt clear âall timeâ browser cache on phone, it was set by default to âlast 24hrsâ so I changed to âall timeâ - and now itâs working.
EXCELLENT.
Just looking forward to the explanation from the guru Jim on this - why does this happen ?