alandtse / alexa_media_player

This is a custom component to allow control of Amazon Alexa devices in Home Assistant using the unofficial Alexa API.
Apache License 2.0
1.5k stars 287 forks source link

No chance to get this installed > HA 2024.6? What is wrong here, what is working elsewhere? #2594

Open emufan opened 1 week ago

emufan commented 1 week ago

Describe the bug

I'm running AMP without problems in HA 2024.6 and AMP 4.12.7.

But with HA versions > HA 2024.6 I can't get the integration to run. Tried is in every version .8, .9 and today again for hours in .10

So I'm wondering if I'm really the only one, who coudn't get it running if I read so many infos, that it is still running elsewhere.

Even an update to AMP 4.13.2 is working and AMP is running afterwards with HA 2024.06 but not with newer version, e.g. todays 2024.10.1.

To Reproduce

Update HA to 2024.8 or 2024.9 or 2024.10 with running AMP or try to install AMP in 2024.8 or 2024.9 or 2024.10.

Domain is de (if this is the problem).

What is not working / where it ends.

Adding of integration was not successfull

After restart of a before setup and running AMP ist just ends with "integration not loaded". And deleting, re-adding, ... nothing is working.

Of course, I read today most probably all open issues here in this section (again), but all the work arounds and tips there are not mine:

Tried

Expected behavior

Running AMP with HA e.g. 2024.10

System details

Debug Logs (alexa_media & alexapy)

Surprisingly it shows that it is finding devices and registers them, but then cancels everything at some point in time.

Is this the relevant problem

2024-10-06 18:42:28.534 DEBUG (MainThread) [alexapy.alexalogin] 5 cookies successfully exchanged for refresh token for domain .amazon.de
2024-10-06 18:42:28.535 DEBUG (MainThread) [alexapy.alexalogin] Attempting to discover CSRF token
2024-10-06 18:42:28.654 DEBUG (MainThread) [alexapy.alexalogin] CSRF token not found from /spa/index.html
2024-10-06 18:42:28.740 DEBUG (MainThread) [alexapy.alexalogin] Unable to load page for csrf: <ClientResponse(https://alexa.amazon.de/api/language) [401 Unauthorized]>
<CIMultiDictProxy('Content-Length': '0', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:28 GMT', 'Strict-Transport-Security': 'max-age=0; includeSubDomains;', 'x-amz-rid': '8H1M8MD3CSYR12RMR1GT', 'loginUrl': 'https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Flogin&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&', 'x-amzn-RequestId': '8H1M8MD3CSYR12RMR1GT', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 c25f4c3e9095efed7de1aa324e9d84e2.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-P1', 'X-Amz-Cf-Id': '_mRslv1ol7u2hX0VKXxoImJVjq7c5Gfbm41CUnEhQTsv3Iatyvt6bg==')>

2024-10-06 18:42:28.930 DEBUG (MainThread) [alexapy.alexalogin] CSRF token not found from /api/devices-v2/device?cached=false
2024-10-06 18:42:28.997 DEBUG (MainThread) [alexapy.alexalogin] CSRF token not found from /templates/oobe/d-device-pick.handlebars
2024-10-06 18:42:29.054 DEBUG (MainThread) [alexapy.alexalogin] Unable to load page for csrf: <ClientResponse(https://alexa.amazon.de/api/strings) [401 Unauthorized]>
<CIMultiDictProxy('Content-Length': '0', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:29 GMT', 'Strict-Transport-Security': 'max-age=0; includeSubDomains;', 'x-amz-rid': '75TQHH77JM8WQA02S8FQ', 'loginUrl': 'https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Flogin&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&', 'x-amzn-RequestId': '75TQHH77JM8WQA02S8FQ', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 4142ad26eb2d1d4ff3450cfede1a3f60.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-P1', 'X-Amz-Cf-Id': 'hT5Yvt9Kqibgga3leX4TpqEJq87TYn7rtk8EE8sxuYT_42z5exqpfg==')>

2024-10-06 18:42:29.055 DEBUG (MainThread) [alexapy.alexalogin] No csrf token found

out of complete flow?

2024-10-06 18:42:26.906 DEBUG (MainThread) [authcaptureproxy.helper] Running coroutine test_amazon_url
2024-10-06 18:42:26.944 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Proxy data reset.
2024-10-06 18:42:26.944 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Test test_amazon_url triggered
2024-10-06 18:42:26.944 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Redirecting to callback: http://111.222.333.444:1234/auth/alexamedia/callback?flow_id=01J9HB9NHD954N88AP5VT2C35H
2024-10-06 18:42:26.961 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Checking proxy response for m**l@w*******e - amazon.de
2024-10-06 18:42:27.136 DEBUG (MainThread) [alexapy.alexalogin] Testing whether logged in to alexa.amazon.de
2024-10-06 18:42:27.136 DEBUG (MainThread) [alexapy.alexalogin] Cookies: None
2024-10-06 18:42:27.137 DEBUG (MainThread) [alexapy.alexalogin] Session Cookies:
Set-Cookie: x-amz-captcha-1=1728240111036768; Path=/
Set-Cookie: x-amz-captcha-2="KX6YRSaDCVuKBTnAzJ14iw=="; Path=/
Set-Cookie: session-id=135-5256540-0800618; Path=/
Set-Cookie: session-id-time=2358952946l; Path=/
Set-Cookie: lc-main=de_DE; Path=/
Set-Cookie: ubid-main=132-6191009-0261138; Path=/
Set-Cookie: session-token="\"HEQ/pTlPkV3IqK7pQ59MF1Qr0dIf1qQUDYgBblCkxxffm7RSxxXFLPsuXgLaZkCly8Q7RW410oDgf2k9vbzlJPQQd3mh6+BBMtoWMy0eDmi7CkMw6Tqqz9IeBDqWYkdcKVijAVTmWAuU4FzWnBr3IQ75AfP85De3CAglmYrqbdf764HY1KYDntaD3mbI5qfB4Xpwi+bczQMeFYrgfXDJMwhTLRFbjjLxk99IftAgz3835B63iQ3T7KIMZsGusMst7d7+7GNml26LVPsVIynVs4/2BGBWy4ijIZhZobEOL3oNS+YtyhXd8yeMlm2ak0aE8RK+OQptn8YGUU2rMrtWmfI+DeKAfx4VlqWufHnks2o9vmixm5b3vw==\""; Path=/
Set-Cookie: sid="\"nnupsVphz5ndv36gA63Utg==|6xiU+DDHYgY1rr9P5V6PptHwqIWcianl9vWm74q4WlA=\""; Path=/
Set-Cookie: x-main=WZhMERBVUq7nfHhh3psBTeL3hreWsTmI; Path=/
Set-Cookie: at-main=Atza|IwEBIPd-7Lqmwv4iDyG-E-yPiH-cXQ23w53GiiKbqv1S0BGETc-lLYvF2eD1bFjfY_tf4RT12YV9hJGNdlcfG0acfnYwzjcNi_-p2uAFqlXY1BMWB3DTiTwql1vgRcR9hoahVwxKpj_FDeP0D6K9VBRSbYKhcwHgp_B_tpCjZzu9SC6qIPv9ik-VeymMFZVpbaPlG-JTIMmmWE1WJi-tgKmdLIlivUvO8X7Ns6Lo_5aNUtulBwn94U4VYoVWbmj9yP2He_urSZVu9jUnH3f2tV-tuDnhuuTJjaKtft9NpDAS1nu-xw; Path=/
Set-Cookie: sess-at-main="\"dRRItQxcNoeSmhmZwcT28yHtvgyC7HlMpKzozMiyx0k=\""; Path=/

2024-10-06 18:42:27.137 DEBUG (MainThread) [alexapy.alexalogin] Header: {"User-Agent": "AmazonWebView/Amazon Alexa/2.2.556530.0/iOS/16.6/iPhone", "Accept": "*/*", "Accept-Language": "*", "DNT": "1", "Upgrade-Insecure-Requests": "1"}
2024-10-06 18:42:27.137 DEBUG (MainThread) [alexapy.alexalogin] Attempting to register with amazon.de
2024-10-06 18:42:27.854 DEBUG (MainThread) [alexapy.alexalogin] auth response <ClientResponse(https://api.amazon.de/auth/register) [200 OK]>
<CIMultiDictProxy('Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '5775', 'Connection': 'keep-alive', 'x-amz-rid': 'MZSR09PSDQCBRPZB4Z8G', 'x-amzn-RequestId': '15238049-e674-4e70-9f0e-7ee3b5e7cfef', 'X-Amz-Date': 'Sun, 06 Oct 2024 16:42:27 GMT', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload')>
 with 
{"requested_extensions": ["device_info", "customer_info"], "cookies": {"website_cookies": [], "domain": ".amazon.de"}, "registration_data": {"domain": "Device", "app_version": "2.2.556530.0", "device_type": "A2IVLV5VM2W81", "device_name": "%FIRST_NAME%'s%DUPE_STRATEGY_1ST%Alexa Media Player", "os_version": "16.6", "device_serial": "799a4c35b56aa07ec8def07df4ae7441", "device_model": "iPhone", "app_name": "Alexa Media Player", "software_version": "1"}, "auth_data": {"client_id": "373939613463333562353661613037656338646566303764663461653734343132333431333234393536346335363335353634643332353733383331", "authorization_code": "ANwtlYQPvnzyMFcVgIgUTjcl", "code_verifier": "WRKPnTD0I9hrVvaHNRoQQcfS_otEYQRBLngSaOf82Zw", "code_algorithm": "SHA-256", "client_domain": "DeviceLegacy"}, "user_context_map": {"frc": "93XFImtAnXxE5POzpIOZYKPBe4hcg5RczY5cslsRH5xyfqrZ12iCTbIiMCLnne/oEag2B/GxP6V6ttAFQ0wci4M+U1FeX1+IBjgWsVt4lBMLvLTeM9yTKbUUm37+z4RHOvFLhflTwiex6lGewXpesuaBitHfB94VzUu+NPTMDWn07+DwWG5LPop7DTP4b/Umu66clOtd7J/Lnrke08/HE6AbkrgzeVsi3V625sUdpH0rUjcPsIb2NpynE/xnh8iCdF4XcCXriN3Scoc5O0juyO6mwOSdbqi/lqCozGiKoeoe1AKzQnhkS/3VXRopuDz3b2NkVlp7pE69CqlN9o080CQ3T24km2s/az0EAonYXXahlfwgfEVg3W67iUmYyMUmrYZqMEbYsn/eBrqCzEaFH7yWWC5FTipCtw"}, "requested_token_type": ["bearer", "mac_dms", "website_cookies"]}
2024-10-06 18:42:27.856 DEBUG (MainThread) [alexapy.alexalogin] Successfully registered aaa's 6th Alexa Media Player device with Amazon
2024-10-06 18:42:27.857 DEBUG (MainThread) [alexapy.alexalogin] Received registration data:
{"success": {"extensions": {"device_info": {"device_name": "aaa's 6th Alexa Media Player", "device_serial_number": "799a4c35b56aa07ec8def07df4ae7441", "device_type": "A2IVLV5VM2W81"}, "customer_info": {"account_pool": "Amazon", "user_id": "amzn1.account.AGMHNIGFOQZ5JNFMVSPBFIFYMWUQ", "home_region": "EU", "name": "aaa bbb", "given_name": "aaa"}}, "tokens": {"website_cookies": [{"Path": "/", "Secure": "true", "Value": "259-7416319-9121701", "Expires": "1 Oct 2044 16:42:27 GMT", "Domain": ".amazon.de", "HttpOnly": "false", "Name": "session-id"}, {"Path": "/", "Secure": "true", "Value": "261-2176655-6853122", "Expires": "1 Oct 2044 16:42:27 GMT", "Domain": ".amazon.de", "HttpOnly": "false", "Name": "ubid-acbde"}, {"Path": "/", "Secure": "true", "Value": "\"kuEhUepZpAYqoXepmVg3peIOxZj??N2x\"", "Expires": "1 Oct 2044 16:42:27 GMT", "Domain": ".amazon.de", "HttpOnly": "false", "Name": "x-acbde"}, {"Path": "/", "Secure": "true", "Value": "\"Atza|IwEBIOjBuj8u4kk523G3NkVUI83IYn0rOEDewEzbejJBrjTirTiLcuIgSac9soDn1awu-VxfW6T-583ZOWEXUiLaEAn3zIWW3s35sROMpOTZDp05DGCNyCaYY7EarL0Z_M7i2-G6-RigZnRO6uKSHFOoCssZkp7ui43ru-cDjhlBouaTLkA4N_QHd5e8-tJTFsD1fOIDtlBeK2ARKqLPlKUV60CQEsifm7s6sT8p4tD0XFnifwelEVoE3wIFeYVDEnqhvzEXv4cdCa_tbLKyz9j4IkWx8xE0b1QbsZjtyi55pa033MRHYBNI14B1nsNMLKIORQCaec_S8qCjnShDklXyqxVDDhT4LbXKirCH5_UCrxXDKNrLuT0UNdNMVTswrv1N6Z4\"", "Expires": "7 Oct 2024 16:42:27 GMT", "Domain": ".amazon.de", "HttpOnly": "true", "Name": "at-acbde"}, {"Path": "/", "Secure": "true", "Value": "\"7IfyrRp5UoUsEFaJMnLwwMWYzOlxb65C+vCUtQJhw+o=\"", "Expires": "7 Oct 2024 16:42:27 GMT", "Domain": ".amazon.de", "HttpOnly": "true", "Name": "sess-at-acbde"}], "mac_dms": {"device_private_key": "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDWEuAiORguyacUqyPCtU4qq6tZEC78z4OT9t/w4rsxpdoaIgxqMhIRBGPjEe5pUfIse7vM4JJlOIgV1b8aw6E7TN2YFEXvGP5wgwokJ9ftEBueBZ6wGewxXDZBPY2xpebYcaMyxpEiwdWEBQ9rjUvJUlgd9nsk6T9lLQA7FIEIgoiVcwudGHgAAMymOKSYQObmYuBe3COaASsK41dIL/y5piKV78Ty6UommwWFRUJwsWR/urM7hS6+dcq91TbVHxyPz6xgd2Q97buLBDuSraLdNO2x7QGQW1o2q5ZJJH6/wwGGn6G5K+68lavMlNIVsSkKQO1rQObAgRSt7KrgIOtLAgMBAAECggEBALlAIldbQxMSDBU1uD+BeAAzCJeNCqxZw0pjBA3HlyhylpewyT+IztuNCgdw9/iKImDePnkgCW+wiQskKjk1+6t+a/Bz8sTiwySIMVlyZUfPfaa0xEsuU5evbX/tjVWi9G5vgEOrU+NZC7UwT9TJtECmknxzVMNvWR3r4Fw/9R1vio+7iVLEcCsohsUwJm/E/63x8VmluPmobAkGrp87FRCwCrN9rBbvhkHBvrj2sqald+SQMXa2U3YFQs0l0l0bt+v1DJKNOt0uCy25bSICDvkepezbl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KfWf8", "expires_in": "3600"}, "website_cookies_ttl": 2592000}, "customer_id": "amzn1.account.AGMHNIGFOQZ5JNFMVSPBFIFYMWUQ"}}
2024-10-06 18:42:27.857 DEBUG (MainThread) [alexapy.alexalogin] New access token(396) received which expires at 2024-10-06 19:42:27.857495 in 0:59:59.999952
2024-10-06 18:42:28.180 DEBUG (MainThread) [alexapy.alexalogin] capabilities response <ClientResponse(https://api.amazonalexa.com/v1/devices/@self/capabilities) [204 No Content]>
<CIMultiDictProxy('Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:28 GMT', 'x-amz-rid': 'HNZTHTF7DHKP4EW7PTCA', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 fac4016d40efb9989ddc8d36322eeefc.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-C1', 'X-Amz-Cf-Id': '8kbP_WHR7EFXxHNm1Pr4XUAUvu0B1Y-d8oNRgf5xSitueZsM3DtNZw==')>
 with 
{"legacyFlags": {"SUPPORTS_COMMS": true, "SUPPORTS_ARBITRATION": true, "SCREEN_WIDTH": 1170, "SUPPORTS_SCRUBBING": true, "SPEECH_SYNTH_SUPPORTS_TTS_URLS": false, "SUPPORTS_HOME_AUTOMATION": true, "SUPPORTS_DROPIN_OUTBOUND": true, "FRIENDLY_NAME_TEMPLATE": "VOX", "SUPPORTS_SIP_OUTBOUND_CALLING": true, "VOICE_PROFILE_SWITCHING_DISABLED": true, "SUPPORTS_LYRICS_IN_CARD": false, "SUPPORTS_DATAMART_NAMESPACE": "Vox", "SUPPORTS_VIDEO_CALLING": true, "SUPPORTS_PFM_CHANGED": true, "SUPPORTS_TARGET_PLATFORM": "TABLET", "SUPPORTS_SECURE_LOCKSCREEN": false, "AUDIO_PLAYER_SUPPORTS_TTS_URLS": false, "SUPPORTS_KEYS_IN_HEADER": false, "SUPPORTS_MIXING_BEHAVIOR_FOR_AUDIO_PLAYER": false, "AXON_SUPPORT": true, "SUPPORTS_TTS_SPEECHMARKS": true}, "envelopeVersion": "20160207", "capabilities": [{"version": "0.1", "interface": "CardRenderer", "type": "AlexaInterface"}, {"interface": "Navigation", "type": "AlexaInterface", "version": "1.1"}, {"type": "AlexaInterface", "version": "2.0", "interface": "Alexa.Comms.PhoneCallController"}, {"type": "AlexaInterface", "version": "1.1", "interface": "ExternalMediaPlayer"}, {"type": "AlexaInterface", "interface": "Alerts", "configurations": {"maximumAlerts": {"timers": 2, "overall": 99, "alarms": 2}}, "version": "1.3"}, {"version": "1.0", "interface": "Alexa.Display.Window", "type": "AlexaInterface", "configurations": {"templates": [{"type": "STANDARD", "id": "app_window_template", "configuration": {"sizes": [{"id": "fullscreen", "type": "DISCRETE", "value": {"value": {"height": 1440, "width": 3200}, "unit": "PIXEL"}}], "interactionModes": ["mobile_mode", "auto_mode"]}}]}}, {"type": "AlexaInterface", "interface": "AccessoryKit", "version": "0.1"}, {"type": "AlexaInterface", "interface": "Alexa.AudioSignal.ActiveNoiseControl", "version": "1.0", "configurations": {"ambientSoundProcessingModes": [{"name": "ACTIVE_NOISE_CONTROL"}, {"name": "PASSTHROUGH"}]}}, {"interface": "PlaybackController", "type": "AlexaInterface", "version": "1.0"}, {"version": "1.0", "interface": "Speaker", "type": "AlexaInterface"}, {"version": "1.0", "interface": "SpeechSynthesizer", "type": "AlexaInterface"}, {"version": "1.0", "interface": "AudioActivityTracker", "type": "AlexaInterface"}, {"type": "AlexaInterface", "interface": "Alexa.Camera.LiveViewController", "version": "1.0"}, {"type": "AlexaInterface", "version": "1.0", "interface": "Alexa.Input.Text"}, {"type": "AlexaInterface", "interface": "Alexa.PlaybackStateReporter", "version": "1.0"}, {"version": "1.1", "interface": "Geolocation", "type": "AlexaInterface"}, {"interface": "Alexa.Health.Fitness", "version": "1.0", "type": "AlexaInterface"}, {"interface": "Settings", "type": "AlexaInterface", "version": "1.0"}, {"configurations": {"interactionModes": [{"dialog": "SUPPORTED", "interactionDistance": {"value": 18, "unit": "INCHES"}, "video": "SUPPORTED", "keyboard": "SUPPORTED", "id": "mobile_mode", "uiMode": "MOBILE", "touch": "SUPPORTED"}, {"video": "UNSUPPORTED", "dialog": "SUPPORTED", "interactionDistance": {"value": 36, "unit": "INCHES"}, "uiMode": "AUTO", "touch": "SUPPORTED", "id": "auto_mode", "keyboard": "UNSUPPORTED"}]}, "type": "AlexaInterface", "interface": "Alexa.InteractionMode", "version": "1.0"}, {"type": "AlexaInterface", "configurations": {"catalogs": [{"type": "IOS_APP_STORE", "identifierTypes": ["URI_HTTP_SCHEME", "URI_CUSTOM_SCHEME"]}]}, "version": "0.2", "interface": "Alexa.Launcher"}, {"interface": "System", "version": "1.0", "type": "AlexaInterface"}, {"interface": "Alexa.IOComponents", "type": "AlexaInterface", "version": "1.4"}, {"type": "AlexaInterface", "interface": "Alexa.FavoritesController", "version": "1.0"}, {"version": "1.0", "type": "AlexaInterface", "interface": "Alexa.Mobile.Push"}, {"type": "AlexaInterface", "interface": "InteractionModel", "version": "1.1"}, {"interface": "Alexa.PlaylistController", "type": "AlexaInterface", "version": "1.0"}, {"interface": "SpeechRecognizer", "type": "AlexaInterface", "version": "2.1"}, {"interface": "AudioPlayer", "type": "AlexaInterface", "version": "1.3"}, {"type": "AlexaInterface", "version": "3.1", "interface": "Alexa.RTCSessionController"}, {"interface": "VisualActivityTracker", "version": "1.1", "type": "AlexaInterface"}, {"interface": "Alexa.PlaybackController", "version": "1.0", "type": "AlexaInterface"}, {"type": "AlexaInterface", "interface": "Alexa.SeekController", "version": "1.0"}, {"interface": "Alexa.Comms.MessagingController", "type": "AlexaInterface", "version": "1.0"}]}
{"User-Agent": "AmazonWebView/Amazon Alexa/2.2.556530.0/iOS/16.6/iPhone", "Accept-Language": "en-US", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-type": "application/json; charset=UTF-8", "authorization": "Bearer Atna|EwICIFURk4af9nQATmyXuYHjIBhXfNzYQX0Q3TVEIORDTCKWL6kFsRUTxOP183PyuJSXAU1EV1MCQ5EuRG-0s70jFcnpywkmbU_5ivkmxYdOtZAsQFMtC0QrPzhf1eZp9pp3-jbES8X08YJa7pMZkWnAk10ZkDyezcBjnoqcDwi31qTl1jAOVOHyvy1U8vUOcC0JmXkJhOFCW8jYFC4OJI-q_tbIe-0I9z9N6QinXv3LNMDUyxpJz9cf6i6uhd8Lq1g846DqrteQfwt7V_27tKWOkJguHkK_lnTBhceu3xliDTyPPP-sSmKQwQOqr4a5gdSSOHhime1SCC8xO0mSge341LAq7K0nTpftcmf_iwpw6Lg9nkmj_xNB64jRBXEgCq4KCgw"}
2024-10-06 18:42:28.532 DEBUG (MainThread) [alexapy.alexalogin] Exchange cookie json {'tokens': {'cookies': {'.amazon.de': [{'Path': '/', 'Secure': True, 'Value': '262-4390363-1253947', 'Expires': '1 Oct 2044 16:42:28 GMT', 'HttpOnly': False, 'Name': 'session-id'}, {'Path': '/', 'Secure': True, 'Value': '258-5494972-5411724', 'Expires': '1 Oct 2044 16:42:28 GMT', 'HttpOnly': False, 'Name': 'ubid-acbde'}, {'Path': '/', 'Secure': True, 'Value': '"5kIIXUC48qewYIh7v6XG?D74auom5OAy"', 'Expires': '1 Oct 2044 16:42:28 GMT', 'HttpOnly': False, 'Name': 'x-acbde'}, {'Path': '/', 'Secure': True, 'Value': '"Atza|IwEBINKpCPlkovfLM6NvqcxdQZvlxBzaoUv3BC5wu2s7qjllTKN08tpY746sLFn5H-ss3rdb7SHdZKQF2u0reHa2wcCbTeaZz7_20B52JTmHC-PUqaQc6ERL4wRtKj1c_G8RMIUEd5-yv5tVdwnSgS-hy0joqchpAFB-0wDQLRLJhGngZLqdJ3DSQaiDwXaU2NPzMFLwUsTO-_mvW3We8ipBn4xt0HroOvCrGM41Jpdy-bNj3YyeZ4PG7RvYCZYx3z1FOxV2JvdZiwP-x4Ce1SQNzkxvy6nOj1T73G9-xyetXrEptst10KozdgpD_AMij2d1YSSeC1YzyGnRu6dyIR59Sj9IE3a2-L_bcN-FaB3UwKrb_l_toqStyQ_Rfuyc9csS0mM"', 'Expires': '7 Oct 2024 16:42:28 GMT', 'HttpOnly': True, 'Name': 'at-acbde'}, {'Path': '/', 'Secure': True, 'Value': '"7nOFbT1Y/NE+hvOfCpxsgkKW9GfvASe8POpZn8VaIT4="', 'Expires': '7 Oct 2024 16:42:28 GMT', 'HttpOnly': True, 'Name': 'sess-at-acbde'}]}}} 
2024-10-06 18:42:28.534 DEBUG (MainThread) [alexapy.alexalogin] 5 cookies successfully exchanged for refresh token for domain .amazon.de
2024-10-06 18:42:28.535 DEBUG (MainThread) [alexapy.alexalogin] Attempting to discover CSRF token
2024-10-06 18:42:28.654 DEBUG (MainThread) [alexapy.alexalogin] CSRF token not found from /spa/index.html
2024-10-06 18:42:28.740 DEBUG (MainThread) [alexapy.alexalogin] Unable to load page for csrf: <ClientResponse(https://alexa.amazon.de/api/language) [401 Unauthorized]>
<CIMultiDictProxy('Content-Length': '0', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:28 GMT', 'Strict-Transport-Security': 'max-age=0; includeSubDomains;', 'x-amz-rid': '8H1M8MD3CSYR12RMR1GT', 'loginUrl': 'https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Flogin&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&', 'x-amzn-RequestId': '8H1M8MD3CSYR12RMR1GT', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 c25f4c3e9095efed7de1aa324e9d84e2.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-P1', 'X-Amz-Cf-Id': '_mRslv1ol7u2hX0VKXxoImJVjq7c5Gfbm41CUnEhQTsv3Iatyvt6bg==')>

2024-10-06 18:42:28.930 DEBUG (MainThread) [alexapy.alexalogin] CSRF token not found from /api/devices-v2/device?cached=false
2024-10-06 18:42:28.997 DEBUG (MainThread) [alexapy.alexalogin] CSRF token not found from /templates/oobe/d-device-pick.handlebars
2024-10-06 18:42:29.054 DEBUG (MainThread) [alexapy.alexalogin] Unable to load page for csrf: <ClientResponse(https://alexa.amazon.de/api/strings) [401 Unauthorized]>
<CIMultiDictProxy('Content-Length': '0', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:29 GMT', 'Strict-Transport-Security': 'max-age=0; includeSubDomains;', 'x-amz-rid': '75TQHH77JM8WQA02S8FQ', 'loginUrl': 'https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Flogin&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&', 'x-amzn-RequestId': '75TQHH77JM8WQA02S8FQ', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 4142ad26eb2d1d4ff3450cfede1a3f60.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-P1', 'X-Amz-Cf-Id': 'hT5Yvt9Kqibgga3leX4TpqEJq87TYn7rtk8EE8sxuYT_42z5exqpfg==')>

2024-10-06 18:42:29.055 DEBUG (MainThread) [alexapy.alexalogin] No csrf token found
2024-10-06 18:42:29.357 DEBUG (MainThread) [alexapy.alexalogin] GET: 
https://alexa.amazon.com/api/bootstrap with
<CIMultiDictProxy('Host': 'alexa.amazon.com', 'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.556530.0/iOS/16.6/iPhone', 'Accept': '*/*', 'Accept-Language': '*', 'DNT': '1', 'Upgrade-Insecure-Requests': '1', 'Accept-Encoding': 'gzip, deflate, br', 'Cookie': 'at-main=Atza|IwEBIPd-7Lqmwv4iDyG-E-yPiH-cXQ23w53GiiKbqv1S0BGETc-lLYvF2eD1bFjfY_tf4RT12YV9hJGNdlcfG0acfnYwzjcNi_-p2uAFqlXY1BMWB3DTiTwql1vgRcR9hoahVwxKpj_FDeP0D6K9VBRSbYKhcwHgp_B_tpCjZzu9SC6qIPv9ik-VeymMFZVpbaPlG-JTIMmmWE1WJi-tgKmdLIlivUvO8X7Ns6Lo_5aNUtulBwn94U4VYoVWbmj9yP2He_urSZVu9jUnH3f2tV-tuDnhuuTJjaKtft9NpDAS1nu-xw; lc-main=de_DE; sess-at-main="\\"dRRItQxcNoeSmhmZwcT28yHtvgyC7HlMpKzozMiyx0k=\\""; session-id=135-5256540-0800618; session-id-time=2358952946l; session-token="\\"HEQ/pTlPkV3IqK7pQ59MF1Qr0dIf1qQUDYgBblCkxxffm7RSxxXFLPsuXgLaZkCly8Q7RW410oDgf2k9vbzlJPQQd3mh6+BBMtoWMy0eDmi7CkMw6Tqqz9IeBDqWYkdcKVijAVTmWAuU4FzWnBr3IQ75AfP85De3CAglmYrqbdf764HY1KYDntaD3mbI5qfB4Xpwi+bczQMeFYrgfXDJMwhTLRFbjjLxk99IftAgz3835B63iQ3T7KIMZsGusMst7d7+7GNml26LVPsVIynVs4/2BGBWy4ijIZhZobEOL3oNS+YtyhXd8yeMlm2ak0aE8RK+OQptn8YGUU2rMrtWmfI+DeKAfx4VlqWufHnks2o9vmixm5b3vw==\\""; sid="\\"nnupsVphz5ndv36gA63Utg==|6xiU+DDHYgY1rr9P5V6PptHwqIWcianl9vWm74q4WlA=\\""; ubid-main=132-6191009-0261138; x-amz-captcha-1=1728240111036768; x-amz-captcha-2="KX6YRSaDCVuKBTnAzJ14iw=="; x-main=WZhMERBVUq7nfHhh3psBTeL3hreWsTmI')>
 returned 200:OK with response <CIMultiDictProxy('Content-Type': 'application/json', 'Content-Length': '171', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:29 GMT', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'x-amz-rid': '3Z7QVTC1KAGK1V78YXY6', 'Set-Cookie': 'csrf=-740916675; expires=Fri, 06-Oct-2034 16:42:29 GMT; Domain=.amazon.com; Path=/', 'x-amzn-ActionTrace': 'amzn1.tr.3c62a059-2eae-11e6-8dc8-0a59c57a0200.1615.BucJjz.63qZ98', 'x-amzn-RequestId': '3Z7QVTC1KAGK1V78YXY6', 'x-amzn-alt-domain': 'https://alexa.amazon.de/logout', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 4151e9c487816c27efe39c7f30779450.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-C1', 'X-Amz-Cf-Id': 'i7HobgAJQn2tbOyN9608t2QDayP1lwUAlUO84DiJpimICe6b-3Lf2A==')>
2024-10-06 18:42:29.412 DEBUG (MainThread) [alexapy.alexalogin] GET: 
https://alexa.amazon.de/api/bootstrap with
<CIMultiDictProxy('Host': 'alexa.amazon.de', 'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.556530.0/iOS/16.6/iPhone', 'Accept': '*/*', 'Accept-Language': '*', 'DNT': '1', 'Upgrade-Insecure-Requests': '1', 'Accept-Encoding': 'gzip, deflate, br', 'Cookie': 'at-main=Atza|IwEBIPd-7Lqmwv4iDyG-E-yPiH-cXQ23w53GiiKbqv1S0BGETc-lLYvF2eD1bFjfY_tf4RT12YV9hJGNdlcfG0acfnYwzjcNi_-p2uAFqlXY1BMWB3DTiTwql1vgRcR9hoahVwxKpj_FDeP0D6K9VBRSbYKhcwHgp_B_tpCjZzu9SC6qIPv9ik-VeymMFZVpbaPlG-JTIMmmWE1WJi-tgKmdLIlivUvO8X7Ns6Lo_5aNUtulBwn94U4VYoVWbmj9yP2He_urSZVu9jUnH3f2tV-tuDnhuuTJjaKtft9NpDAS1nu-xw; lc-main=de_DE; sess-at-main="\\"dRRItQxcNoeSmhmZwcT28yHtvgyC7HlMpKzozMiyx0k=\\""; session-id=262-7672952-0628915; session-id-time=2358952948l; session-token=ZgPBnoJGGBaAeD9858v/XOFtx91l0ra6dsu+io9D2mecu9/fiz7U0HbjVzb1J+uGe3yvBhIz3vfTsSBQWnPun69kVVA00gSDRklj9v6/ba9BOqJlpDOCSHHq0T5bngmM67GCDPG+PbLpNecPZtpDS5akF1FqXoXBD04QuxNCBjKkt8KOAg5N0KEfDLenfHHar+LBpK6bvwVEWlLkDkwl2ekPk5f+XROTEyL2ba1wYg6PSnxXKKk6j2KhIwDHxtUK6KF/myFDCIWoVK3ZL1b3vt2pb7aU74IjymKLFpmTCszoHed298EKYTrI13P9BOwaUVUw5g4feqUOknkhLTFXPLmKxtfQLSP2zgkJ9v00StDEKr1UraDEqtvnhzy/NBIt; sid="\\"nnupsVphz5ndv36gA63Utg==|6xiU+DDHYgY1rr9P5V6PptHwqIWcianl9vWm74q4WlA=\\""; ubid-acbde=132-6191009-0261138; ubid-main=132-6191009-0261138; x-amz-captcha-1=1728240111036768; x-amz-captcha-2="KX6YRSaDCVuKBTnAzJ14iw=="; x-main=WZhMERBVUq7nfHhh3psBTeL3hreWsTmI')>
 returned 401:Unauthorized with response <CIMultiDictProxy('Content-Length': '0', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sun, 06 Oct 2024 16:42:29 GMT', 'Strict-Transport-Security': 'max-age=0; includeSubDomains;', 'x-amz-rid': '76RZDHHBD90A39SZ8HK5', 'loginUrl': 'https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Flogin&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&', 'x-amzn-RequestId': '76RZDHHBD90A39SZ8HK5', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 4142ad26eb2d1d4ff3450cfede1a3f60.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HAM50-P1', 'X-Amz-Cf-Id': 'V5n170kglL315cBqQPHtQ9vNOPtSh0QE6984GN4_O5h0xU1ZRE6KQA==')>
2024-10-06 18:42:29.412 DEBUG (MainThread) [alexapy.alexalogin] Not logged in: An exception of type ContentTypeError occurred. Arguments:
(RequestInfo(url=URL('https://alexa.amazon.de/api/bootstrap'), method='GET', headers=<CIMultiDictProxy('Host': 'alexa.amazon.de', 'User-Agent': 'AmazonWebView/Amazon Alexa/2.2.556530.0/iOS/16.6/iPhone', 'Accept': '*/*', 'Accept-Language': '*', 'DNT': '1', 'Upgrade-Insecure-Requests': '1', 'Accept-Encoding': 'gzip, deflate, br', 'Cookie': 'at-main=Atza|IwEBIPd-7Lqmwv4iDyG-E-yPiH-cXQ23w53GiiKbqv1S0BGETc-lLYvF2eD1bFjfY_tf4RT12YV9hJGNdlcfG0acfnYwzjcNi_-p2uAFqlXY1BMWB3DTiTwql1vgRcR9hoahVwxKpj_FDeP0D6K9VBRSbYKhcwHgp_B_tpCjZzu9SC6qIPv9ik-VeymMFZVpbaPlG-JTIMmmWE1WJi-tgKmdLIlivUvO8X7Ns6Lo_5aNUtulBwn94U4VYoVWbmj9yP2He_urSZVu9jUnH3f2tV-tuDnhuuTJjaKtft9NpDAS1nu-xw; lc-main=de_DE; sess-at-main="\\"dRRItQxcNoeSmhmZwcT28yHtvgyC7HlMpKzozMiyx0k=\\""; session-id=262-7672952-0628915; session-id-time=2358952948l; session-token=ZgPBnoJGGBaAeD9858v/XOFtx91l0ra6dsu+io9D2mecu9/fiz7U0HbjVzb1J+uGe3yvBhIz3vfTsSBQWnPun69kVVA00gSDRklj9v6/ba9BOqJlpDOCSHHq0T5bngmM67GCDPG+PbLpNecPZtpDS5akF1FqXoXBD04QuxNCBjKkt8KOAg5N0KEfDLenfHHar+LBpK6bvwVEWlLkDkwl2ekPk5f+XROTEyL2ba1wYg6PSnxXKKk6j2KhIwDHxtUK6KF/myFDCIWoVK3ZL1b3vt2pb7aU74IjymKLFpmTCszoHed298EKYTrI13P9BOwaUVUw5g4feqUOknkhLTFXPLmKxtfQLSP2zgkJ9v00StDEKr1UraDEqtvnhzy/NBIt; sid="\\"nnupsVphz5ndv36gA63Utg==|6xiU+DDHYgY1rr9P5V6PptHwqIWcianl9vWm74q4WlA=\\""; ubid-acbde=132-6191009-0261138; ubid-main=132-6191009-0261138; x-amz-captcha-1=1728240111036768; x-amz-captcha-2="KX6YRSaDCVuKBTnAzJ14iw=="; x-main=WZhMERBVUq7nfHhh3psBTeL3hreWsTmI')>, real_url=URL('https://alexa.amazon.de/api/bootstrap')), ())
figorr commented 1 week ago

The lastest core version that works OK with polling enabled and devices connected to echo also enabled is 2024.7.4. At least for those that we are running AMP under European Amazon Servers. It looks something changed in the way our servers manage cookies … this and the latest python update for HA 2024.8, .9 and .10 … was the perfect storm. We need to wait until the next python update in HA.

Phelton commented 6 days ago

The question is when it will be upgraded. Next month? Next year? Never?

z-master42 commented 5 days ago

The lastest core version that works OK with polling enabled and devices connected to echo also enabled is 2024.7.4. At least for those that we are running AMP under European Amazon Servers. It looks something changed in the way our servers manage cookies … this and the latest python update for HA 2024.8, .9 and .10 … was the perfect storm. We need to wait until the next python update in HA.

I have everything running with Amazon.de, Home Assistant 2024.10.2 and AMP 14.3.4.

figorr commented 5 days ago

@z-master42 , do you really have “polling” enabled? Are you using “alexa_media.update_last_called” service?

z-master42 commented 5 days ago

What does this have to do with the problem of the author of the issue?

figorr commented 5 days ago

As you said everything is running under 2024.10.2 and AMP 14.3.4 … it looks like the new core released a couple of days ago has solved these issues related to alexalogin authentication,

An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: ('Login error detected; not contacting API',)

Issue: #2483

emufan commented 5 days ago

I have everything running with Amazon.de, Home Assistant 2024.10.2 and AMP 14.3.4.

@z-master42 Really? How did you get this working? Always standard updates? New installation? Always working or working since x and y now again?

I can try whatever I want, after 2024.6 nothing is working anymore (skipped try of .7, but .8, .9 and .10 is always showing error and not running installation after HA update and completely no possibility to re-install with the given errors above.

So I'm really wondering and looking forward how it is working in .de and I'm surprised that so many other users are running is <> .de, if this is really a cookie handling problem in HA .8 and bigger as I assume that the other regions are using cookies too and the login should not be that different to .de

z-master42 commented 5 days ago

It's been running for months, no idea how long. The only problem I had in the meantime was an updated blocklist in my Pi-hole that had the Amazon API on it. Even the .2 that caused so many people's memory to fill up and the CPU to max out ran without any problems for me.

Sectorchan commented 5 days ago

The lastest core version that works OK with polling enabled and devices connected to echo also enabled is 2024.7.4. At least for those that we are running AMP under European Amazon Servers. It looks something changed in the way our servers manage cookies … this and the latest python update for HA 2024.8, .9 and .10 … was the perfect storm. We need to wait until the next python update in HA.

I have everything running with Amazon.de, Home Assistant 2024.10.2 and AMP 14.3.4.

How did you managed that? Once I did the update AMP stopped working and I was never able to login anymore.

z-master42 commented 5 days ago

@Sectorchan Which update are you talking about? Which versions? AMP stopped working after ‘the’ update? What does the log say? Are there any error messages?