bbindreiter / node-red-contrib-alexa-remote2-applestrudel

Node-Red Nodes for interacting with Alexa
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel
MIT License
74 stars 20 forks source link

Verify Amazon account issue on port 3456 after update #163

Closed AllStarzes closed 7 months ago

AllStarzes commented 7 months ago

Hi together,

i think after an update i saw in Node-Red this: image

Okay, i open it in my Browser i see this one: image

After login with my credetentials i get this error: image

I changed nothing on my config, see here: image

The only one i see my "amazon.txt" is missing.

I try to verify alexa remote2 on my mobilephone, in inkognito tab, windows 10 and 11, firefox, chrome, edge. The redirect is busy. I hope somebody can help me or have an idea where i can looking for.


NodeRed Version: v3.1.0 node-red-contrib-alexa-remote2-applestrudel: v5.0.46 Homeassistant Core: 2023.11.2 Homeassistant Supervisor: 2023.11.3 Homeassistnt Operating System: 11.1

Maxbubbleb commented 7 months ago

Hi, it's the same for me... I read that depend for a new default directory of the cache file. I hope someone makes a simple guide to solve the problem.

https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/159#issuecomment-1815398774

Maxbubbleb commented 7 months ago

I resolve the issue. In my case the cache file is not in the originally folder: /config/Alexa_Node-RED.cookie but i found in this path: /homeassistant/Alexa_Node-RED.cookie

I have change the file path in the nodered account and now working again!

richsimpson commented 7 months ago

yes seems change the current setup from config/node-red..... to homeassistant/node-red....

image

AllStarzes commented 7 months ago

Thanks a lot guys but my error is still there. I have changed the path and open the URL with Port 3456 and the error is the same. My amazon.txt file is missing after Update and if I want to create a new one with these HowTo -> https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/blob/master/get_cookie.md but if i open alexa.amazon.com you can´t login for lookin a cookie... Amazon has changed the way to app...

If I save my account information i see the error in NodeRed = "Unexpected end of JSON input"

Or am I misunderstanding something? Sry :/

richsimpson commented 7 months ago

Thanks a lot guys but my error is still there. I have changed the path and open the URL with Port 3456 and the error is the same. My amazon.txt file is missing after Update and if I want to create a new one with these HowTo -> https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/blob/master/get_cookie.md but if i open alexa.amazon.com you can´t login for lookin a cookie... Amazon has changed the way to app...

If I save my account information i see the error in NodeRed = "Unexpected end of JSON input"

Or am I misunderstanding something? Sry :/

my procedure to correct was: update the file path for the location to create the file, in the Node Red node config. Inject something to that node to prompt the "open url...." image

Open a browser and go that url. sign in with amazon password, then my 2FA code froom authenticator app The new amazon.txt file was created and I can see it via my HASS file browser. image

My install is HASS supervised with the Node Red add on.

AllStarzes commented 7 months ago

THANKS GOD IS CHRISTMAS. Now i have the solution. @richsimpson, your guide was my inspiration of the solution. I did the HowTo step by step and it doesn´t work but the only thing in our configuration is: You use the 2FA in AMAZON.

After i configuration the 2FA with authenticater APP ud save the Browser to login, you get now the reply of "cookie-success".

It works...

Now the summary: Change the Path like this from @richsimpson https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/163#issuecomment-1817705708 and configuration 2FA bevor authorize you amazon account .

Thanks a lot to all and I hope we can help other guys.

quadhammer commented 7 months ago

yes seems change the current setup from config/node-red..... to homeassistant/node-red....

I also had to create a blank .txt file for it work again, after changing the path.