Open gargahcerk opened 1 month ago
Can you confirm which version of amazon you are trying to use please?
Can you also please confirm wether when you connected with the client, it asked you to login. Or if it just said it was authenticated and didn't ask for any of that.
Can you also please confirm wether when you connected with the client, it asked you to login. Or if it just said it was authenticated and didn't ask for any of that.
I also have this issue. In my case, it asks to login, after typing in the credentials it authenticates without problems....but immediately after searching for the list, it says 'not authenticated'.
Can you also please confirm wether when you connected with the client, it asked you to login. Or if it just said it was authenticated and didn't ask for any of that.
I also have this issue. In my case, it asks to login, after typing in the credentials it authenticates without problems....but immediately after searching for the list, it says 'not authenticated'.
Did it ask you for an MFA code after you typed your username and password?
Do you have MFA on your account? Do you have a passkey setup at all?
Yes, I have MFA and passkey. No, it doesn't ask for a MFA code.
Yes, I have MFA and passkey. No, it doesn't ask for a MFA code.
Passkey will be stopping you from authenticating I think, that is a reported thing #11
If there is one on your account, I think it asks if you want to use it and the structure of the login process changes as a result.
I was finally able to get the list of items of my shopping list. I looked in my passkey manager and recognized that I have two different passwords for amazon, one for the amazon shopping app, and the other for the alexa app. I had to choose the alexa app password. Then it asked for the mfa code.
Hey @madmachinations I have a similar issue.
I'm running HA on Docker (host networking) and home-assistant-alexa-shopping-list on a docker network.
Running python3 client.py 192.168.xx.x connects to the server, intially asks me for the amazon server (amazon.co.uk) Tells me it's not authenticated and prompts for creds
I then get no MFA prompt but the following output
Traceback (most recent call last): File "/home/jamie/ha/alexa-list-server/client/client.py", line 288, in <module> asyncio.run(client.run_console()) File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/jamie/ha/alexa-list-server/client/client.py", line 259, in run_console await self._check_server() File "/home/jamie/ha/alexa-list-server/client/client.py", line 84, in _check_server await self._setup_server_authentication() File "/home/jamie/ha/alexa-list-server/client/client.py", line 131, in _setup_server_authentication response = await self._send_command("login", email=email, password=password) File "/home/jamie/ha/alexa-list-server/client/client.py", line 39, in _send_command response = await websocket.recv() File "/home/jamie/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 564, in recv await self.ensure_open() File "/home/jamie/.local/lib/python3.9/site-packages/websockets/legacy/protocol.py", line 940, in ensure_open raise self.connection_closed_exc() websockets.exceptions.ConnectionClosedError: received 1011 (internal error); then sent 1011 (internal error)
When authenticating with clients.py I get "Server is authenticated", but when I run the list command immediately after, I get "ERROR: not authenticated". HA integration is not working well due to missing authentication. What can I do? I try it on amazon.de and Im not asked for OTP, which should be asked for.