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
70.53k stars 29.46k forks source link

withings integration not loading #108304

Closed wvdb0 closed 3 months ago

wvdb0 commented 7 months ago

The problem

for a couple of months the withings integration no longer shows accounts and data

What version of Home Assistant Core has the issue?

core-2024.1.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

No response

Link to integration documentation on our website

No response

Diagnostics information

2024-01-18 16:46:33.588 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings workout data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 264, in _internal_update_data
    workouts = await self._client.get_workouts_in_period(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 338, in get_workouts_in_period
    return await self._get_workouts(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 314, in _get_workouts
    response = await self._request(
               ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:46:35.710 WARNING (MainThread) [custom_components.sonoff.core.ewelink.cloud] Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1001d4d49b', 'apikey': '69d00e4c-fed9-4e71-80fa-6dc9c9f09fb6', 'sequence': '1705592790000'}
2024-01-18 16:46:49.065 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings goals data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 202, in _internal_update_data
    return await self._client.get_goals()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 153, in get_goals
    response = await self._request("v2/user", data={"action": "getgoals"})
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:46:53.141 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Timeout resolving OAuth token: 
2024-01-18 16:47:09.719 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings activity data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 225, in _internal_update_data
w    activities = await self._client.get_activities_in_period(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 299, in get_activities_in_period
    return await self._get_activities(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 275, in _get_activities
    response = await self._request(
               ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:47:11.929 WARNING (MainThread) [homeassistant.components.automation.beweging_keuken] Beweging keuken: Already running
2024-01-18 16:47:22.021 ERROR (MainThread) [homeassistant.config_entries] Error calling entry remove callback Withings for withings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 601, in async_remove
    await component.async_remove_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 354, in async_remove_entry
    await cloud.async_delete_cloudhook(hass, entry.data[CONF_WEBHOOK_ID])
  File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 217, in async_delete_cloudhook
    await hass.data[DOMAIN].cloudhooks.async_delete(webhook_id)
  File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/cloudhooks.py", line 72, in async_delete
    raise ValueError("Hook is not enabled for the cloud.")
ValueError: Hook is not enabled for the cloud.
2024-01-18 16:47:26.311 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_68_130] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://192.168.68.130:4554/stream
2024-01-18 16:47:28.198 ERROR (MainThread) [custom_components.tplink_deco.coordinator] Unexpected error fetching tplink_deco-clients data: Timeout exception. If you get a lot of these see https://github.com/amosyuen/ha-tplink-deco#timeout-error. 
Traceback (most recent call last):
  File "/config/custom_components/tplink_deco/api.py", line 409, in _async_post
    response = await self._session.post(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 601, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 965, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 622, 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.11/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.11/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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/coordinator.py", line 246, in _async_update_data
    deco_client_responses = await asyncio.gather(
                            ^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/coordinator.py", line 47, in async_call_and_propagate_config_error
    return await func(*args)
           ^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/api.py", line 221, in async_list_clients
    return await self._async_call_with_retry(self._async_list_clients, deco_mac)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 228, in _async_list_clients
    response_json = await self._async_post(
                    ^^^^^^^^^^^^^^^^^^^^^^^
  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. 
2024-01-18 16:47:33.652 WARNING (MainThread) [homeassistant.components.automation.beweging_zijgang] Beweging zijgang: Already running
2024-01-18 16:47:41.849 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings activity data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 225, in _internal_update_data
    activities = await self._client.get_activities_in_period(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 299, in get_activities_in_period
    return await self._get_activities(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 275, in _get_activities
    response = await self._request(
               ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:47:47.538 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.camera_zijgang_binnen] Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsps://****:****@wework-4-eu.stream.iot-11.com:443/v1/bfc906e5bc6a8beb7cbylm/cmkk81j47or7abf121egEJ9kyxhEI6JL?signInfo=78Av1IP3hP_ALLHCa5GuncDBMruzblLZmDNFGhP1JV9HOUg1FP5oflBasC08pYFLImoq8Mq_-xOX4qTprNcic3Oo_UFNbzUsugNP453gQ9e3asJ-wE810asWm5poz1H3Q06gWI6Jk6Qt0j8_d5--ZgYJbKsXsDCgP5WeNXOiUYY
2024-01-18 16:47:47.822 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.kittie_cam] Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsps://****:****@wework-7-eu.stream.iot-11.com:443/v1/bf83055b70d5d73bcb9rgz/cmkk81iio2f3lgjo09b0RBnuI1jFdy5M?signInfo=Nu1lGAM0JuY8hC-0ElrycyQl51U3CuxcxqdbMsP71N8K7VuJn7iTCDoilJjYhSyVSr0p-WtW1Rxp98-d3nrt33ETn6aOhy-DhrzrPItYL8J4KsEvvTvyeDRYn1YQHPRlHIBDriaRITeRD0IWINSWbISj1tyTeI72vNw7Eap15hY
2024-01-18 16:47:55.318 ERROR (MainThread) [custom_components.tplink_deco.coordinator] Unexpected error fetching tplink_deco-decos data: Timeout exception. If you get a lot of these see https://github.com/amosyuen/ha-tplink-deco#timeout-error. 
Traceback (most recent call last):
  File "/config/custom_components/tplink_deco/api.py", line 409, in _async_post
    response = await self._session.post(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 601, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 965, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 622, 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.11/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.11/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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/coordinator.py", line 166, in _async_update_data
    new_decos = await async_call_and_propagate_config_error(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/coordinator.py", line 47, 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(
                    ^^^^^^^^^^^^^^^^^^^^^^^
  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. 
2024-01-18 16:47:57.585 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings workout data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 264, in _internal_update_data
    workouts = await self._client.get_workouts_in_period(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 338, in get_workouts_in_period
    return await self._get_workouts(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 314, in _get_workouts
    response = await self._request(
               ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:48:01.476 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Timeout resolving OAuth token: 
2024-01-18 16:48:18.040 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings measurements data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 100, in _internal_update_data
    measurements = await self._client.get_measurement_in_period(startdate, now)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 190, in get_measurement_in_period
    return await self._get_measurements(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 166, in _get_measurements
    response = await self._request("measure", data=data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:48:30.866 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings measurements data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 100, in _internal_update_data
    measurements = await self._client.get_measurement_in_period(startdate, now)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 190, in get_measurement_in_period
    return await self._get_measurements(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 166, in _get_measurements
    response = await self._request("measure", data=data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:48:35.724 WARNING (MainThread) [custom_components.sonoff.core.ewelink.cloud] Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1001d4d49b', 'apikey': '69d00e4c-fed9-4e71-80fa-6dc9c9f09fb6', 'sequence': '1705592910000'}
2024-01-18 16:48:46.490 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings measurements data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 100, in _internal_update_data
    measurements = await self._client.get_measurement_in_period(startdate, now)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 190, in get_measurement_in_period
    return await self._get_measurements(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 166, in _get_measurements
    response = await self._request("measure", data=data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:48:48.477 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings workout data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 264, in _internal_update_data
    workouts = await self._client.get_workouts_in_period(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 338, in get_workouts_in_period
    return await self._get_workouts(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 314, in _get_workouts
    response = await self._request(
               ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:48:50.535 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Timeout resolving OAuth token: 
2024-01-18 16:48:54.131 ERROR (MainThread) [zigpy.zcl] [0x286C:1:0x0020] Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zigpy/endpoint.py", line 253, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/zigpy/device.py", line 322, in request
    await send_request
  File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 833, in request
    await self.send_packet(
  File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 931, in send_packet
    raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

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

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/general.py", line 504, in check_in_response
    await self.checkin_response(True, self.CHECKIN_FAST_POLL_TIMEOUT, tsn=tsn)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 83, in wrapper
    with wrap_zigpy_exceptions():
  File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions
    raise HomeAssistantError(message) from exc
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

2024-01-18 16:48:54.963 ERROR (MainThread) [homeassistant.config_entries] Error calling entry remove callback Withings for withings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 601, in async_remove
    await component.async_remove_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 354, in async_remove_entry
    await cloud.async_delete_cloudhook(hass, entry.data[CONF_WEBHOOK_ID])
  File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 217, in async_delete_cloudhook
    await hass.data[DOMAIN].cloudhooks.async_delete(webhook_id)
  File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/cloudhooks.py", line 72, in async_delete
    raise ValueError("Hook is not enabled for the cloud.")
ValueError: Hook is not enabled for the cloud.
2024-01-18 16:48:58.210 ERROR (MainThread) [custom_components.tplink_deco.coordinator] Unexpected error fetching tplink_deco-clients data: Timeout exception. If you get a lot of these see https://github.com/amosyuen/ha-tplink-deco#timeout-error. 
Traceback (most recent call last):
  File "/config/custom_components/tplink_deco/api.py", line 409, in _async_post
    response = await self._session.post(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 601, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 965, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 622, 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.11/site-packages/async_timeout/__init__.py", line 141, in __aexit__
    self._do_exit(exc_type)
  File "/usr/local/lib/python3.11/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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/coordinator.py", line 246, in _async_update_data
    deco_client_responses = await asyncio.gather(
                            ^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/coordinator.py", line 47, in async_call_and_propagate_config_error
    return await func(*args)
           ^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tplink_deco/api.py", line 221, in async_list_clients
    return await self._async_call_with_retry(self._async_list_clients, deco_mac)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 228, in _async_list_clients
    response_json = await self._async_post(
                    ^^^^^^^^^^^^^^^^^^^^^^^
  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. 
2024-01-18 16:49:00.371 ERROR (MainThread) [homeassistant.config_entries] Error calling entry remove callback Withings for withings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 601, in async_remove
    await component.async_remove_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 354, in async_remove_entry
    await cloud.async_delete_cloudhook(hass, entry.data[CONF_WEBHOOK_ID])
  File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 217, in async_delete_cloudhook
    await hass.data[DOMAIN].cloudhooks.async_delete(webhook_id)
  File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/cloudhooks.py", line 72, in async_delete
    raise ValueError("Hook is not enabled for the cloud.")
ValueError: Hook is not enabled for the cloud.
2024-01-18 16:49:06.997 ERROR (MainThread) [homeassistant.components.withings] Unexpected error fetching Withings measurements data: Timeout occurred while connecting to Withings
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
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 300, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 70, in _async_update_data
    return await self._internal_update_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/coordinator.py", line 100, in _internal_update_data
    measurements = await self._client.get_measurement_in_period(startdate, now)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 190, in get_measurement_in_period
    return await self._get_measurements(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 166, in _get_measurements
    response = await self._request("measure", data=data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
2024-01-18 16:49:27.280 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Withings for withings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 406, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 166, in async_setup_entry
    implementation = await async_get_config_entry_implementation(hass, entry)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 7 months ago

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

Code owner commands Code owners of `withings` 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 withings` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


withings documentation withings source (message by IssueLinks)

joostlek commented 7 months ago

Can you try to regenerate the client id and client secret at Withings?

wvdb0 commented 7 months ago

Can you try to regenerate the client id and client secret at Withings?

I made a new client in the developer portal. I removed the previous integration data, removed the credential. re added the new data but still no luck.

joostlek commented 7 months ago

Looks like every request keeps timing out. Are you blocking withings in any way?

wvdb0 commented 7 months ago

no blocking, it suddenly appeared months ago. the withings app works as it should.

wvdb0 commented 7 months ago

an update: I rechecked and I see Registered URLs

Register the URLs you will be using for the OAuth2 services and data notification services.

Our servers couldn't reach this URL: https://my.home-assistant.io/redirect/oauth

Partner error: Host Unreachable Click here to learn more

joostlek commented 7 months ago

where did you see that? You should not click check URL when entering application details

wvdb0 commented 7 months ago

it was when I revisited the details on the developer portal.

joostlek commented 7 months ago

Yes, you should not click the recheck link button

joostlek commented 7 months ago

But looking at you logs, every request towards withings is timing out

wvdb0 commented 7 months ago

that is the weird thing, there is nothing in my network blocking withings. All other connections work perfectly. It is only this one that is driving me crazy.

joostlek commented 7 months ago

Can you manually ping withings?

wvdb0 commented 7 months ago

ping www.withings.com PING www.withings.com (89.30.121.170) 56(84) bytes of data. 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=1 ttl=51 time=36.4 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=2 ttl=51 time=33.9 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=3 ttl=51 time=33.2 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=4 ttl=51 time=45.8 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=5 ttl=51 time=32.7 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=6 ttl=51 time=31.6 ms ^C --- www.withings.com ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5006ms rtt min/avg/max/mdev = 31.632/35.602/45.750/4.764 ms

joostlek commented 7 months ago

And the api? https://wbsapi.withings.net/v2/user

wvdb0 commented 7 months ago

gives me the unknown error

joostlek commented 7 months ago

Can you post that?

wvdb0 commented 7 months ago

ping https://wbsapi.withings.net/v2/user ping: https://wbsapi.withings.net/v2/user: Naam of dienst is niet bekend

joostlek commented 7 months ago

and without the /v2/user?

wvdb0 commented 7 months ago

ping http://wbsapi.withings.net/ ping: http://wbsapi.withings.net/: Naam of dienst is niet bekend

I tried it on my home network wifi and also using my cellphone 4g connection. both give me the same result on different networks.

joostlek commented 7 months ago
ping wbsapi.withings.net         
PING ws.withings.net (89.30.121.170): 56 data bytes
64 bytes from 89.30.121.170: icmp_seq=0 ttl=55 time=23.458 ms
64 bytes from 89.30.121.170: icmp_seq=1 ttl=55 time=27.044 ms
64 bytes from 89.30.121.170: icmp_seq=2 ttl=55 time=26.917 ms
64 bytes from 89.30.121.170: icmp_seq=3 ttl=55 time=22.834 ms
64 bytes from 89.30.121.170: icmp_seq=4 ttl=55 time=22.937 ms
64 bytes from 89.30.121.170: icmp_seq=5 ttl=55 time=22.620 ms
^C
--- ws.withings.net ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 22.620/24.302/27.044/1.911 ms

Can you try it like this?

wvdb0 commented 7 months ago

this works

ping wbsapi.withings.net
PING ws.withings.net (89.30.121.170) 56(84) bytes of data. 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=1 ttl=51 time=41.6 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=2 ttl=51 time=31.1 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=3 ttl=51 time=34.7 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=4 ttl=51 time=31.7 ms 64 bytes from 89.30.121.170 (89.30.121.170): icmp_seq=5 ttl=51 time=34.5 ms ^C --- ws.withings.net ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 31.070/34.706/41.641/3.760 ms

joostlek commented 7 months ago

this is made from the HA instance?

wvdb0 commented 7 months ago

no from a laptop on the same network. just tried it from the ha raspberry and he last ping works the others don't

joostlek commented 7 months ago

I mean this is strange. I know Withings isn't down so this is strange.

Can you maybe try once again:

  1. Remove withings from HA.
  2. Delete the application credentials
  3. Remove both applications in the Withings Developer dashboard
  4. Create a new one
  5. setup the integration again
wvdb0 commented 7 months ago

did all that but to no avail Schermafdruk van 2024-01-19 11-59-09

joostlek commented 7 months ago

But it did setup correctly? That's strange

wvdb0 commented 7 months ago

exactly gives the prompt it setup successfully but from there it goes dead

joostlek commented 7 months ago

Can you send me a message on discord? @joostlek

codyc1515 commented 7 months ago

I don't think this is a Withings issue - your custom_components sonoff and tplink_deco are both also timing out. I previously used the Deco one and found that the load on the Deco from that integration eventually caused the Deco to lock-up necessitating a physical power-off/power-on restart. I would suggest to restart your Deco(s) and remove those two custom_components are try again.

codyc1515 commented 6 months ago

I just experienced this too on a brand new (remove, recreate credentials and reinstall) install. I scanned the body temp and the webhook was not used to update. A subsequent reload of the integration worked and the entities populated. I am experiencing the same timeout issue as the person above with timeouts.

2024-01-28 22:42:27.538 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 105, in _request
    response = await self.session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 574, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1204, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 104, in _request
    async with asyncio.timeout(self.request_timeout):
  File "/usr/local/lib/python3.11/asyncio/timeouts.py", line 111, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

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

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 245, in register_webhook
    await async_subscribe_webhooks(client, webhook_url)
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 288, in async_subscribe_webhooks
    await async_unsubscribe_webhooks(client)
  File "/usr/src/homeassistant/homeassistant/components/withings/__init__.py", line 314, in async_unsubscribe_webhooks
    current_webhooks = await client.list_notification_configurations()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 368, in list_notification_configurations
    response = await self._request(
               ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiowithings/withings.py", line 113, in _request
    raise WithingsConnectionError(msg) from exception
aiowithings.exceptions.WithingsConnectionError: Timeout occurred while connecting to Withings
codyc1515 commented 6 months ago

I'm wondering if could this be IPv6 related? The latency is absolutely dreadful and I saw some packet loss. I'm on a gigabit fibre connection and never saw packet loss before which suggests that Withings routing is just terrible. Is there a way to maybe force IPv4?

Pinging ws.withings.net [2a01:8200:1001:1:89:30:121:170] with 32 bytes of data:
Reply from 2a01:8200:1001:1:89:30:121:170: time=384ms
Reply from 2a01:8200:1001:1:89:30:121:170: time=386ms
Reply from 2a01:8200:1001:1:89:30:121:170: time=439ms
Reply from 2a01:8200:1001:1:89:30:121:170: time=452ms

Ping statistics for 2a01:8200:1001:1:89:30:121:170:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 384ms, Maximum = 452ms, Average = 415ms
Pinging ws.withings.net [89.30.121.170] with 32 bytes of data:
Reply from 89.30.121.170: bytes=32 time=307ms TTL=44
Reply from 89.30.121.170: bytes=32 time=307ms TTL=44
Reply from 89.30.121.170: bytes=32 time=306ms TTL=44
Reply from 89.30.121.170: bytes=32 time=306ms TTL=44

Ping statistics for 89.30.121.170:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 306ms, Maximum = 307ms, Average = 306ms
joostlek commented 6 months ago

Wait where do you see packet loss?

joostlek commented 6 months ago
PING ws.withings.net (89.30.121.170): 56 data bytes
64 bytes from 89.30.121.170: icmp_seq=0 ttl=54 time=17.828 ms
64 bytes from 89.30.121.170: icmp_seq=1 ttl=54 time=17.910 ms
64 bytes from 89.30.121.170: icmp_seq=2 ttl=54 time=18.157 ms
64 bytes from 89.30.121.170: icmp_seq=3 ttl=54 time=17.893 ms
64 bytes from 89.30.121.170: icmp_seq=4 ttl=54 time=18.098 ms
64 bytes from 89.30.121.170: icmp_seq=5 ttl=54 time=17.765 ms
^C
--- ws.withings.net ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 17.765/17.942/18.157/0.140 ms
codyc1515 commented 6 months ago

Not in the trace I posted. Geographically speaking, it appears Withings have only one server located in France (89.30.121.170). Unfortunately, that is 19,197 kilometers from me - as the crow flies (not the cable) - which means that latency is always going to be terrible. Only other thing I can think to check is disabling IPv6 (as the latency is poorer). Can you ping and access it fine with IPv6?

joostlek commented 6 months ago

I mean, the latency is only 150ms higher tbf. The I just asked @wvdb0 on Discord if he uses IPv6 and he doesn't (and I suspect he doesn't live that far from me)

joostlek commented 6 months ago

Apparently I can't ping IPv6, not sure why

codyc1515 commented 6 months ago

I just checked and while some of the DNS servers for withings.net domain support IPv6, others do not. That is a red flag for me.

I mean, the latency is only 150ms higher tbf. The I just asked @wvdb0 on Discord if he uses IPv6 and he doesn't (and I suspect he doesn't live that far from me)

It shouldn't be any degree noticably higher unless misconfigured.

joostlek commented 6 months ago

But, the default timeout is 10 seconds, I am not expecting these 300ms to be such a burden on the connection. Maybe we can give it a shot with just upping the timeout to idk, 600 and seeing what happens

codyc1515 commented 6 months ago

It's averaging around 3 seconds for me just to get a response to a blank request for https://wbsapi.withings.net/v2/user:

{
    "status": 2554,
    "error": "Not implemented"
}
joostlek commented 6 months ago

Do you have discord? Can you maybe send me a message?

codyc1515 commented 6 months ago

Resolved in https://github.com/home-assistant/core/issues/107681

joostlek commented 6 months ago

Yes and no, we've tried that already. I think I'll send some cURLs for wvdb to test and then we can see what the reason is.

issue-triage-workflows[bot] commented 3 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.