-
Notifications
You must be signed in to change notification settings - Fork 303
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
Alexa media player disconnect: Login error detected; not contacting API
#2467
Comments
Same here 😩 |
I have the same problem. No Fix yet? |
Today there was an update of the HACS integration of Alexa Media Player to v4.12.9. I have re-updated Home Assistant to the latest version 2024.8.2, I wait to see if the problem still occurs |
4.12.9 is the same as 4.12.8 except it skips trying to remove the .pickle file if alexapy is not 1.29.0 |
In fact, thank you. The problem recurred after about an hour (It happens immediately instead if I do a total reboot of the system), below are the error reports: Questo errore ha avuto origine da un'integrazione personalizzata. Registratore: alexapy.helpers alexaapi.get_customer_history_records((<alexapy.alexalogin.AlexaLogin object at 0x7fa7bf4791c0>,), {'max_record_size': 10}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Unauthorized',) Registratore: alexapy.helpers alexaapi.get_automations((<alexapy.alexalogin.AlexaLogin object at 0x7fa7bf4791c0>,), {}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',) Registratore: homeassistant Error doing job: Task exception was never retrieved (None) Registratore: homeassistant.config_entries Error unloading entry <your_email> - amazon.it for notify Questo errore ha avuto origine da un'integrazione personalizzata. Registratore: custom_components.alexa_media Could not remove cookiefile: /config/.storage/alexa_media.<your_email>.pickle. Please manually delete the file. |
Continuo ad avere disconnessioni e mostra questo errore logger:%20homeassistant%0ASource%3A%20/usr/src/homeassistant/homeassistant/runner.py:148%0AFirst%20occurred:%207:36:06%20PM%20(3%20occurrences)%0ALast%20logged:%209:05:23%20PM%0A%0AError%20doing%20job:%20Task%20exception%20was%20never%20retrieved%20(None)%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/helpers.py%22,%20line%20137,%20in%20wrapper%0A%20%20%20%20return%20await%20func(*args,%20kwargs)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py%22,%20line%20889,%20in%20send_tts%0A%20%20%20%20await%20self.send_sequence(%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/helpers.py%22,%20line%20137,%20in%20wrapper%0A%20%20%20%20return%20await%20func(*args,%20kwargs)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py%22,%20line%20512,%20in%20send_sequence%0A%20%20%20%20await%20self.run_behavior(node_data,%20queue_delay=queue_delay)%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/helpers.py%22,%20line%20137,%20in%20wrapper%0A%20%20%20%20return%20await%20func(*args,%20kwargs)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py%22,%20line%20434,%20in%20run_behavior%0A%20%20%20%20await%20self._post_request(%22/api/behaviors/preview%22,%20data=data)%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py%22,%20line%20226,%20in%20_post_request%0A%20%20%20%20return%20await%20self._request(%22post%22,%20uri,%20data,%20query)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/backoff/_async.py%22,%20line%20151,%20in%20retry%0A%20%20%20%20ret%20=%20await%20target(*args,%20kwargs)%0A%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py%22,%20line%20199,%20in%20_request%0A%20%20%20%20raise%20AlexapyLoginError(%22Login%20error%20detected;%20not%20contacting%20API%22)%0Aalexapy.errors.AlexapyLoginError:%20Login%20error%20detected;%20not%20contacting%20API%0A I’m tired |
This is a warning only in AMP 4.12.9 and you need to manually delete the .pickle file. |
Me too... |
Following |
AlexapyLoginError("Login error detected; not contacting API")
AlexapyLoginError("Login error detected; not contacting API")
Login error detected; not contacting API
I disabled polling and now appear ok Inviato da iPhoneIl giorno 19 ago 2024, alle ore 23:45, 1242scooter ***@***.***> ha scritto:
Following
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Duplicate issue #2453 |
I've tried many different backups as I take backup every night. As soon as I reverted back to 7.4 from 8.3 ...everything worked again |
So AMP will no longer announce on echo devices past HA 7.2? This has not
been fixed yet? Why/when?
…On Sat, Oct 5, 2024 at 11:28 AM Gerasimos Solomos ***@***.***> wrote:
I've tried many different backups as I take backup every night.
from 10.0 reverted back to 9.3. made no difference
from 9.3 reverted back to 8.3 made no difference.
On both I was getting the same errors
As soon as I reverted back to 7.4 from 8.3 ...everything worked again
(HACS is still on version v.2.0.1 and the integration is on v.4.13.1
—
Reply to this email directly, view it on GitHub
<#2467 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI56PWFU7RE6KGUL7B2UU7TZ2AVWDAVCNFSM6AAAAABMWJFU7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGE2DQMZTGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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.
Dopo l’ultimo aggiornamento di Home Assistant (Core
2024.8.2
Supervisor
2024.08.0
Operating System
12.4
Frontend
20240809.0) Alexa media player chiede dopo qualche minuto di funzionamento di riconnettersi. Io procedo e tutto torna a funzionare per una mezz’ora circa, poi di nuovo errore. Ho provato anche a disinstallare e re-installare l’integrazione, ma il problema rimane. Ho un backup che riporta Home Assistant alla versione precedente ed in questa versione tutto funziona perfettamente
To Reproduce
Expected behavior
Screenshots
System details
const.py
or HA startup): 4.12.8pip show alexapy
or HA startup):** Questo errore ha avuto origine da un'integrazione personalizzata.
Registratore: alexapy.helpers
Fonte: custom_components/alexa_media/init.py:786
Integrazione: Alexa Media Player (documentazione, problemi)
Prima occorrenza: 13:08:42 (2 occorrenze)
Ultima registrazione: 13:08:42
alexaapi.get_customer_history_records((<alexapy.alexalogin.AlexaLogin object at 0x7f70cf3461b0>,), {'max_record_size': 10}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Unauthorized',)
alexaapi.get_last_device_serial((<alexapy.alexalogin.AlexaLogin object at 0x7f70cf3461b0>,), {}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Unauthorized',)
Registratore: alexapy.helpers
Fonte: util/async_.py:37
Prima occorrenza: 13:16:34 (6 occorrenze)
Ultima registrazione: 13:16:42
alexaapi.get_automations((<alexapy.alexalogin.AlexaLogin object at 0x7f70cf3461b0>,), {}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',)
alexaapi.run_routine((<alexapy.alexaapi.AlexaAPI object at 0x7f70cfbee870>, 'Accendi condizionatore'), {'queue_delay': 1.5}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',)
Questo errore ha avuto origine da un'integrazione personalizzata.
Registratore: alexapy.helpers
Fonte: custom_components/alexa_media/media_player.py:639
Integrazione: Alexa Media Player (documentazione, problemi)
Prima occorrenza: 13:16:34 (3 occorrenze)
Ultima registrazione: 13:16:42
alexaapi.get_state((<alexapy.alexaapi.AlexaAPI object at 0x7f70cfbee870>,), {}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',)
Registratore: homeassistant
Fonte: /usr/src/homeassistant/homeassistant/runner.py:148
Prima occorrenza: 13:16:34 (3 occorrenze)
Ultima registrazione: 13:16:49
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/alexapy/helpers.py", line 137, in wrapper
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py", line 639, in run_routine
automations = await AlexaAPI.get_automations(self._login)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/helpers.py", line 137, in wrapper
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py", line 1417, in get_automations
response = await AlexaAPI._static_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexaapi.py", line 319, in _static_request
raise AlexapyLoginError("Login error detected; not contacting API")
alexapy.errors.AlexapyLoginError: Login error detected; not contacting API
Registratore: homeassistant.helpers.frame
Fonte: helpers/frame.py:184
Prima occorrenza: 13:16:52 (1 occorrenze)
Ultima registrazione: 13:16:52
Detected that custom integration 'alexa_media' accesses hass.components.persistent_notification. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from persistent_notification directly at custom_components/alexa_media/config_flow.py, line 645: self.hass.components.persistent_notification.async_dismiss(, please create a bug report at https://github.com/alandtse/alexa_media_player/issues
**
Please provide logs.
Additional context
The text was updated successfully, but these errors were encountered: