question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Login in / Re-auth - Unknown Error Occurred

See original GitHub issue

Issue:

Unable to login to amazon account. Originally setup and working fine, using SMS 2FA. Time was due to re-auth and issue started. Trying to use Built-In 2FA App key method to no avail.

Error on the UI is “Unknown Error Occurred”. I have removed the Alexa Media player integration, rebooted HA, re-installed the integration and tried:

I have enabled debug log as shown in the wiki, and I am not getting much information to troubleshoot.

Some info: Home Assistant 2022.9.7 Supervisor 2022.09.1 Operating System 9.0

Alexa Media player installed via HACS. Alexa Media Player version: 4.1.2

2022-09-27 19:33:21.342 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating new login 2022-09-27 19:33:21.343 DEBUG (MainThread) [custom_components.alexa_media.helpers] c****************n@g*******m: Returning uuid {'uuid': '71a2566c8e5f13600efab5xxxxxxxxxxx', 'index': 0} 2022-09-27 19:33:21.351 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for 2************************************************K3A 2022-09-27 19:33:21.351 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 589838

Configuration.yaml is with the below (for logging): logger: default: critical logs: custom_components.alexa_media: debug # for API debugging (verbose and intended for service debugging) alexapy: debug # for proxy debugging authcaptureproxy: debug

Nothing shows up on the UI (tried clearing cookies) and 2 other browsers: image

I have tried entering the OTP on amazon’s website, and it adds the app on their site, but still fails to auth.

Please help, unsure how to progress.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

3reactions
politiciancommented, Oct 7, 2022

After seeing @dxit 's comment, I tried setting up the external_url and internal_url in my HA configuration.yaml, rebooted, retried the integration and it worked.

https://www.home-assistant.io/docs/configuration/basic/

2reactions
NicolasRigocommented, Oct 2, 2022

Hi there,

Same error since updated HA to 2022.9.7

The only difference for me is I do not get any response when clicking to SUBMIT. It simply does nothing… I guess Amazon changed something in its APIs.

Hope it will be fixed by the plug in owner…

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Home Assistant OAuth redirect fails with "Unknown Error ...
When logging into home assistant do you det the "keep me logged in" setting? The Network tab may show details about the redirects...
Read more >
Keep getting an error about Reauth when trying to launch ...
LoaderExceptionModCrash: Caught exception from ReAuth (reauth) Caused by: java.lang. ... GeneratedMethodAccessor9.invoke(Unknown Source)
Read more >
reauth not working | Security - Airheads Community
Hello , I am using a MAC auth service for non standard devices . the devices are discovered by DHCP profiling . I...
Read more >
Error Detected for RFC 3576: Unknown Error Code: 0x0(Dec: 0)
Hi, Am running an XCC controller version 05.46.03.0016 and XMC version 8.5.7.28. Aware support for XCC is in version IQ-SE 21.9 or higher,...
Read more >
Minecraft - How To Fix Failed To Login: Authentication Servers ...
A short tutorial on how to fix the “Failed to login : authentication servers are currently down for maintenance” error you are getting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found