Closed danielbrunt57 closed 3 years ago
I've just installed Firefox and tried that...
Backup restored and up and running but only with Firefox; I still see the same errors in Edge and Chrome.
I just tried my old link in Edge (https://unifi.brunt.local:8443 which resolves to my internal IP) and it works so it's the Open Web UI from Supervisor Add-on (https://brunt.duckdns.org:8443) which is failing...
The trick is to export your unifi settings from within the controller app, then uninstall the unifi addon, reinstall it and restore the settings from within the controller:
I have done those steps and have access to Unifi via my browsers using https://unifi.brunt.local which resolves to 192.168.1.104 but the Open Web UI button takes me to https://brunt.duckdns.org, which also resolves to 192.168.1.104 on my LAN but the page via that URL fails to load...
Since Firefox was working but not Chrome or Edge, I researched HSTS... In Chrome, I went to chrome://net-internals/#hsts and deleted domain brunt.duckdns.org - problem solved. In Edge, I went to Settings>Privacy, search and services>Clear Browsing Data and chose Cached images and files. I could then browse once to https://brunt.duckdns.org:8443 but not after that...
I dug deeper into the issue and have disabled HSTS in NGINX and now I can get to UniFi via the OPEN WEB UI button. I changed from:
hsts: max-age=31536000; includeSubDomains
to:
hsts: max-age=0
I had the same trouble as others have reported with the upgrade from 23.2 to 1.00 and read the other posts so I restored my snapshot, created & downloaded a backup in Unifi, uninstalled 23.2 and installed 1.0.0 fresh but I have the following errors when Edge or Chrome try to open https://brunt.duckdns.org:8443 Edge: Chrome: