I have an error 401

Hello,

As of today, I have the problem that the computer from which I access my Home Assistant Server no longer has proper authentication. I can access the regular HA points, but all addons can no longer be viewed.

As if I no longer have access rights to myself. I am logged in as the owner.

Hi, welcome to the forum!

Your profile holds the setting to use Advanced mode through browser cookies.
Check if that setting is still enabled.

Open your Home Assistant instance and show your Home Assistant user's profile.

1 Like

the option is activated

So it’s not related to the user session/settings but a problem with HA?
Apart from the Add-ons missing, something else that is not right?

Did you check the logs?

Open your Home Assistant instance and show your Home Assistant logs.

I don’t know exactly. I noticed that I can see everything with another browser, but not with my heavily used Firefox.


Dies ist in meinem Firefox

Did you already refresh your browser session?

yes i have refresh the browser and clear the cache

Is this with local access over HTTP?

I definitely need to expand a little further.

First of all, yes I go in with http://. But I tried to set up Alexa a few days ago and, among other things, communication via https:// was a requirement. I realized this using the duckdns addon.

In the end it didn’t go right and I drove everything back. Apparently there is something stored somewhere in FireFox that declares these pages to be unsafe, or there is information stored in the HA that says that these pages are denied to me as user xy.

I managed it. Whatever way I managed to lock myself out of FireFox.

I deleted all history and data in FireFox that were primarily related to HA. Then I closed FireFox.

I then went to my user profile with Microsoft Edge and clicked on Security. Here you can see all the tokens that were created. Sessions, I would say. I deleted all the tokens except the one that had a green marker, since I was in with Edge.

I then restarted FireFox. And a new token was created. And lo and behold, I can now access all the add-on interfaces again without this error message.

I was so frustrated that I almost considered reinstalling HA.^^

With that in mind, if anyone happens to have the same problem, I hope this will help them.

Best wishes

Good you got it solved!

This was an indication that it was your browser and not HA.

Please take the time to mark the solution as the answer, you do that by selecting the three dots under the post:

image

Then select the check box:

image
By doing so this can be useful to other users as well (this thread comes up as solution when staring a related thread).

1 Like

i have this thread marked

thx

1 Like

Remember that: when something is not right, always try another browser.
This has happened to me too, more then once.

1 Like