-
Notifications
You must be signed in to change notification settings - Fork 291
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
failed to SignIn #2407
Comments
v1.27.10 or v1.28.1? |
This is an alexapy v1.28.1 issue. alexalogin.py needs to be patched: fix_cookies.patch
To use "patch" and the patch file above: To revert the patch: For v4.12.5, also edit manifest.json to: |
I have the same, tried to patch alexapy as well to no avail. |
1 similar comment
I have the same, tried to patch alexapy as well to no avail. |
@xhemp @EBobbbele Can you post the log? |
Sure thing, let me know if this is the right one or you need anything else:
|
Exact same problem for me. Domain related. .com works fine but I need amazon.co.uk. |
Either the patch wasn't applied successfully or there is another issue. To make sure you are using the patch provided by jleinenbach, try to repeat the proccess but instead using the following patch file with additional logging:
Check your logs again afterwards. Multiple warnings should show up if the patch was applied:
Note: this is a workaround and not an official patch. We need to wait for pull requests for alexapy and AMP for the proper fixes, making these patches unnecessary. |
This was fixed in this release of the lib: https://gitlab.com/keatontaylor/alexapy/-/releases/v1.28.2 |
Login to Amazon.com is working, Amazon.de is not working |
Hello, same problem here in amazon.it |
Same Issues using .co.uk, How do we update? |
You can try to modify the manifest.json from alexa_media_player in your custom_components folder to use alexapy 1.28.2 instead of the current version that's given there |
I can't get my head around it anymore. So we should wait for dependencies update? |
Yes, I guess the code owner will update the dependency shortly. It was just fixed about 1 hour ago in alexapy, just be patient for some more minutes or couple of hours until the official dependency update. ;-) |
Two ways... Wait for an update, or: Open /homeassistant/custom_components/alexa_media/manifest.json in File Editor Addin and change line 11 to: |
After changing the manifest and activating 2FA it worked without any problems using the DE- Domain. |
worked a treat! thank you! |
OH-MY-GOD - it's back! |
Works here |
That's it, thank you! |
This also did the trick for me. Thanks! |
@NdR91 It's working fine for me after 4.12.6 and after i re-applied the manifest.json patch (+ restarted HA) |
Works on 4.12.6 for me. |
@kczerniak - did you update alexapy to 1.28.2? What do you mean with 'using via amazon.com but activate in PL'? |
Working for me with domain amazon.it. |
pr available but waiting merge: #2423 |
Can confirm that editing the |
Worked for me...after editing manifest.json and changing to alexapy>=1.28.2. Needed a re-start of HA though |
Worked for me...!! Thanks |
well played. thx. what about furture updates of alexa media player? will it continute working? |
Sorry, I seem to have misplaced my crystal ball... |
Works with FR domain. Thanks for the workaround, much appreciated! |
I got it working too but looks like need to reauthenticate after every restart. |
It would be good, If you could track this in a seperate issue and provide Log Files when this Happens again. There were a couple of areas that had to be changed in the last days - so it is likely that Something with saving the cookies or similar dies mit Work... Especially, when the Last Change in alexapy is related to partitioned cookies |
I can't confirm this for myself here, it runs even after several restarts. |
This worked like a charm and was easy for a noob like me. Thank!! can confirm for anyone that I made this small change and then saved the file, then updated ha core to 2024.8.0 and Alexa Media is working fine |
Same here! I can confirm that editing the manifast.json to 1.28.2 works for me! |
Updated and fixed the manifest.json and everything is fine but voice notifications are not working for me. |
alexapy>=1.28.2 Worked for me. Oddly enough, it didn't work when I restarted HA, but I then did "Reload" of the integration, and it came right up. Thanks much, everyone! |
I had this issue but unfortunately deleted the integration. Now I cannot get it to install. it takes me to an "internal" amazon screen, has me login and type in captcha info then I get "500 Internal Server Error". I did try changing the json file but that did nothing for me. Perhaps my issue is related but different. I am not sure how to proceed. Any thoughts?
Maybe restore a recent backup?-Steve Swanson On Aug 8, 2024, at 7:13 PM
|
I'd need to review your debug logs. |
Thanks a lot! I was getting crazy…You’re a hero! |
I've modified the .json as following ... AMP Integration 1.12.12. It doesn't work and it doesn't let me even to login in (after inserting username and password, it rolls back to username and cycles) { any hints ? |
@maxpatrone |
Same here: after OTP succesfully authenticates, it opens the Alexa login webpage and it loops there, asking user+pwd again and again.
|
I'm quite sure that Amazon changed the HTML code, so Alexapy has minor issues. With Daniel's workaround, a website opens with HTML code that works for Alexapy. But this issue 2407 is a different one. |
Thank you so much, I didn't find it by myself. Tried the workaround mentioned there and it works. Great! |
Describe the bug
After removing Alexa media Player due to several tests, for the issues the last days, I installed 4.12.5 today.
Unfortunately, it seems that there are configuration issues, depending on the selected amazon Domain.
I can start the login for DE Domain, I am also getting the tfa Page - but the Integration is showing a failure to login in the end of the process.
When I select COM Domain, everything is working and the Integration can login, but no devices we're added.
To Reproduce
Expected behavior
Should work independend of the selected amazon Domain.
Screenshots
System details
const.py
or HA startup): 4.12.5pip show alexapy
or HA startup):Logs
No Logs during Initial setup
Additional context
The text was updated successfully, but these errors were encountered: