-
Notifications
You must be signed in to change notification settings - Fork 302
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
Not able to Log In. Unknown Error Occurred #2393
Comments
Exactly the same problem for me but for amazon.de |
for me the same problem. amazon.de |
I have the same problem. amazon.de |
same |
Same issues with
|
Me too, on amazon.com! |
I have the same issue with amazon.de. I fixed this error message with ChatGPT support by adding "hass,", but that didn't fix this login problem:
|
I have the same problem, tried all browsers, no success. |
I have the same issue on v4.12.4 |
Same here, v4.12.4 |
Amazon.com. Same problem. |
Same error with amazon.it and using nabu casa URL for external access and Alexa integration |
Same here. Amazon.it |
Same issue on amazon.de |
Sames issue on amazon.de |
same issue on amazon.de when setting up the integration (no 2FA fields filled in) |
Same here |
Hello - Amazon.de. Same problem. |
Same problem also. i have the problem when trying to add media player to home assistant |
Same here. Amazon.de |
According to the PR from @danielbrunt57 this appears to have been fixed and just waiting for it to be merged so no more ‘me too’ needed 😀 |
After manually applying the fix according to the pull request, the 'Unknown Error Occurred' message was resolved. However, there is now a problem with the login process. Here is a detailed description of the steps and the issue:
EDIT: After multiple attempts, it finally worked. However, I had to use a new OTP code for step 4 from my Android OTP app. The integration prefilled the previously used OTP code from the earlier dialog, but it should have generated a new one for this step. EDIT 2: I had to reauthenticate, now it always fails. |
Same with amazon.in , reverted back to 4.12.1 |
I have just tried this and i still get unknown error when trying to login |
@Mally2004uk Since you've not provided alexa_media & alexapy debug logs, I'm only guessing that you should start with whether your Amazon account works outside of this integration while using the email, password & TOTP/OTP secret that you've specified in the integration. The integration is now working with AMP 4.12.4 plus the files from the latest PR #2398... |
I never get far enough to generate the OTP code in the integration. It
fails before that. I'd be happy to post the logs that I have. I posted a
fragment of the logs that show an error with the URL in the code. see
previous post.
thx
…On Mon, Aug 5, 2024 at 6:12 PM Daniel ***@***.***> wrote:
@Mally2004uk <https://github.com/Mally2004uk> Since you've not provided
alexa_media & alexapy debug logs, I'm only guessing that you should start
with whether your Amazon account works outside of this integration while
using the email, password & TOTP/OTP secret that you've specified in the
integration. The integration is now working with AMP 4.12.4 plus the
files from the latest PR #2398
<https://github.com/alandtse/alexa_media_player/pull/2398/files>...
—
Reply to this email directly, view it on GitHub
<#2393 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJRUDT5QYW6IYXNNFIXRAHTZQABE7AVCNFSM6AAAAABL5YNVU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQGA3TCOBXGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here the log entries for the latest attempt. thanks. I did verify the OTP code btw....sorry for the confusion.
|
With AMP 4.12.4 + the files from PR#2398? |
installed your version. HA CORE log... debug log in homeassistant.log |
ok.. Update. I restarted a few times and tried again! Success....Not sure why but thank you for your assistant. dj |
wait...i got a success message but go to integrations is says not loaded. will research. |
Are you still on HA Core: 2024.7.3? |
yes....AMP says "Not loaded" in the integrations panel. Nothing apparent in logs |
I am all up and running now. Took me awhile to add the lines from PR #2398 |
Domains different from amazon.com are still not working for me. @danielbrunt57 |
It took me hours of chasing down the missing CONF_HASS_URL but in the end I believe I finally found it.
|
Oh no. Right, it was reverted. But it was already fixed in my files when I tested it: amazon.de is still not working for me while amazon.com is working. IDK, but there were so many changes, maybe fix this with a new PR? |
Additional Minor Issues Noted During Configuration
|
I deleted the configuration and the cookie, then it failed for amazon.de again:
According to ChatGPT: The error occurs because after deleting the configuration and cookies, the authentication for amazon.de fails. Here are some specific points and possible causes:
Possible Solutions:
By addressing these points, you can potentially identify and fix the issue, ensuring that authentication for amazon.de is successful. |
Upgraded to 2024.7.4 and loaded the "patched" AMP. Got through the OTP sign in however APM shows "Not Loaded" in Integrations. Error in logs. `024-08-06 10:25:12.846 ERROR (MainThread) [homeassistant.setup] Error during setup of component alexa_media
|
Relating to the problem of not being able to login on the AMP if domain is different from amazon.com even with the fixes provided by @danielbrunt57 in his PR #2398 . I've successfully fixed the problem on my end and I can now login using non .com domains (amazon.com.br, amazon.co.uk, etc). It appears the problem comes from alexapy indeed. I've submitted an issue and a PR to alexapy's repo to see if any of what I'm saying makes sense or not. Let's see if it continues working tomorrow/etc. Note: this is only for people who are using the AMP fixes mentioned above (the ones from PR #2398) and are still having trouble logging in - specially if your domain is not amazon.com. A temporary fix, if you do not wish to install a custom alexapy with the changes described in the issue I've submitted, you can try logging in with amazon.com domain instead. This might lead to other errors in the integration, as shown by the warning in the logs, so be warned :). If you have issues while using the PR files or the workaround, it's better to wait for it to be pulled before submitting an issue to keep things organized (since we're technically not using the source code). |
This issue is odd. I have restored a backup with the AMP version that you created a few weeks ago in your repository (Alexdanielbrunt57/alexa_media_player (integration) V. 4.10.3) And with that version I am able to carry out the OTP and AMP works in my home assistant perfecly. |
On newest HA core, and AMP 4.12.5 - stille have the Error 500 - Server got in trouble.. |
This has nothing to do with the "Unknown error occurred" issue. You should open a new issue. |
And provide your debug logs!! |
Hi |
Upgrade HA to 2024.7.4 and installed "patched" AMP. de-installed, deleted pickle files in .storage, restarted HA. re-installed. AMP is now working. |
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
Enabled the 2FA. Added the Google Authenticator App. The integration is showing the OTP which matches the OTP on the Google Authenticator but when I click SUBMIT, it says Unknow Error occurred.
Tried Amaozn.com and Amazon.in
Logs
No logs generated for this as integration is failing. Alexa Media Player v4.12.4
(https://github.com/alandtse/alexa_media_player/wiki/FAQ#how-do-i-enable-debug-logging-for-the-component).
The text was updated successfully, but these errors were encountered: