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

TP-Link integration not loading #355

Open
mikefrantz opened this issue Jan 8, 2025 · 0 comments
Open

TP-Link integration not loading #355

mikefrantz opened this issue Jan 8, 2025 · 0 comments

Comments

@mikefrantz
Copy link

Problem

When updating to the new HA version from 2024.12.x to 20251.x the tp-link will not load. Failed setup, will retry: Timeout exception. If you get a lot of these see https://github.com/amosyuen/ha-tplink-deco#timeout-error.

TP-Link Deco Version

3.6.3

Router Model

Deco x55

Debugging Information

This error originated from a custom integration.

Logger: custom_components.tplink_deco.coordinator
Source: helpers/update_coordinator.py:379
integration: TP-Link Deco (documentation, issues)
First occurred: 7:13:54 AM (8 occurrences)
Last logged: 7:29:30 AM

Unexpected error fetching tplink_deco-decos data
Unexpected error fetching tplink_deco-clients data
Traceback (most recent call last):
File "/config/custom_components/tplink_deco/api.py", line 409, in _async_post
response = await self._session.post(
^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 730, in _request
await resp.start(conn)
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1059, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 671, in read
await self._waiter
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/config/custom_components/tplink_deco/api.py", line 408, in _async_post
async with async_timeout.timeout(self._timeout_seconds):
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/async_timeout/init.py", line 141, in aexit
self._do_exit(exc_type)
~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/async_timeout/init.py", line 228, in _do_exit
raise asyncio.TimeoutError
TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_deco/coordinator.py", line 167, in _async_update_data
new_decos = await async_call_and_propagate_config_error(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.api.async_list_devices
^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/config/custom_components/tplink_deco/coordinator.py", line 48, in async_call_and_propagate_config_error
return await func(*args)
^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_deco/api.py", line 166, in async_list_devices
return await self._async_call_with_retry(self._async_list_devices)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_deco/api.py", line 557, in _async_call_with_retry
raise err
File "/config/custom_components/tplink_deco/api.py", line 544, in _async_call_with_retry
return await func(*args)
^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_deco/api.py", line 173, in _async_list_devices
response_json = await self._async_post(
^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
File "/config/custom_components/tplink_deco/api.py", line 445, in _async_post
raise TimeoutException from err
custom_components.tplink_deco.exceptions.TimeoutException: Timeout exception. If you get a lot of these see https://github.com/amosyuen/ha-tplink-deco#timeout-error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant