If I click on the configurator button (spanner) on the home screen the browser goes to http://hassio.local:8123/configurator but the area where the configuration options would normally appear just contains “401: Unauthorized”. The browser cache has been completely cleared and the hassio pi rebooted but this makes no difference. If I press refresh then it tries to display a blue header but then just reverts to a white page with “401: Unauthorized”. Anyone got suggestions as to what else I can clear or try to get this working again?
The problem started when I moved the HA to my new house and changed from accessing the HA from a Windows 10 PC (chrome browser) to accessing via a Teamviewer running on a Pi (chromium browser). The HA is running on another Pi. The IP address of the HA has not changed.
Unfortunately I have the same problem here. Started a new raspi hassio and have many problems with 401.
However I noticed that my problem only occurs on Opera- and UR-browser. Using Firefox or windows-Edge I don’t see the problem.
So it seems to be related to the browser in combination with Home Assistant, but I have no idea of a solution except using another browser
I have issue with Chrome all of a sudden as of last month or two… Safari on my mac works well.
Running NUC and did multiple restore from snapshots old and new… nothing worked and then saw the last post and tired Safari… and it works…
I usually have HA config shared with IP restriction and edit via Textedit. The configurator is convenient when I want to tweak something without really diving in.
Also had the “401: Unauthorised” problem for the “File Editor” in chrome after reseting my hass on a RPi. I did not have to reinstall Chrome but delete all site data and settings for sites. After that File Editor worked again.
I confirm it looks like a cookie issue. Running in incognito mode worked for me, so if you delete all site data and settings for sites you should be good
Just to add a bit more. Having the same issue here. Actually tried to reinstall HASSIO several times before giving up on that path. Can reproduce 401: Unauthorized reliably with at least File Editor and deconz addons. Console says WARNING (MainThread) [supervisor.api.ingress] No valid session None each time I try to access these endpoints.
When trying Edge instead of Firefox, I can suddenly access the addon. What is the issue here?
Also getting 401: Unauthorized often I have access to home assistant (sometime it’s doesn’t work with the app or safari but it’s work with Firefox) but then when I’m trying to use a add-on like the text editor or SSH I have this error.
In my case I found the problem began once I installed the duckduckgo essentials privacy extension in my browser (Edge). Just in case for you to check. Removing extension did the trick.
I’m facing this in Chrome.
I uninstalled NGINX, cleared cookies and cache several times, disabled all extensions, disabled Chrome security features, everything I could find. Doesn’t work.
As soon as I open in incognito, it works perfect. Also in Edge. I can’t find what exactly is causing this for me. Any ideas?
Just did an update from 2021 to 2023 in virtualbox. I have duckdns and had to change the ip passthrough of my router to the new instance of HA 2023. didn’t notice at first, but now terminal and file editor don’t work. Did as instructed and flushed dns, cleared browser cookies and cache and did not work. Opened an incognito tab in chrome and work fine. Still need to figure out what I did, I’m sure something during my transition, but at least I have access.
I also attempted to port forward using duckdns and let’s encrypt. Had trouble using duckdns and didn’t want to port forward because of the security risks. I reverted my set up and noticed the same errors with file system and terminal. I was able to fix error caused from duckdns.
I went to chrome settings => Privacy and security => Site settings => View permissions and data stored across sites. I purged all sites
with Home Assistant in the name, reloaded and everything worked.
Not sure why but there were multiple sites with similar url to the local one had been using before trying to implement duckdns. I think these site had something to do with the errors. Once I cleared the data from these sites everything went back to normal.