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

Attempt to install Alexa media_player appeared to be successful, but no integration is found #2710

Open
oywino opened this issue Dec 2, 2024 · 2 comments

Comments

@oywino
Copy link

oywino commented Dec 2, 2024

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.

Describe the bug

I installed the Alexa Media Integration from HACS as explained in the Wiki. Everything seemed fine, including 2FA. Then I installed the Alexa media_player integration from HA Settings --> Devices & Services and again everything appeared fine. I even got a success notification in the end, along with a message to just ignore any error messages.

The only error message I got in the log was:
Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7fd0de6e77d0>,) inside the event loop by custom integration 'alexa_media' at custom_components/alexa_media/config_flow.py, line 374:
But there's no Alexa Media Player integration in the HA integration page!
And nothing seems to work.

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

image

System details

  • Home Assistant version: 2024.11.2
  • alexa_media version (from const.py or HA startup log): v5.0.0
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log): (not running HA OS)
  • Is Amazon 2FA/2SV enabled <!---We will not debug login issues if unanswered---> (y/n): Yes
  • Amazon Domain: amazon.com

Debug Logs (alexa_media & alexapy)
Please provide logs.
Can't enable debug logging as long as the Integration isn't installed/found.
Additional context

@danielbrunt57
Copy link
Collaborator

I installed the Alexa Media Integration from HACS as explained in the Wiki. Everything seemed fine, including 2FA. Then I installed the Alexa media_player integration from HA Settings --> Devices & Services and again everything appeared fine. I even got a success notification in the end, along with a message to just ignore any error messages.

You sequence of events doesn't make sense to me.

I installed the Alexa Media Integration from HACS as explained in the Wiki. Everything seemed fine, including 2FA.

There is no entry of 2FA when installing the HACS integration. Unless you mean you successfully created/added the Amazon 2SV Authenticator App, obtained the key and verified it.

Then I installed the Alexa media_player integration from HA Settings --> Devices & Services and again everything appeared fine. I even got a success notification in the end, along with a message to just ignore any error messages.

There shouldn't have been a message to just ignore any error messages. The installation should just say Successful followed by the list of discovered devices where you can configure the area.

The only error message I got in the log was: Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7fd0de6e77d0>,) inside the event loop by custom integration 'alexa_media' at custom_components/alexa_media/config_flow.py, line 374:

This is and always has been an absolutely benign WARNING and has absolutely zero effect of the execution of the code.
FWIW, I recently fixed that issue (last week?) which stems from authcaptureproxy. authcaptureproxy has been bumped and released as new version but alexapy now needs to be bumped and released as a new version and then alexa_media bumped and released as a new version to get the revised code in the hands to users!

@danielbrunt57
Copy link
Collaborator

A full and complete set of DEBUG logs for alexa from initialization through failure might help diagnose what's happening in your system....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants