home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.61k stars 30.77k forks source link

2024.3.3 Notifications: Send a notification via alexa_media_(device) #114042

Closed Bigsteps66 closed 7 months ago

Bigsteps66 commented 7 months ago

The problem

After Installing 2024.3.3 My alexa notifications all stopped and apparently alexa.media_player is Gone.

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

core-2024.3.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

alexa.media_player

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Tjchispas commented 7 months ago

Same problem here

Edmond76 commented 7 months ago

Same issue here. Any advice or solution please?

mib1185 commented 7 months ago

which exact integration do you use? please provide the link to the documentation, so we can tag this issue report accordingly. Besides this, please provide more details, like log messages and/or diagnostic data, thx 👍

Bigsteps66 commented 7 months ago

Alexa Media Player is the integration

The only messages that I got was that my Call Service could not run, alexa.media_player

After I restored 2024.3.2 it was all back to working.

From: Michael @.> Sent: Saturday, March 23, 2024 11:06 AM To: home-assistant/core @.> Cc: Bigsteps @.>; Author @.> Subject: Re: [home-assistant/core] 2024.3.3 Notifications: Send a notification via alexamedia(device) (Issue #114042)

which exact integration do you use? please provide the link to the documentation, so we can tag this issue report accordingly. Besides this, please provide more details, like log messages https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics and/or diagnostic https://www.home-assistant.io/integrations/diagnostics data, thx 👍

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/114042#issuecomment-2016534308 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNCA4NTFJWW2SZV3OBQVPTYZWR6DAVCNFSM6AAAAABFEENARKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGUZTIMZQHA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AYNCA4MEYTQMS3D7LZPLFBTYZWR6DA5CNFSM6AAAAABFEENARKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTYGHPSI.gif Message ID: @. @.> >

nomukaiki commented 7 months ago

which exact integration do you use? please provide the link to the documentation, so we can tag this issue report accordingly. Besides this, please provide more details, like log messages and/or diagnostic data, thx 👍

This is most likely the HA custom Alexa Media Player integration. I'm not sure if the error is caused by the custom instegration or a deeper issue with the latest Python 3.12 and httpx. When adding the integration again, and using a setup with custom SSL certificates for HTTPS, these are the errors received after the oauth access to the Amazon account:

image

Screenshot 2024-03-27 at 18 52 48

Docker containers affected:

Update: I took the time to test all docker versions back to 2024.2, also reverting back the custom Alexa integration to Dec 2023, and the error still persists. I would assume now that this could be how Amazon is handling the proxy authorisation clients. I wll also raise an issue on the custom integration.

mib1185 commented 7 months ago

@Bigsteps66 could you please confirm if your issue is about a custom component or a HA core integration?

nomukaiki commented 7 months ago

@mib1185 this is a custom integration.

I also found the issue, and the integration is now working as expected. Alexa API now requires accounts using 2FA enabled. The integration code might not be handling the error properly. Enabling 2FA on the Amazon account makes this error go away and Alexa media player is working again.

mib1185 commented 7 months ago

Than I think we can close this issue, since custom components are not maintained by the HA project

Bigsteps66 commented 7 months ago

Everything was working normal until I upgraded to the 2024.3.3

I will verify The 2FA with Alexa and try the 2024.3.3 again.

I am currently at 2024.3.2

From: Michael @.> Sent: Wednesday, March 27, 2024 2:44 PM To: home-assistant/core @.> Cc: Bigsteps @.>; Mention @.> Subject: Re: [home-assistant/core] 2024.3.3 Notifications: Send a notification via alexamedia(device) (Issue #114042)

@Bigsteps66 https://github.com/Bigsteps66 could you please confirm if your issue is about a custom component or a HA core integration?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/114042#issuecomment-2023831527 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNCA4KN742HQZ364HBOPB3Y2MHNVAVCNFSM6AAAAABFEENARKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTHAZTCNJSG4 . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNCA4NHB7L6H6YKEL2I5DTY2MHNVA5CNFSM6AAAAABFEENARKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTYUE36O.gif Message ID: @. @.> >