-
Notifications
You must be signed in to change notification settings - Fork 302
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
problem to reconfigure integration/authentication #2593
Comments
Did you upgrade to 4.13.3, then Redownload 4.13.2? |
No, I’m using 4.13.2 |
Delete integration, restart, re-add-integration. |
What I've found so far (fellow italian user speaking): as long as you just read sensors (for instance temperature, next alarm, etc) it works fine. As soon as you send a command to the device (be it media player or a vocal input), something breaks and it asks to be reconfigured just as you showed. I've tried everything: delete and re-add, re-authenticate in every way possible, but no luck so far. As I understand, it's an issue limited to amazon.it domain (and maybe some others). We'll wait and hope in further updates... |
klingklang76, are you using Pihole and it is blocking api.amazonalexa.com and xxxxxx.cloudfront.net ? |
@DariusVaitkus I guess not, since I don't know what you're talking about :) |
I done again alexa integration, and now seems to be ok, but I’m not able to control my echo dot; in logs I found this: 2024-10-06 21:59:29.222 DEBUG (MainThread) [alexapy.alexaapi] d******i@gm:Login error detected; ignoring post request to /api/np/command with {‘type’: ‘PlayCommand’} {‘deviceSerialNumber’: ‘G0922H0725120SFN’, ‘deviceType’: ‘A4ZXE0RM7LQ7A’} |
Hi, Registratore: alexapy.helpers
Registratore: alexapy.helpers
|
I can repport that i have the same issues with reconfigure, and configure from scratch |
i have same issue, can't set it again 2024-10-12 19:36:17.849 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7fa965091050>, '/usr/local/lib/python3.12/site-packages/certifi/cacert.pem', None, None) inside the event loop by custom integration 'alexa_media' at custom_components/alexa_media/config_flow.py, line 280: self.login = AlexaLogin( (offender: /usr/local/lib/python3.12/ssl.py, line 708: context.load_verify_locations(cafile, capath, cadata)), please create a bug report at https://github.com/alandtse/alexa_media_player/issues 2024-10-12 19:36:28.005 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7fa9600edad0>,) inside the event loop by custom integration 'alexa_media' at custom_components/alexa_media/config_flow.py, line 374: self.proxy = AlexaProxy( (offender: /usr/local/lib/python3.12/site-packages/httpx/_config.py, line 149: context.load_verify_locations(cafile=cafile)), please create a bug report at https://github.com/alandtse/alexa_media_player/issues 2024-10-12 19:42:49.732 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args (PosixPath('/config/.storage/[email protected]'),) inside the event loop by custom integration 'alexa_media' at custom_components/alexa_media/config_flow.py, line 420: if await self.login.test_loggedin(): (offender: /usr/local/lib/python3.12/site-packages/aiohttp/cookiejar.py, line 121: with file_path.open(mode="wb") as f:), please create a bug report at https://github.com/alandtse/alexa_media_player/issues 2024-10-12 19:42:49.825 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args (PosixPath('/config/.storage/[email protected]'),) inside the event loop by custom integration 'alexa_media' at custom_components/alexa_media/init.py, line 361: await login.login(cookies=await login.load_cookie()) (offender: /usr/local/lib/python3.12/site-packages/aiohttp/cookiejar.py, line 126: with file_path.open(mode="rb") as f:), please create a bug report at https://github.com/alandtse/alexa_media_player/issues 2024-10-12 19:42:57.462 WARNING (MainThread) [alexapy.helpers] alexaapi.get_customer_history_records((<alexapy.alexalogin.AlexaLogin object at 0x7fa94f8376e0>,), {'max_record_size': 10}): An error occurred accessing AlexaAPI: An exception of type AlexapyLoginError occurred. Arguments: |
Same problem here with amazon.it |
Ciao, i am having problem with amazon.it here #2558 please check if is same or different issue, i re.configured the intergration but have no device shown up |
Same problem with amazon.it _
_ |
The same for me! |
Same problem. |
Same problem, 15 minutes after configuration/re-configuration stop to work. Can we get this issue scaled up? |
Yes, polling can be problematic. As per alexa-remote2 it now cannot be any more frequent than every 5 minutes or it raises "TooManyRequests" error. |
Worked now for me |
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 found alexa media player not configured; then I tried to configure again but I found a new form: tried to supply data many times, but integration is always not working. howto I can supply information in second and third value?
To Reproduce
Expected behavior
integration working fine; no re-authentication request; what I have to insert in second and thir value? device to add and device not to add?
what means error:
AlexaAPI: An exception of type TypeError occurred. Arguments:
('can only concatenate str (not "NoneType") to str',)
I use HASSOS, I'm not able to install/update alexapy module...I don't have pip3 available...
System details
const.py
or HA startup log): 4.13.2pip show alexapy
in homeasssistant container or HA startup log): I don't have pip tool availableDebug Logs (alexa_media & alexapy)
2024-10-05 14:37:32.289 DEBUG (MainThread) [custom_components.alexa_media.helpers] di@gm: Returning uuid {'uuid': '268d2309eb7b7db11ecdb201b0c911e3', 'index': 0}
2024-10-05 14:37:32.326 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for H******************************************D2A
2024-10-05 14:37:32.327 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP 966056
2024-10-05 14:37:32.327 DEBUG (MainThread) [alexapy.alexalogin] Login created for [email protected] - amazon.it
2024-10-05 14:37:32.330 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from /config/.storage/[email protected]
2024-10-05 14:37:32.330 DEBUG (MainThread) [alexapy.alexalogin] Trying to load cookie from file /config/.storage/[email protected]
2024-10-05 14:37:32.339 DEBUG (MainThread) [alexapy.alexalogin] Trying to load aiohttpCookieJar to session
2024-10-05 14:37:32.351 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from /config/[email protected]
2024-10-05 14:37:32.352 DEBUG (MainThread) [alexapy.alexalogin] Searching for cookies from /config/.storage/[email protected]
2024-10-05 14:37:32.352 DEBUG (MainThread) [alexapy.alexalogin] Using credentials to log in
2024-10-05 14:37:32.352 DEBUG (MainThread) [alexapy.alexalogin] Attempting oauth login to https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:323638643233303965623762376462313165636462323031623063393131653332333431333234393536346335363335353634643332353733383331&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=code&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&openid.oa2.code_challenge_method=S256&openid.oa2.code_challenge=jTRCQHzjPbr_n_zvxBFTX_oTbCDASrGaTpLi78c2eDs&language=it_IT
2024-10-05 14:37:32.352 DEBUG (MainThread) [alexapy.alexalogin] Loaded last request to https://www.amazon.com/ap/register
2024-10-05 14:37:32.353 DEBUG (MainThread) [alexapy.alexalogin] Processing https://www.amazon.com/ap/register
2024-10-05 14:37:32.419 WARNING (MainThread) [alexapy.helpers] alexalogin.login((<alexapy.alexalogin.AlexaLogin object at 0x7fc40edda8d0>,), {'cookies': {}}): An error occurred accessing AlexaAPI: An exception of type TypeError occurred. Arguments:
('can only concatenate str (not "NoneType") to str',)
Additional context
Hassos 2024.10.1 on VM
The text was updated successfully, but these errors were encountered: