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.

Problem adding second account for v.3.4.5 and not dot.com domain after reboot

See original GitHub issue

Describe the bug It looks that two differents accounts doesn’t works fine, at least with non .com domain. The first account looks working fine (account added, reboot to test,…), but when I add the second one only works meanwhile I don’t restart Home Assistant. After that, a few errors appears and relogin is required but with not success.

To Reproduce Steps to reproduce the behavior:

  1. Delete previous integration version
  2. Add account according procedure
  3. Test, reboot, test (all ok)
  4. Add second account and looks fine but…
  5. Relogin is required after a few minutes. No matters if reboot or not.

System details

  • Home-assistant (version): 2020.12.2
  • Hassio (Yes/No): yes
  • alexa_media (version from const.py or HA startup): 3.4.5
  • alexapy (version from pip show alexapy or HA startup):
  • Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: yes

Logs

Logger: alexapy.alexawebsocket Source: /usr/local/lib/python3.8/site-packages/alexapy/alexawebsocket.py:109 First occurred: 10:08:44 (1 occurrences) Last logged: 10:08:44 Websocket is missing ubid-main and ubid-acbes cookies; please report this if anything isn’t working.

Logger: alexapy.helpers Source: /usr/local/lib/python3.8/site-packages/alexapy/helpers.py:153 First occurred: 10:04:26 (7 occurrences) Last logged: 10:09:15 alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0x6a316a48>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments: (‘Expecting value: line 1 column 1 (char 0)’,) alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0x6a316a48>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments: (‘Expecting value: line 1 column 1 (char 0)’,) alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0x6a316a48>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments: (‘Expecting value: line 1 column 1 (char 0)’,) alexaapi.get_authentication((<alexapy.alexalogin.AlexaLogin object at 0x6a316a48>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments: (‘Expecting value: line 1 column 1 (char 0)’,) alexaapi.get_activities((<alexapy.alexalogin.AlexaLogin object at 0x6a316a48>, 10), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments: (‘Expecting value: line 1 column 1 (char 0)’,)

Additional context Domain .es Rolling back to 3.4.1 works fine

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12

github_iconTop GitHub Comments

2reactions
somar05commented, Jan 3, 2021

No @alandtse, my scenario is two differents Amazon accounts in the same domain (amazon.es). First post updated to avoid misunderstanding

0reactions
umrathcommented, Jan 11, 2021

Alexa Media Player >3.4.1 is still failing for me. Tested with 3.4.8 yesterday and the days before.

I still do get rather frequent information that the authentication needs to get recreated. Sometimes it seems to do that on its own. So, I enter the integrations page - and I see no error. Sometimes I need to manually confirm what has already been configured. Most of the time the integration has at least some outages when this happens.

I downgraded to 3.4.1 without changing any configuration or even re-authenticating and it works just fine again for >24 hours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manual - Univention Corporate Server
After restart the configuration may be resumed by using a web browser. ... A user account which is authorized to add systems to...
Read more >
Change Log for Plesk Obsidian
Find out about changes, additions and updates to Plesk Obsidian on an iteration to iteration basis.
Read more >
Frequently Asked Questions About STAF V3, STAX, and STAF ...
Explain startup error: 38:Illegal access to class: com.ibm.staf.service.... 3.3.5. Why does STAF's user registration fail each time STAFProc is started? 3.3.6 ...
Read more >
F-Secure Policy Manager - Administrator's Guide
Services not available when Policy Manager Console is running on Linux: ... To allow another user to run Policy Manager Console you must...
Read more >
RFC 1123: Requirements for Internet Hosts - Application and ...
These requirements are based on the current level of Internet architecture. This document will be updated as required to provide additional clarifications ...
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