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

Login expires almost daily. #211

Open
bvandenbon opened this issue Oct 29, 2021 · 3 comments
Open

Login expires almost daily. #211

bvandenbon opened this issue Oct 29, 2021 · 3 comments

Comments

@bvandenbon
Copy link

bvandenbon commented Oct 29, 2021

It worked fine for me the first months. Now since about a month or 2 maybe 3, I need to login again every time to make it work.

So, each time it tells me to open my webbrowser and login on the alexa portal.
Then it works fine for that day, maybe 2 days, and then again the same problem.

To solve it, I tried to play with the expiration date, because it's actually set to "1 day". If I change that to any other value, login doesn't even work.

These are my current settings. (I live in central Europe, Belgium)

image

Has anything changed recently ? Are other people having similar issues ? Just really wondering what's going on. Because signing in again every day isn't really how I planned to use Node-red.

@alexruffell
Copy link

This is an old issue, but I figured I'd comment on a few things I noticed.

  1. The file path where you same the login info (whatever it is) seems to be incorrect. I saved it to /config/node-red/amazon.txt
  2. The server you are using, I believe, is for the USA. I don't know which server you should be using but the documentation shows one for the UK and one for Germany. The one in the UK, if you want english, might be the one to try.

image

Anyhow, my 'login' appears to be expiring randomly as well. I have to go into node-red and trigger a refresh. It works for a while, and dies again. No idea why. Set up as is, it used to work without issues, then it started having issues a month or 2 ago.

@NandishKoppad09
Copy link

What information should be incorporated into the file path within the Alexa routine node when automating the login process using an HTTP request node? The difficulty lies in the need to redeploy and perform a new login to the Alexa account by opening a new browser after restarting Node-RED.

@alexruffell
Copy link

alexruffell commented Jan 16, 2024

You just specify a valid path and the node will save the cookie into that file when it logs in. I believe it is explained in the documentation for that node if you want more details. In other words, as far as I can remember, you do not need to add anything to the file as the node takes care of that.

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

3 participants