Skip to content
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 asks for re-authentication with TuneIn. #2545

Closed
Xoordak opened this issue Sep 19, 2024 · 4 comments
Closed

Alexa asks for re-authentication with TuneIn. #2545

Xoordak opened this issue Sep 19, 2024 · 4 comments

Comments

@Xoordak
Copy link

Xoordak commented Sep 19, 2024

Describe the bugs

Once Alexa Media Player is installed and all devices are correctly configured. Using 2FA, it is amazon.it.
Alexa stays connected until TuneIn is used by calling it with Alexa, 'Alexa, play Radio Radio.' After that, it disconnects, and the procedure needs to be done from scratch. This happens every time.

Screenshots
IMG_3836

Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 8:38:25 PM (1 occurrences)
Last logged: 8:38:25 PM

Error setting up entry [email protected] - amazon.it for alexa_media
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alexa_media/init.py", line 361, in async_setup_entry
await login.login(cookies=await login.load_cookie())
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/alexalogin.py", line 713, in login
self._site = await self._process_page(await post_resp.text(), site)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 1506, in _process_page
error_message += list_item.find("span").string
TypeError: can only concatenate str (not "NoneType") to str

System details

Home Core
2024.9.2
Supervisor
2024.09.1
Operating System
13.1
Frontend
20240909.1
Alexa Media Player
v4.13.1

@sherkan-666
Copy link

I update Alexa Media Player in 4.13.2, restart HA and now it's OK, no error.

@Xoordak
Copy link
Author

Xoordak commented Sep 26, 2024

I keep getting the same error. I have uninstalled and reinstalled everything. How do I access the media player interface, and whenever I touch any command, it disconnects everything.

@Xoordak
Copy link
Author

Xoordak commented Oct 1, 2024

I solved it!
homeassistant runs on a raspberry pi5.
updating the Rasb firmware

Repository owner deleted a comment from sherkan-666 Oct 9, 2024
Repository owner deleted a comment from BobMac57 Oct 9, 2024
Repository owner deleted a comment from tbkon3 Oct 9, 2024
Repository owner deleted a comment from katino97 Oct 9, 2024
Copy link

github-actions bot commented Dec 9, 2024

The issue has received no activity for 60 days and will be closed in a week.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants