Skip to content
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

Yale / August times out when ipv6 is enabled #97146

Closed
ulfendk opened this issue Jul 24, 2023 · 4 comments · Fixed by #98003
Closed

Yale / August times out when ipv6 is enabled #97146

ulfendk opened this issue Jul 24, 2023 · 4 comments · Fixed by #98003
Assignees
Labels
integration: august waiting-for-upstream We're waiting for a change upstream

Comments

@ulfendk
Copy link

ulfendk commented Jul 24, 2023

The problem

My integration failed some days ago. I tried to set it up again by removing it first.

I am unable to log in using both email and phone. The login is tested and works in the Yale Home app.

What version of Home Assistant Core has the issue?

core-2023.7.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

August

Link to integration documentation on our website

https://www.home-assistant.io/integrations/august

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/august/config_flow.py", line 245, in _async_auth_or_validate
    info = await async_validate_input(user_auth_details, gateway)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/august/config_flow.py", line 51, in async_validate_input
    await august_gateway.async_authenticate()
  File "/usr/src/homeassistant/homeassistant/components/august/gateway.py", line 104, in async_authenticate
    self.authentication = await self.authenticator.async_authenticate()
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/yalexs/authenticator_async.py", line 81, in async_authenticate
    response = await self._api.async_get_session(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/yalexs/api_async.py", line 82, in async_get_session
    return await self._async_dict_to_api(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/yalexs/api_async.py", line 374, in _async_dict_to_api
    response = await self._aiohttp_session.request(method, url, **api_dict)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 467, in _request
    with timer:
  File "/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
TimeoutError

Additional information

No response

@home-assistant
Copy link

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (august) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of august can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign august Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


august documentation
august source
(message by IssueLinks)

@Perrylicious
Copy link

Perrylicious commented Jul 26, 2023

I can confirm the above - just had a power outage and had to re-connect. App access works, but API access via Home Assistant integration times out with "Unexpected error" in the frontend and similar logs to the above.

@bdraco
Copy link
Member

bdraco commented Jul 26, 2023

disable ipv6 until aio-libs/aiohttp#4451 is fixed

@Perrylicious
Copy link

Perrylicious commented Jul 26, 2023

disable ipv6 until aio-libs/aiohttp#4451 is fixed

Thank you very much for the reply and workaround <3

@bdraco bdraco changed the title Yale Home not working anymore Yale / August times out when ipv6 is enabled Aug 7, 2023
@bdraco bdraco added the waiting-for-upstream We're waiting for a change upstream label Aug 7, 2023
bdraco added a commit that referenced this issue Aug 7, 2023
fixes #97146

This problem keeps coming up over and over again and
its likely aio-libs/aiohttp#4451 will
not be solved anytime soon
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
integration: august waiting-for-upstream We're waiting for a change upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants