home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.6k stars 29.92k forks source link

Litter-Robot timing out and now unable to register after removing and trying to add it again #84826

Closed bagobones closed 1 year ago

bagobones commented 1 year ago

The problem

Was having issues with the integration timing out, tried removing it, restarting and adding it. Now I get Unexpected Time out.

What version of Home Assistant Core has the issue?

core-2022.12.8

What was the last working version of Home Assistant Core?

core-2022.12.7

What type of installation are you running?

Home Assistant Container

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?

2022-12-29 20:11:10.048 ERROR (MainThread) [homeassistant.components.litterrobot.config_flow] Unexpected exception: 
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/litterrobot/config_flow.py", line 86, in _async_validate_input
    await account.connect(
  File "/usr/local/lib/python3.10/site-packages/pylitterbot/account.py", line 68, in connect
    await self.session.login(username=username, password=password)
  File "/usr/local/lib/python3.10/site-packages/pylitterbot/session.py", line 178, in login
    data = await self.post(
  File "/usr/local/lib/python3.10/site-packages/pylitterbot/session.py", line 46, in post
    return await self.request("POST", path, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/pylitterbot/session.py", line 212, in request
    return await super().request(method, url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/pylitterbot/session.py", line 80, in request
    async with self.websession.request(method, url, **kwargs) as resp:
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 466, in _request
    with timer:
  File "/usr/local/lib/python3.10/site-packages/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError

Additional information

Mobile app and website seem to be working fine with the same credentials.

home-assistant[bot] commented 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!

Code owner commands Code owners of `litterrobot` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign litterrobot` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


litterrobot documentation litterrobot source (message by IssueLinks)

natekspencer commented 1 year ago

Check that ipv6 is disabled in your HA instance.

bagobones commented 1 year ago

Looks like my docker host did get assigned a IPv6 address during a recent firewall change. Interesting that it did not kill other integrations