Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred.
See original GitHub issueDescribe the bug I previously upgraded to 3.8.3 (from 3.8.2 working install) which had issues so I downgraded back to 3.8.2. Today I upgraded to 3.8.4 after seeing a new version was available to fix the previous 3.8.3 issues but this resulted in me having to re-authenticate. After successfully doing so no Alexa devices are showing and I’m seeing API error in the logs (below). I tried to downgrade again to 3.8.2 but this no longer works.
I have removed and reinstalled both 3.8.2 and 3.8.4 but cannot get devices to show again even though authentication works.
To Reproduce Steps to reproduce the behaviour:
As above
Expected behavior A clear and concise description of what you expected to happen.
Working install.
Screenshots If applicable, add screenshots to help explain your problem.
System details
- Home-assistant (version): 2021.3.4
- Hassio (Yes/No): (Please note you may have to restart hassio 2-3 times to load the latest version of alexapy after an update. This looks like a HA bug). No
- alexa_media (version from
const.py
or HA startup): 3.8.4 - alexapy (version from
pip show alexapy
or HA startup): 1.24.4 - Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: Yes
Logs Please provide logs. We’ll be most likely asking for them anyway.
Error fetching alexa_media data: Error communicating with API:
11:25:04 – Alexa Media Player (ERROR) - message first occurred at 11:13:36 and shows up 3 times
alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0x7f69cb3e1100>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments: ()
11:25:04 – /usr/local/lib/python3.8/site-packages/alexapy/helpers.py (WARNING) - message first occurred at 11:13:36 and shows up 17 times
Timeout sending report to Alexa
11:24:40 – Amazon Alexa (ERROR) - message first occurred at 11:15:22 and shows up 5 times
Error doing job: Unclosed connection
11:24:23 – runner.py (ERROR) - message first occurred at 11:17:42 and shows up 2 times
Unable to remove unknown service notify/alexa_media
11:22:38 – core.py (WARNING) - message first occurred at 11:15:40 and shows up 2 times
Error unloading entry ***@*****.*** - amazon.co.uk for media_player
11:22:38 – helpers/entity_component.py (ERROR) - message first occurred at 11:15:40 and shows up 6 times
Logger: alexapy.helpers
Source: /usr/local/lib/python3.8/site-packages/alexapy/helpers.py:180
First occurred: 11:13:36 (17 occurrences)
Last logged: 11:25:04
* alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0x7f69cb3e1100>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments: ()
* alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0x7f69cb3e1100>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments: ()
* alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0x7f69ca038eb0>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments: ()
* alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0x7f69ca038eb0>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments: ()
* alexaapi.get_authentication((<alexapy.alexalogin.AlexaLogin object at 0x7f69ca038eb0>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments: ()
With debug enabled:
-------------------------------------------------------------------
alexa_media
Version: 3.8.4
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/alexa_media_player/issues
-------------------------------------------------------------------
2021-03-13 11:58:18 INFO (MainThread) [custom_components.alexa_media] Loaded alexapy==1.24.4
2021-03-13 11:58:19 DEBUG (MainThread) [custom_components.alexa_media.helpers] ***@*******: Returning uuid {'uuid': '****', 'index': 0}
2021-03-13 11:58:19 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for T************************************************YEA
2021-03-13 11:58:19 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 764969
2021-03-13 11:58:19 DEBUG (MainThread) [alexapy.alexalogin] Login created for ***@***.*** - amazon.co.uk
2021-03-13 11:58:19 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from /config/.storage/alexa_media.***@***.***.pickle
2021-03-13 11:58:19 DEBUG (MainThread) [alexapy.alexalogin] Trying to load cookie from file /config/.storage/alexa_media.******@******.***.pickle
2021-03-13 11:58:20 DEBUG (MainThread) [alexapy.alexalogin] Trying to load aiohttpCookieJar to session
2021-03-13 11:58:20 DEBUG (MainThread) [alexapy.alexalogin] Loaded 13 cookies
2021-03-13 11:58:20 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from /config/alexa_media.******@******.***.pickle
2021-03-13 11:58:20 DEBUG (MainThread) [alexapy.alexalogin] Using cookies to log in
2021-03-13 11:58:20 DEBUG (MainThread) [alexapy.alexalogin] Attempting to register with amazon.co.uk
2021-03-13 11:58:23 DEBUG (MainThread) [alexapy.alexalogin] auth response <ClientResponse(https://api.amazon.co.uk/auth/register) [200 OK]>
<CIMultiDictProxy('Server': 'Server', 'Date': 'Sat, 13 Mar 2021 11:58:23 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '5608', 'Connection': 'keep-alive', 'x-amz-rid': 'GHMM6EDMFWFFXM1XT585', 'x-amzn-RequestId': '3bc800ce-163d-4e17-a3a9-2232e08fae8a', 'X-Amz-Date': 'Sat, 13 Mar 2021 11:58:23 GMT', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent')>
with
{"requested_extensions": ["device_info", "customer_info"], "cookies": {"website_cookies": [{"Value": "258-3328851-9336754", "Name": "session-id"}, {"Value": "2246354663l", "Name": "session-id-time"}, {"Value": "en_GB", "Name": "lc-main"}, {"Value": "130-2026667-5189050", "Name": "ubid-main"}, {"Value": "06GK+lKQQHdzCHcPy4x5OCR1xg0ALFkYHaMxQRMwVkoCFm1PRhuCrSL1tJrV4tSTuunQuEfdPNMcjq6lOmzTCw4++SIuNh7eK6TEzBhPY8BM0Xnj6iVNKnoScaUOXwCYmIbms3ixXSCVQHLvAnC5rdiMtnI8hK8XvgLCoAkB2ROZ/SAwm8OjvtAMLoINbuXdgZdFoGEcpPYc7spzEbnbHJCY+SsIx2unPE6BIUbLeZ4=", "Name": "session-token"}, {"Value": "W1hDE8?fJvwavPY6NHHsupoi6?Q4M1kN", "Name": "x-main"}, {"Value": "Atza|IwEBICgDwo3p9BvnT_6iRb0JvuxJ7oodOTLafBF2u-pvF-sXGF_uRyxBjXA36zIYrZiqT2-6BbOn3iCwtCoc_-CQeJoWepgxYnB1xsUucmjJLuYRUTtlGbsO4Ixot5cBYehofJAlhgAhe6vtMVlKnabs78CiysjMI8ft8WpPNFB2FIvlG_6uhE2fsLHziV8oFWtY1rVOpPeehK1u13XynKtR9OqRitnhGch1K1kCowLe8bznsVZ_b0GD9C7PbD7Nt-Cib0eKtt4Z5SfCCrEXBFRci2EuZGTbThy9_DiEIMzMzeqEEg", "Name": "at-main"}, {"Value": "MLLe5XCDNzrxaSrjNq77IiyHWlzV/aosuWFvbLro/Zk=", "Name": "sess-at-main"}, {"Value": "257-4594701-8225265", "Name": "ubid-acbuk"}, {"Value": "M?IZq7?U5UVOwD8WwTB9Otg1NegeNx1V", "Name": "x-acbuk"}, {"Value": "Atza|IwEBIHKlZLCZpjRGqAePrreONeDsrPTjqOCh7agDhjYofNqLSSfJSVn-Ey_YklakOGsRXFVJ6cC-adfo5K1e2__7kzSCuVolmglYLkMCUDrVcg3GDF4deXoUy7v84xwiQD-MBAT2Wn3xGpM7XcJQnu0iPC-9Y08SddCXRaDq0cpNzHQ41JdCDESHNPs0T5nbrZlMjnuF0RebDBHuEwG87yg3R0e8nvwU2V3WqiksyBSYZmU6NRmHJ9NN_BxmguxFjYLhmp-5pf7go8zMLJexr97AToY4rYIuffA87V6yjj2K30zPYcqs-ffUXw2BjsCdVDfw_lTGaQbWYFwWcB3SNjirx9Wv2Qyi481uXktaFUg8xwMZEkl-XM9qTI-5sMqrRTIUfSc", "Name": "at-acbuk"}, {"Value": "vM7djzlccRphAgNd/CEdwDN7463lnFkxl6nR2K1x9pY=", "Name": "sess-at-acbuk"}, {"Value": "AEFd38D1cI4/cD6tvsF8scgnDH1mVWOVTdrn6fuPO9GqUbxbEJ8QrvEysbWpJFcOKxOC4uJm1xsLcvqbOS/AVcZJmrUALZOUHsqxfpfLxX8qjnBF0JDjA9q4uzIlAAbe1g9iq7kZXZxD08hSRPh1+EixMDwsO/wCSRsqSUFSECD0Cbtfsgb9Q9terYgiB2s5CHzUXip4aM9IsKhA5yUOIiXcRE4rBvuxzpKloZNSlIJywEmPuCOfUE1UxpxPWJsg+Nv2f3LsMyOX8KIqdhvIfzLKfLxGiWWbtIBfTak+QPFMet49B962rewnWnRjms3Lv9TFWgWadzRBTVX67d6sFdHWDZsk3ZOKoTN6LXIs2pVT7W9q88lkdhI8wzQIW9dd9zY6g8TiUa4mn/+YhiGao9N/ID7ar+94Tg==", "Name": "frc"}, {"Value": "eyJkZXZpY2VfdXNlcl9kaWN0aW9uYXJ5IjpbXSwiZGV2aWNlX3JlZ2lzdHJhdGlvbl9kYXRhIjp7InNvZnR3YXJlX3ZlcnNpb24iOiIxIn0sImFwcF9pZGVudGlmaWVyIjp7ImFwcF92ZXJzaW9uIjoiMi4yLjIyMzgzMCIsImJ1bmRsZV9pZCI6ImNvbS5hbWF6b24uZWNobyJ9fQ==", "Name": "map-md"}], "domain": ".amazon.co.uk"}, "registration_data": {"domain": "Device", "app_version": "2.2.223830.0", "device_type": "A2IVLV5VM2W81", "device_name": "%FIRST_NAME%'s%DUPE_STRATEGY_1ST%Alexa Media Player", "os_version": "11.4.1", "device_serial": "5171d65eae10956d2e0fee3b1ee0ea9e", "device_model": "iPhone", "app_name": "Alexa Media Player", "software_version": "1"}, "auth_data": {"access_token": "Atna|EwICIO7JY-0YBmQWjz4kgYntXQPLn8-8HPYOTVI63j1k5rBukqG1kWyQfeLSoFdeEfiDGuaqwTnlITDAGpskZqf5Tr-xONBAQmbKyaARljRD-Fby5QyblpvMm71BCki53O1fyc-6GOMs9LKVNNkXRq14No1XbbdMdr8mkhzDddp7IL9GbtksuHs1jbtaFZ1mZAXrvImpGXGJAbFH0yAMHYZPRppCU5N2burWZbDbPsL-vOI5kX-e3dV7ppNM4Rzw9eRDgA-1x98xhJ6q_xV4-cV4zSsS"}, "user_context_map": {"frc": "AEFd38D1cI4/cD6tvsF8scgnDH1mVWOVTdrn6fuPO9GqUbxbEJ8QrvEysbWpJFcOKxOC4uJm1xsLcvqbOS/AVcZJmrUALZOUHsqxfpfLxX8qjnBF0JDjA9q4uzIlAAbe1g9iq7kZXZxD08hSRPh1+EixMDwsO/wCSRsqSUFSECD0Cbtfsgb9Q9terYgiB2s5CHzUXip4aM9IsKhA5yUOIiXcRE4rBvuxzpKloZNSlIJywEmPuCOfUE1UxpxPWJsg+Nv2f3LsMyOX8KIqdhvIfzLKfLxGiWWbtIBfTak+QPFMet49B962rewnWnRjms3Lv9TFWgWadzRBTVX67d6sFdHWDZsk3ZOKoTN6LXIs2pVT7W9q88lkdhI8wzQIW9dd9zY6g8TiUa4mn/+YhiGao9N/ID7ar+94Tg=="}, "requested_token_type": ["bearer", "mac_dms", "website_cookies"]}
2021-03-13 11:58:23 DEBUG (MainThread) [alexapy.alexalogin] Successfully registered apt's 3rd Alexa Media Player device with Amazon
2021-03-13 11:58:23 DEBUG (MainThread) [alexapy.alexalogin] New access token received which expires at 2021-03-13 12:58:23.741998 in 0:59:59.999976
2021-03-13 11:58:25 DEBUG (MainThread) [alexapy.alexalogin] 5 cookies successfully exchanged for refresh token for domain .amazon.co.uk
2021-03-13 11:58:26 DEBUG (MainThread) [alexapy.alexalogin] CSRF already exists; no need to discover
2021-03-13 11:58:26 DEBUG (MainThread) [alexapy.alexalogin] GET:
https://alexa.amazon.com/api/bootstrap returned 200:OK with response <CIMultiDictProxy('Content-Type': 'application/json', 'Content-Length': '133', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sat, 13 Mar 2021 11:58:26 GMT', 'x-amz-rid': 'S0BATSK1KT26XR6WBBNA', 'x-amzn-RequestId': '235e4f83-ec1c-4d3f-9aa9-dc8e583cf555', 'x-amzn-alt-domain': 'https://alexa.amazon.co.uk/logout', 'Content-Encoding': 'gzip', 'x-amzn-ActionTrace': 'amzn1.tr.3c62a059-2eae-11e6-8dc8-0a59c57a0200.1279.Dlv8Xw.RiMLFK', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 1d6a59dd8d58fe552d5643e843d187e8.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'LHR62-C3', 'X-Amz-Cf-Id': 'b1QSC0s0evjdd8Tt0eBA3vfVdEYuIf-VYFNkWGBxLPJlW6eah_jtnQ==')>
2021-03-13 11:58:27 DEBUG (MainThread) [alexapy.alexalogin] GET:
https://alexa.amazon.co.uk/api/bootstrap returned 200:OK with response <CIMultiDictProxy('Content-Type': 'application/json', 'Content-Length': '133', 'Connection': 'keep-alive', 'Server': 'Server', 'Date': 'Sat, 13 Mar 2021 11:58:27 GMT', 'x-amz-rid': '3XRP2HB8XS95YA3ETXYK', 'x-amzn-RequestId': '67c3a8db-411d-4d09-b952-a545a530c4a9', 'Content-Encoding': 'gzip', 'Vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 b8a2d5a6ce8c091b497397f77c25cff6.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'LHR62-C5', 'X-Amz-Cf-Id': 'I8CAe5zLYaLs3ZMYwc3y0xvj1ArqJO_s2Oz1fEVYaHr54KKIbZKVmQ==')>
2021-03-13 11:58:27 DEBUG (MainThread) [alexapy.alexalogin] Logged in as ******@******.*** to amazon.co.uk with id: ALVQVF6ZUSBBA
2021-03-13 11:58:28 DEBUG (MainThread) [alexapy.alexalogin] Domain amazon.co.uk matches reported account domain: https://www.amazon.co.uk
2021-03-13 11:58:28 DEBUG (MainThread) [alexapy.alexalogin] Login confirmed for ******@******.*** - amazon.co.uk; saving cookie to /config/.storage/alexa_media.******@******.***.pickle
2021-03-13 11:58:28 DEBUG (MainThread) [custom_components.alexa_media] Testing login status: {'login_successful': True}
2021-03-13 11:58:28 DEBUG (MainThread) [custom_components.alexa_media] Setting up Alexa devices for ******@******.***
2021-03-13 11:58:28 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Websocket created: <alexapy.alexawebsocket.WebsocketEchoClient object at 0x7fabc0a28670>
2021-03-13 11:58:28 DEBUG (MainThread) [alexapy.alexawebsocket] Connecting to wss://dp-gw-na.amazon.co.uk/?x-amz-device-type=ALEGCNGL9K0HM&x-amz-device-serial=-1615636708000 with {'User-Agent': 'AmazonWebView/Alexa Media Player/2.2.223830.0/iOS/11.4.1/iPhone', 'Accept': '*/*', 'Accept-Language': '*', 'DNT': '1', 'Upgrade-Insecure-Requests': '1', 'Referer': 'https://alexa.amazon.co.uk/api/bootstrap', 'authority': 'www.amazon.co.uk', 'Origin': 'https://alexa.amazon.co.uk'}
2021-03-13 11:58:28 DEBUG (MainThread) [alexapy.alexawebsocket] Initating Async Handshake.
2021-03-13 11:58:28 DEBUG (MainThread) [alexapy.alexawebsocket] Starting message parsing loop.
2021-03-13 11:58:28 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: 0x37a3b607 0x0000009c {"protocolName":"A:H","parameters":{"AlphaProtocolHandler.maxFragmentSize":"16000","AlphaProtocolHandler.receiveWindowSize":"16"}}TUNE
2021-03-13 11:58:29 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding WebSocket Handshake MSG.
2021-03-13 11:58:29 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Handshake MSG.
2021-03-13 11:58:29 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding Gateway Register MSG.
2021-03-13 11:58:29 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000361 0x1fbc49bd f 0x00000001 0xf8b5f4b5 0x000000b9 ACK 0x00000003 1.0 0x00000024 01e09e62-f504-476c-85c8-9c97c8da26ed 0x00000064 0x0000016978ff598c 0x000001782b73bf68 END FABE
2021-03-13 11:58:29 DEBUG (MainThread) [alexapy.alexawebsocket] Received ACK MSG for Registration.
2021-03-13 11:58:29 DEBUG (MainThread) [alexapy.alexawebsocket] Encoding PING.
2021-03-13 11:58:29 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Websocket successfully connected
2021-03-13 11:58:29 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Creating coordinator
2021-03-13 11:58:29 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Refreshing coordinator
2021-03-13 11:58:31 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/dnd/device-status-list returned 200:OK:application/json
2021-03-13 11:58:31 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/bluetooth?cached=false returned 200:OK:application/json
2021-03-13 11:58:57 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1febe809 f 0x00000001 0x995cb04b 0x00000233 GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636737368,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"bass\":0,\"midrange\":0,\"treble\":0}","command":"PUSH_EQUALIZER_STATE_CHANGE"}FABE
2021-03-13 11:58:57 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 11:58:57 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_EQUALIZER_STATE_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'bass': 0, 'midrange': 0, 'treble': 0}
2021-03-13 11:58:57 DEBUG (MainThread) [custom_components.alexa_media] Adding PUSH_EQUALIZER_STATE_CHANGE to seen_commands: {}
2021-03-13 11:58:57 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 11:58:57 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/bootstrap returned 200:OK:application/json
2021-03-13 11:58:58 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/devices-v2/device returned 200:OK:application/json
2021-03-13 11:58:58 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/device-preferences returned 200:OK:application/json
2021-03-13 11:58:59 WARNING (MainThread) [alexapy.helpers] alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 11:58:59 WARNING (MainThread) [alexapy.helpers] alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 11:58:59 WARNING (MainThread) [alexapy.helpers] alexaapi.get_authentication((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 11:58:59 ERROR (MainThread) [custom_components.alexa_media] Error fetching alexa_media data: Error communicating with API:
2021-03-13 11:58:59 DEBUG (MainThread) [custom_components.alexa_media] Finished fetching alexa_media data in 30.004 seconds
2021-03-13 11:59:27 WARNING (MainThread) [alexapy.helpers] alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 11:59:27 WARNING (MainThread) [alexapy.helpers] alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] Finished fetching alexa_media data in 30.005 seconds
2021-03-13 11:59:27 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x20032a1a f 0x00000001 0xf6b5831b 0x0000022a GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636737372,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"volumeSetting\":47,\"isMuted\":false}","command":"PUSH_VOLUME_CHANGE"}FABE
2021-03-13 11:59:27 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_VOLUME_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'volumeSetting': 47, 'isMuted': False}
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] Adding PUSH_VOLUME_CHANGE to seen_commands: {'PUSH_EQUALIZER_STATE_CHANGE': 1615636737.4386601}
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 11:59:27 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1fc4e49b f 0x00000001 0x965ca654 0x00000233 GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636739562,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"bass\":0,\"midrange\":0,\"treble\":0}","command":"PUSH_EQUALIZER_STATE_CHANGE"}FABE
2021-03-13 11:59:27 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_EQUALIZER_STATE_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'bass': 0, 'midrange': 0, 'treble': 0}
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 11:59:27 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1f6b026c f 0x00000001 0x29b18a29 0x0000022a GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636739562,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"volumeSetting\":47,\"isMuted\":false}","command":"PUSH_VOLUME_CHANGE"}FABE
2021-03-13 11:59:27 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_VOLUME_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'volumeSetting': 47, 'isMuted': False}
2021-03-13 11:59:27 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 11:59:37 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/bootstrap returned 200:OK:application/json
2021-03-13 11:59:37 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/devices-v2/device returned 200:OK:application/json
2021-03-13 11:59:38 DEBUG (MainThread) [alexapy.alexaapi] ******@******.***: static GET: https://alexa.amazon.co.uk/api/device-preferences returned 200:OK:application/json
2021-03-13 11:59:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1fd0ae29 f 0x00000001 0x6b54dd4e 0x00000233 GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636799722,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"bass\":0,\"midrange\":0,\"treble\":0}","command":"PUSH_EQUALIZER_STATE_CHANGE"}FABE
2021-03-13 11:59:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 11:59:59 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_EQUALIZER_STATE_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'bass': 0, 'midrange': 0, 'treble': 0}
2021-03-13 11:59:59 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 11:59:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1fdc91b6 f 0x00000001 0xffb69682 0x0000022a GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636799729,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"volumeSetting\":47,\"isMuted\":false}","command":"PUSH_VOLUME_CHANGE"}FABE
2021-03-13 11:59:59 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 11:59:59 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_VOLUME_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'volumeSetting': 47, 'isMuted': False}
2021-03-13 11:59:59 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 12:00:01 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1fe76671 f 0x00000001 0x6530a74c 0x00000233 GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636801284,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"bass\":0,\"midrange\":0,\"treble\":0}","command":"PUSH_EQUALIZER_STATE_CHANGE"}FABE
2021-03-13 12:00:01 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 12:00:01 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_EQUALIZER_STATE_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'bass': 0, 'midrange': 0, 'treble': 0}
2021-03-13 12:00:01 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 12:00:01 DEBUG (MainThread) [alexapy.alexawebsocket] Received WebSocket: MSG 0x00000362 0x1f6b677e f 0x00000001 0x28bb8a22 0x0000022a GWM MSG 0x0000b479 0x0000005c urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon 0x0000006d urn:tcomm-endpoint:device:customerId:ALVQVF6ZUSBBA:deviceType:ALEGCNGL9K0HM:deviceSerialNumber:-1615636708000 {"timeStamp":1615636801290,"payload":"{\"destinationUserId\":\"ALVQVF6ZUSBBA\",\"dopplerId\":{\"deviceType\":\"A3S5BH2HU6VAYF\",\"deviceSerialNumber\":\"G090LF0964540BWH\"},\"volumeSetting\":47,\"isMuted\":false}","command":"PUSH_VOLUME_CHANGE"}FABE
2021-03-13 12:00:01 DEBUG (MainThread) [alexapy.alexawebsocket] Received Standard MSG.
2021-03-13 12:00:01 DEBUG (MainThread) [custom_components.alexa_media] ******@******.***: Received websocket command: PUSH_VOLUME_CHANGE : {'destinationUserId': 'A*********BBA', 'dopplerId': {'deviceType': 'A3S5BH2HU6VAYF', 'deviceSerialNumber': 'G************BWH'}, 'volumeSetting': 47, 'isMuted': False}
2021-03-13 12:00:01 DEBUG (MainThread) [custom_components.alexa_media] Discovered new media_player G090LF0964540BWH
2021-03-13 12:00:07 WARNING (MainThread) [alexapy.helpers] alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 12:00:07 WARNING (MainThread) [alexapy.helpers] alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0x7fabc46bcf70>,), {}): Timeout error occured accessing AlexaAPI: An exception of type CancelledError occurred. Arguments:
()
2021-03-13 12:00:07 DEBUG (MainThread) [custom_components.alexa_media] Finished fetching alexa_media data in 30.004 seconds
2021-03-13 12:00:08 DEBUG (MainThread) [custom_components.alexa_media] Completing remaining startup tasks.
Additional context Add any other context about the problem here.
N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:17
Top GitHub Comments
Yah 3.8.5 didn’t do anything related to the connection.
The issue has received no activity for 60 days and will be closed in a week.