-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
Total Connect - add integration user/pass returns "Unknown error occurred" or "invalid flow specified" #116462
Comments
Hey there @austinmroczek, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) totalconnect documentation |
I noticed a 404 error at the bottom of the error log. Interestingly for if I try to reach https://schemas.xmlsoap.org/soap/envelope/ on my browser I do get a response, but if I try to reach https://schemas.xmlsoap.org/soap/encoding I get the 404. I don't know if this is related. |
I am also seeing this issue. Logs from active integration:
Logs from deleting the integration and trying to re-add it (which fails):
|
It seems the website is just not responding. Looks like a website configuration error. The TotalConnect integration depends on I created an issue at craigjmidwinter/total-connect-client#223 to track progress. |
Yeah I looked to see if I could figure out what or why it was, maybe a regional dns thing, but I didn't get anywhere. Either way, thanks for your help Austin, you were the one that helped me get this started four years ago and it's worked basically flawless ever since. I appreciate it! |
For me it only started with 2024.5.0. When I reverted to 2024.4.4 , the Total Connect integration connected normally. |
@tbclark3 I'm still on 2024.4.4 (never upgraded to 2024.5.0) so I think the reload after upgrade when it tried to re-authenticate is your failure point, not the version. |
I don't think so. While running 2024.5.0 I reloaded multiple times, each resulting in the same failure, so then I deleted the integration and was unable to add it back. When I reverted to 2024.4.4, I was able to re-add it on the first try and it worked correctly on the first try. |
Based on austinmroczek's analysis of the issue, it is odd you can connect on either version. I would start to suspect some sort of caching taking place. What happens when you visit https://schemas.xmlsoap.org/soap/encoding/ from your network? |
Using curl (so I don't think it's caching) I am getting seemingly random responses--about 50% 404 and 50% legitimate xml. The site has a rather convoluted set of DNS records: schemas.xmlsoap.org is an alias for schemaspublic.z01.azurefd.net. However, I tested each of the actual hosts, and all (?both) are returning errors at random. |
Having the same issue, both with 2024.4.4 and 2024.5.0, getting the 404, I did notice https://status.resideo.com/ reporting degraded performance on May 1, but the Total Connect 2 mobile app works fine, so not sure if this is related. Reloading keeps failing. Please help. |
Just reloaded and it worked. https://schemas.xmlsoap.org/soap/encoding/ is loading now, so 404 appears to be resolved. |
I can also confirm that I was able to install the add-on successfully now. But this exposes a weakness in the design so I would still be interested in the fix to localize the code dependency. |
The problem
It started yesterday with a failed to connect error. I removed the integration to set it up again and now I’m getting an “Unknown error” (sometimes it just closes the dialog box, returns a blank dialog box and other times its an “invalid flow specified” error) when I put in my credentials (which do work on the TC 2.0 app and the website).
At first I thought it was a server error on the Total Connect side, but I suspect there might be an issue with the integration as I’m seeing a long “[aiohttp.server] Error handling request” error dump on the logs whenever I try to add the integration again.
What version of Home Assistant Core has the issue?
core-2024.4.4
What was the last working version of Home Assistant Core?
core-2024.4.3
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Total Connect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/totalconnect/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: