Closed kevinahuber closed 1 year ago
Hey there @natekspencer, @tkdrob, mind taking a look at this issue as it has been labeled with an integration (litterrobot
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
litterrobot documentation litterrobot source (message by IssueLinks)
I'm not seeing anything here that indicates a problem with the litterrobot integration specifically aside from not catching the asyncio.TimeoutError
. It looks like it times out on the request
during login, which usually indicates some type of network issue. Do you have a firewall or adblocker or anything like that your HA instance is configured with or behind?
Nothing profound, currently. Great question! Audited all of my network settings. The only thing I can think of is that I removed a network install of Pihole that had diagnostics sent to HA around the time things went sour with litterrobot. There might be a thread there 🤔
I've added a handful of integrations that have needed auth since without issue. Are there any alternate config flows or ways to increase the logs??
Pi-hole has caused problems for me personal in the past. I moved to AdGuard which seems to work better and has other features that Pi-hole does not.
No alternate config flow, they'd still end up making the same call anyway. The timeout is occurring in the aiohttp module, so you may be able to enable logs for that, but I'm not sure if that will work or how much that will help. You could try running the pylitterbot module directly on another computer to see if it all works fine. Or see if a trusted friend on another HA instance has issues with your account as well to help try and isolate the problem.
@natekspencer Finally got around to testing! I am able to call the app- authenticated and ran a clean cycle. Same network, different machine and not through home assistant. So it's something with my HA 🤔
I also got a Feeder Robot, but this started happening before I added that.
I also made a different account with no robots, that also has a timeout while authenticating through HA.
@kevinahuber another project I saw that had networking issues was due to ipv6. Might be worth checking out if your HA is configured for ipv6 and if that is interfering somehow?
@natekspencer disabled it ip6 and it works again! Interesting 🤔 but works for me for now, closing
IPv6 can cause issues like that as there is no direct way for it to communicate with IPv4. At my job, we disable it whenever we hear about connectivity issues like that.
The problem
Howdy! A month or so ago my litter robot integration produced an error (not recorded). In troubleshooting I removed the integration, and since have been unable to reauthenticate.
When entering incorrect credentials, the integration quickly returns an invalid credentials error. When entering the correct credentials, the integration spins for ~ 60s and then returns an unknown error, logs below.
✅ My credentials work with the Whisker App and Website, reset them and removed any potentially troublesome characters ❌ Restarted, no change ❌ No instances of litterrobot in my configuration.yaml ❌ Wiped my recorder db, no change
What version of Home Assistant Core has the issue?
2022.12.0
What was the last working version of Home Assistant Core?
2022.10
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Litter Robot
Link to integration documentation on our website
https://www.home-assistant.io/integrations/litterrobot/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response