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

[Solved] Installation keeps looping the login page #2517

Closed
just370z opened this issue Sep 12, 2024 · 22 comments
Closed

[Solved] Installation keeps looping the login page #2517

just370z opened this issue Sep 12, 2024 · 22 comments

Comments

@just370z
Copy link

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.

Describe the bug

Setup via amazon.com, will endlessly loop through the amazon login screen, it never progresses beyond inputting password.

To Reproduce

Installing

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

shows installed integration

Screenshots

366680437-8597af65-ffec-4d87-8cb3-fdda4d35b871

image

System details

  • Home Assistant version: 2024.9.1
  • alexa_media version (from const.py or HA startup log): v4.12.12
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log):
  • Is Amazon 2FA/2SV enabled <!---We will not debug login issues if unanswered---> (y/n): Y
  • Amazon Domain: amazon.com

Debug Logs (alexa_media & alexapy)
Please provide logs.

see attached, it was too big to include
AMP Debug log.txt

@MichaelB2018
Copy link

I have the exactly same issue today

@just370z
Copy link
Author

Hopefully there is someone that can help us out there

@doctorkb
Copy link

+1 - I thought it was just me... :(

@dangerzau
Copy link

dangerzau commented Sep 12, 2024

Same issue here to attempting to login to amazon.com.au so not just .com either :(

@Onlyhanz-com
Copy link

Im also having this issue, im new to HA and need this integration

@Onlyhanz-com
Copy link

Im also having this issue, im new to HA and need this integration

This solution was found posted by another on a 3 day old post and I am pasting them here as it solved my issue.

Through trial and error trying to figure out the flow sequence, I was able to trick it and get to the OTP window.
After you've cycled through name, password and back to name, select the option Create Account New to Amazon?
Fill in a first & last name (anything at all as not going to matter so "Q W" is quick and easy to type!)
Amazon will then inform you that an account with your email already exists.
At that point re-select "Sign in Already a customer?" and proceed with the email and password windows and then the OTP window should appear. By that point though, the integration generated OTP has likely expired but you can just enter your current app generated OTP code and it should work.
If it returns to the integration add window and it just sits and spins and never progresses, that likely means the proxy listening session has expired and you'll have to repeat the process.

I am new to Github so I am not sure if this is the correct way to pass along a solution but this is my best attempt.

@Onlyhanz-com
Copy link

@just370z

@doctorkb
Copy link

Thanks @Onlyhanz-com ! That worked for me!

The only other step I'd add is that I had to reload the integration entry for it to find my devices.

@ldelvalleh
Copy link

Thanks @Onlyhanz-com

It worked for me, thanks a lot for the information.

@SmartHomeDIY
Copy link

Thanks @Onlyhanz-com

It also worked for me.

@regisleclerc
Copy link

regisleclerc commented Sep 12, 2024

Same bug for me, I'm not alone 🙏
Trying the workaround

@bedge117
Copy link

Came here to say bingo! The workaround worked for me.

Login loop successfully broken and I have all my devices back.

@regisleclerc
Copy link

+1 for the workaround, you rock @Onlyhanz-com 👏

@just370z
Copy link
Author

This worked for me as well, to get out of the login loop.
But it did not work the first try, the first try i got the 500 error, so i then reset my Amazon password and followed the installation steps and then your steps and it worked!
thank you again @Onlyhanz-com, great community!

@MichaelB2018
Copy link

+1 for the workaround, thanks @Onlyhanz-com 👏

@OldAssComputer
Copy link

Thank you for that work around. I just started playing with this integration and thought something on my end was wrong.

@jeannicolasreyt
Copy link

@Onlyhanz-com No clue how you figured it out, but it worked for me 🙏

@just370z just370z changed the title Installation keeps looping the login page [Solved] Installation keeps looping the login page Sep 13, 2024
@jamestas
Copy link

Im also having this issue, im new to HA and need this integration

This solution was found posted by another on a 3 day old post and I am pasting them here as it solved my issue.

Through trial and error trying to figure out the flow sequence, I was able to trick it and get to the OTP window.
After you've cycled through name, password and back to name, select the option Create Account New to Amazon?
Fill in a first & last name (anything at all as not going to matter so "Q W" is quick and easy to type!)
Amazon will then inform you that an account with your email already exists.
At that point re-select "Sign in Already a customer?" and proceed with the email and password windows and then the OTP window should appear. By that point though, the integration generated OTP has likely expired but you can just enter your current app generated OTP code and it should work.
If it returns to the integration add window and it just sits and spins and never progresses, that likely means the proxy listening session has expired and you'll have to repeat the process.

I am new to Github so I am not sure if this is the correct way to pass along a solution but this is my best attempt.

Thanks for this, I have my sanity back!
Workaround works!

@lucaxxaa
Copy link

Thank...work now 💯

@danielbrunt57
Copy link
Collaborator

@Onlyhanz-com No clue how you figured it out, but it worked for me 🙏

I'm the one who figured it out and it was just a happy accident! I wanted to see if that page was really talking to Amazon so I chose create new account which proved it was. But after that, it showed email & password in the same window which then led to the OTP window. Now If I could only accidentally fix the initial window with email only that would be awesome!

@danielbrunt57
Copy link
Collaborator

Duplicate of issue #2514

@justinruaya123
Copy link

I've tried this method and it redirects me to 3 methods:

Im also having this issue, im new to HA and need this integration

This solution was found posted by another on a 3 day old post and I am pasting them here as it solved my issue.

Through trial and error trying to figure out the flow sequence, I was able to trick it and get to the OTP window.
After you've cycled through name, password and back to name, select the option Create Account New to Amazon?
Fill in a first & last name (anything at all as not going to matter so "Q W" is quick and easy to type!)
Amazon will then inform you that an account with your email already exists.
At that point re-select "Sign in Already a customer?" and proceed with the email and password windows and then the OTP window should appear. By that point though, the integration generated OTP has likely expired but you can just enter your current app generated OTP code and it should work.
If it returns to the integration add window and it just sits and spins and never progresses, that likely means the proxy listening session has expired and you'll have to repeat the process.

I am new to Github so I am not sure if this is the correct way to pass along a solution but this is my best attempt.

Does not work. I've tried both (a) internal IP (192.168.xx) and (b) nabu casa link. The integration just refuses to work.

image

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