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.

Describe the bug When asked for reauth, I always get an error saying “your password is wrong” (or similar, translated from Italian). Both password and OTP are correct.

To Reproduce Steps to reproduce the behavior:

  1. Confirm reauth prompt

Expected behavior Be able to reauth when requested

Screenshots If applicable, add screenshots to help explain your problem.

System details

  • Home-assistant (version): 2021.10.5
  • Hassio (Yes/No): No
  • alexa_media (version from const.py or HA startup): v3.10.10
  • alexapy (version from pip show alexapy or HA startup):
  • Amazon 2FA is enabled: Yes

Logs

2021-10-20 08:30:01 WARNING (MainThread) [alexapy.helpers] alexaapi.send_announcement((<alexapy.alexaapi.AlexaAPI object at 0x7f13a13458e0>, 'Attenzione, la lavastoviglie è ancora in standby. Spegnila!'), {'customer_id': 'A39M4H7SQEH9PT'
, 'targets': ['5218ef6322b94cba806137a722f664d0'], 'title': 'Home Assistant', 'method': 'spoken', 'queue_delay': 1.5}): An error occured accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments:
('Login error detected; not contacting API',)
2021-10-20 08:30:01 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/alexapy/helpers.py", line 144, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/alexapy/alexaapi.py", line 922, in send_announcement
    await self.send_sequence(
  File "/usr/local/lib/python3.9/site-packages/alexapy/helpers.py", line 144, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/alexapy/alexaapi.py", line 476, in send_sequence
    await self.run_behavior(node_data, queue_delay=queue_delay)
  File "/usr/local/lib/python3.9/site-packages/alexapy/helpers.py", line 144, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/alexapy/alexaapi.py", line 398, in run_behavior
    await self._post_request("/api/behaviors/preview", data=data)
  File "/usr/local/lib/python3.9/site-packages/alexapy/alexaapi.py", line 202, in _post_request
    return await self._request("post", uri, data)
  File "/usr/local/lib/python3.9/site-packages/backoff/_async.py", line 133, in retry
    ret = await target(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/alexapy/alexaapi.py", line 172, in _request
    raise AlexapyLoginError("Login error detected; not contacting API")
alexapy.errors.AlexapyLoginError: Login error detected; not contacting API

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alandtsecommented, Oct 22, 2021

Not contacting API is just a note that it’s not going to keep trying now that it has a log in error. It’s so you don’t get your ip address marked as a suspicious address because it keeps trying to login with bad credentials.

0reactions
chemelli74commented, Oct 28, 2021

Just for your information: I was asked to reauth again today after only 8 days from previous one. And again I get the login error 😦 I bet i just need to be patient and wait.

Something weird on their hand.

Simone

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReAuth does not allow the login of new microsoft accounts. #35
I have been trying all night with various launchers and all that. Only Valhelsia 3 installed, which loads and launches singler player just...
Read more >
ReAuth - Mods - Minecraft - CurseForge
Shows you wether your Session is valid; Login and retry for failed connection attempts; Change Accounts while Minecraft is running; Change Username for...
Read more >
Re-login with Microsoft account issues. : r/feedthebeast - Reddit
I'm pretty certain OP is referring to mods like Re-Auth which let you log into your account from inside the game (something like...
Read more >
o365 'New Outlook' - Unable to trigger reauthentication
Hi, I'm running OSX and have Microsoft Outlook for Mac. At the time of writing my Outlook client version is Version 16.59 (22021300)....
Read more >
Unable to login to my wordpress site. reauth=1 redirection loop
For me, the solution to this WordPress Login loop problem was in the database.So step one is to login to the database.
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