alexa_media_player: Captcha results in 500 Internal Server Error Server got itself in trouble

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

Recent prior AMP build caused issues resulting in me uninstalling a previous successful instance to reinstall integration. Instructions followed through the entire sequence until I get the Captcha. Submit the Captcha and receive a 500 Internal Server Error Server got itself in trouble. Multiple attempts result in same issue.

Integration never completes installation so cannot enable logging. 500 error comes from internal IP address for HA instance.

To Reproduce

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior

Captcha should correctly return and integration install

Screenshots

System details

  • Home-assistant (version): 2024.8.0
  • alexa_media (version from const.py or HA startup): 4.12.6 plus manifest.json edit to force alexapy>=1.28.2
  • alexapy (version from pip show alexapy or HA startup): 1.28.2
  • Amazon 2FA is enabled (y/n). <!—We will not debug login issues if unanswered—>: Yes Logs Please provide logs. Logs not available as integration never completes installation Additional context

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 9
  • Comments: 39 (1 by maintainers)

Most upvoted comments

Same issue here

answer here : https://github.com/alandtse/alexa_media_player/issues/2418

update alexapy requirement in manifest.json file

"requirements": ["alexapy==1.28.2", "packaging>=20.3", "wrapt>=1.14.0"],

  • Logs Please provide logs. Logs not available as integration never completes installation

There will be debug logs up to that point.

logger:
  logs:
    alexapy: debug
    custom_components.alexa_media: debug

manifest.json line 11 should be:

"requirements": ["alexapy==1.28.2", "packaging>=20.3", "wrapt>=1.14.0"],