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

NotAuthorizedException #2

Open
supajason opened this issue Jul 4, 2022 · 22 comments
Open

NotAuthorizedException #2

supajason opened this issue Jul 4, 2022 · 22 comments

Comments

@supajason
Copy link

Hi

I've just tried this out and this is coming up in the logs:
image
image

Any ideas?
Thanks

@severendis
Copy link

I have the same problem.

system is up to date

@TA2k
Copy link
Owner

TA2k commented Oct 15, 2022

You have the same error found 1 device and cognito token error?

@TA2k
Copy link
Owner

TA2k commented Oct 15, 2022

I retested it is working

@severendis
Copy link

Sorry - no.

This is my Error:

hoover.0 2022-10-15 16:39:42.981 error {"__type":"NotAuthorizedException","message":"Invalid login token. Not a Cognito token."} hoover.0 2022-10-15 16:39:42.981 error AxiosError: Request failed with status code 400 hoover.0 2022-10-15 16:39:42.980 error Login step #aws failed hoover.0 2022-10-15 16:39:27.703 error Please set username and password in the instance settings

@severendis
Copy link

My password and username are correct

@TA2k
Copy link
Owner

TA2k commented Oct 15, 2022

Please install via GitHub and try with a simple password without special characters

@severendis
Copy link

severendis commented Oct 15, 2022

hoover.0 2022-10-15 19:02:36.958 info subscribe to 94-3c-c6-f4-b2-9c
hoover.0 2022-10-15 19:02:36.957 info mqtt connected
hoover.0 2022-10-15 19:02:36.461 info Connecting to MQTT
hoover.0 2022-10-15 19:02:36.458 info Found 1 devices
hoover.0 2022-10-15 19:02:36.069 error {"__type":"NotAuthorizedException","message":"Invalid login token. Not a Cognito token."}
hoover.0 2022-10-15 19:02:36.069 error AxiosError: Request failed with status code 400

hoover.0 | 2022-10-15 19:02:36.068 | error | Login step #aws failed
hoover.0 | 2022-10-15 19:02:28.283 | info | starting login
hoover.0 | 2022-10-15 19:02:28.273 | info | starting. Version 0.0.2 (non-npm: TA2k/ioBroker.hoover) in /opt/iobroker/node_modules/iobroker.hoover, node: v16.17.1, js-controller: 4.0.23
hoover.0 | 2022-10-15 19:02:24.692 | info | Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
hoover.0 | 2022-10-15 19:02:24.691 | info | terminating
hoover.0 | 2022-10-15 19:02:24.691 | info | Got terminate signal TERMINATE_YOURSELF

@severendis
Copy link

Passwort simple:
Numbers and letters only

@TA2k
Copy link
Owner

TA2k commented Oct 15, 2022

Please try the GitHub version again

@severendis
Copy link

Perfect!
It works now. Should I test something else? Complex password?

@TA2k
Copy link
Owner

TA2k commented Oct 15, 2022

It was not password related

@severendis
Copy link

Very good!
I changed the password back to cryptic and it works too.
Good work and thanks!

@ps-neotrace
Copy link

Hi,
it works! Perfektly! But only with the Version V0.3 from Github. I have a Dryer H-Dry 500 now in IOBroker.
Thanks to TA2k!
With the version V0.02 i have same Problem with The Password. But now it Works.
Thanks

@astrakid
Copy link

hi,
i have to relogin every day. to do this i have to enter a wrong password, restart the adapter, and then use the correct password.

i see the following error:
2022-10-19 12:50:25.969 | error | {"error":"invalid_grant","error_description":"expired access/refresh token"}

@TA2k
Copy link
Owner

TA2k commented Oct 19, 2022

happens this with the latest version from GitHub?

@astrakid
Copy link

yes

@TA2k
Copy link
Owner

TA2k commented Oct 19, 2022

try again with the current GitHub version

@astrakid
Copy link

thanks, installed it and will let you know tomorrow.

@astrakid
Copy link

until now it looks good. thanks!
will let you know in the next days, if it is still working.

@astrakid
Copy link

hi, still looks good. thanks for the quick fix!

@astrakid
Copy link

astrakid commented Nov 2, 2022

issue reappeared. no updates until restarting the adapter.

@astrakid
Copy link

still there. i need to restart the adapter every one or two days to get current status.

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

No branches or pull requests

5 participants