Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to logon and reset password #1049

Closed
imanpeeman opened this issue Feb 5, 2020 · 30 comments · Fixed by home-assistant/supervisor#1479
Closed

Unable to logon and reset password #1049

imanpeeman opened this issue Feb 5, 2020 · 30 comments · Fixed by home-assistant/supervisor#1479

Comments

@imanpeeman
Copy link

imanpeeman commented Feb 5, 2020

Out of the blue (after auto update to Deconz 5.1?) i'm no longer able to logon to the phoscon app. my raspbee is detected, the logon screen is displayed, but i'm not able to logon.
When resetting the password (within 10 minutes after boot) I got the reset password dialog, I can press it (the websites returns with 'The password is set to default') I can also click on the green button stating 'set new password' but nothing happens.

I'm using the Raspbee with FW 0x26330500 and HassOS 3.8 and Hass.IO 104.3.

maybe there is a relation / side effect with #947 ?

Is there a way out?

@zaurak27
Copy link

zaurak27 commented Feb 5, 2020

I am experiencing the same issue as imanpeeman. Even the rollback to 5.0 did not do the trick. Neither my old password nor the reset is working. I made a clean install without success.
Anybody knows a resolution?

I am using RbPi 4 with raspBee premium.

@Flipper84
Copy link

same issue here,
but when dongle connected to a win10 computer and deconz addon the login works.

@mbo18
Copy link
Contributor

mbo18 commented Feb 5, 2020

Same here since this evening.
I'm running HA 104.3 and I have just updated to Supervisior 198 and OS 3.9.

@LeonCB
Copy link

LeonCB commented Feb 5, 2020

Same here.
Running OS 3.9, Supervisor 198.

@modestpharaoh
Copy link

Same issue here... I didn't even have auto update for deconz

@Luke95vl
Copy link

Luke95vl commented Feb 5, 2020

Same after updating to 0.105, OS 3.9, Supervisor 198

@ukmgranger
Copy link

Same here

1 similar comment
@fuzzysteve
Copy link

Same here

@mbo18
Copy link
Contributor

mbo18 commented Feb 5, 2020

I think it's related to Supervisor 198.
Have you all updated to this release?

@fuzzysteve
Copy link

I have

@brugk000
Copy link

brugk000 commented Feb 5, 2020

#metoo

@Flipper84
Copy link

Supervisor 198
HassOs 3.9
core 104.3

@adromiscus
Copy link

Same problem after last update; password is not recognised, can't log in

@FlyingPersian
Copy link

Same here. I didn't even update, maybe it auto updated.

@Tungvall
Copy link

Tungvall commented Feb 5, 2020

. I tried everything and once i managed to reset the password the default one (delight) didnt work at all.
I unplugged the Conbee from my rapsberry and installed it into my PC.
I booted it up and got into it. Once there i started the web app (same i see in in hass) and had some issues. I got back in and managed to pick a password.

I logged out and back in with the new one to confirm it worked, which it did.
Back into HassIO (rpi3b+something) it's back to showing my "Login failed."
I also removed the Deconz addon but with no luck.

@rchamp26
Copy link

rchamp26 commented Feb 5, 2020

same thing literally happened to me just now. everything was working. just set this new add on now added devices, then went back to deconz web ui, and it didn't know the password i set. i tried resetting and same things as others.

i only have a few lights, so tried uninstalling, rebooting whole server, nothing. somehow the 'password' is still saved somewhere.

so i also just noticed 0.105.0 is out. so upgraded to that, tried installing deconz, nope, still seems to detect old settings somewhere.

@ymoona
Copy link

ymoona commented Feb 5, 2020

Same issue here. Yesterday all was working fine and tonight I cant login. Password reset seems to work but I still cant login. After I found that it did not work anymore I update hassio to new supervisor. Still broken, I also tried to restore from backup also does not work. The backup is fine I used it to restore my whole system yesterday and then It was working.

In the logfile of hassio I see this when I try to logon:
20-02-05 23:12:33 ERROR (MainThread) [hassio.api.security] Invalid token for access /ingress/1tKyMxTZlK3TE2hufIHqsTCVSywa0R6Bs_OG805tShI/api/

And in the log of the addon:
172.30.32.2 - - [06/Feb/2020:00:14:07 +0100] "GET /api/hassio_ingress/1tKyMxTZlK3TE2hufIHqsTCVSywa0R6Bs_OG805tShI/api/config?_=1580944446976 HTTP/1.1" 403 140 "blob:http://hassio.local:8123/cbd611f7-5e44-4694-a743-4cb47442c0de" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363"

Removing the addon and restoring from backup does also not help.

@cogneato
Copy link
Contributor

cogneato commented Feb 5, 2020

I don't use deconz but I'm seeing more of this in discord along with
ERROR (MainThread) [hassio.api.security] Invalid token for access /ingress/NR_foGYZmUZp7PGTbuA9nGaVxftgdyjpwp2siheZETU/api/

I would avoid tearing things apart/down for now and wait for devs to see.

@Luke95vl
Copy link

Luke95vl commented Feb 5, 2020

if you log in from [your home assistant ip address]:40850 it works and you can log in.
If you try to log in from the sidebar in Home Assistant log I get

20-02-05 21:55:32 ERROR (MainThread) [hassio.api.security] Invalid token for access /ingress/sx8YEmeZuUvtxr978Uy75IzE4MgWbCZLMalO4ehQYcg/api/

@hmbusch
Copy link

hmbusch commented Feb 6, 2020

I got this issue too after upgrading to Hassio 0.105. When I connect via port 40850 (after mapping it in the settings), everything works fine, when I use the deConz WEB-UI via Ingress, login is denied and I'm seeing a lot of these errors in the main log:

2020-02-06 01:34:11 ERROR (MainThread) [pydeconz.websocket] Client connection error
2020-02-06 01:34:44 ERROR (MainThread) [pydeconz.websocket] Client connection error
2020-02-06 01:35:00 ERROR (MainThread) [pydeconz.websocket] Client connection error
2020-02-06 01:35:15 ERROR (MainThread) [pydeconz.websocket] Client connection error

In addition, newly discovered devices are not transferred to Home Assistant anymore, not even after restarting deConz. (I got that fixed by also restarting Home Assistant, so discovery is not affected).

@Gawronnek
Copy link

Same here.
Running OS 3.9, Supervisor 198.

@3ative
Copy link

3ative commented Feb 6, 2020

Let's NOT fill up another thread with "Same here"'s we should assume we all have the same issue.
Solutions only please :)

@rchamp26
Copy link

rchamp26 commented Feb 6, 2020

Let's NOT fill up another thread with "Same here"'s we should assume we all have the same issue.
Solutions only please :)

understood. i did the workaround @hmbusch mentioned. I just set up an external accessible port, and reconfigured my deconz integration to use that vs using the ingress and auto discovery. looks like the issues is the token that is hard coded in the official hassio addon.

@ymoona
Copy link

ymoona commented Feb 6, 2020

if you log in from [your home assistant ip address]:40850 it works and you can log in.
If you try to log in from the sidebar in Home Assistant log I get

20-02-05 21:55:32 ERROR (MainThread) [hassio.api.security] Invalid token for access /ingress/sx8YEmeZuUvtxr978Uy75IzE4MgWbCZLMalO4ehQYcg/api/

This works, but you need to expose the port in the settings on the dezonz addon.
Also my old password still works, so all my tries to reset the password did not work.

@Kirorus
Copy link

Kirorus commented Feb 6, 2020

i have same issue.
my setup is Intel NUC (Ubuntu 19.10) with hassio image in Virtualbox. I can't login to conbee2.
Old addon from marthoc Hass.io Addons work stable.

@henkie86
Copy link

henkie86 commented Feb 6, 2020

same here

@Gawronnek
Copy link

Gawronnek commented Feb 6, 2020

update to 0.105.1 has not changed anything, I still can't log in or change my password

@JamieP83
Copy link

JamieP83 commented Feb 6, 2020

og in from [your home assistant ip address]:40850

im getting the same issue however this comment worked in the interim

@imanpeeman
Copy link
Author

@pvizeli Thanks for the prompt response and the work you've done.

To others: the fix isn't included in 105.1 so we have to wait a few more hours ;) https://github.com/home-assistant/home-assistant/releases/tag/0.105.1

@frenck
Copy link
Member

frenck commented Feb 6, 2020

@imanpeeman It is not related to the core, it is related to the supervisor. Supervisor 199 is now available. Go to the Supervisor panel -> System tab -> Reload the Supervisor. An update should now appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.