core icon indicating copy to clipboard operation
core copied to clipboard

HA losing connect with Overkiz frequently while using local API

Open makhlouta opened this issue 8 months ago • 8 comments

The problem

The problem started suddenly, the devices go to unavailable state then show up again, below is some logs: 2024-06-20 14:50:43.613 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.9s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host gateway-XXXX-XXXX-XXXX.local:8443 ssl:<ssl.SSLContext object at 0x7f4ed4d0d0> [Invalid argument]) 2024-06-20 14:50:49.755 ERROR (MainThread) [homeassistant.components.overkiz] Error fetching device events data: Failed to connect. 2024-06-20 14:50:49.755 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 12.281 seconds (success: False) 2024-06-20 14:51:25.629 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.5s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host gateway-XXXX-XXXX-XXXX.local:8443 ssl:<ssl.SSLContext object at 0x7f4ed4d0d0> [Invalid argument]) 2024-06-20 14:51:31.770 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 12.297 seconds (success: False) 2024-06-20 14:52:07.612 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.8s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host gateway-XXXX-XXXX-XXXX.local:8443 ssl:<ssl.SSLContext object at 0x7f4ed4d0d0> [Invalid argument]) 2024-06-20 14:52:13.755 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 12.280 seconds (success: False) 2024-06-20 14:52:49.629 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.2s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host gateway-XXXX-XXXX-XXXX.local:8443 ssl:<ssl.SSLContext object at 0x7f4ed4d0d0> [Invalid argument]) 2024-06-20 14:52:55.770 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 12.296 seconds (success: False) 2024-06-20 14:53:31.614 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.9s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host gateway-XXXX-XXXX-XXXX.local:8443 ssl:<ssl.SSLContext object at 0x7f4ed4d0d0> [Invalid argument]) 2024-06-20 14:53:37.754 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 12.279 seconds (success: False)

and

`Logger: homeassistant.components.overkiz Source: helpers/update_coordinator.py:344 integration: Overkiz (documentation, issues) First occurred: June 18, 2024 at 9:18:23 PM (796 occurrences) Last logged: 2:58:43 PM

Error fetching device events data: Failed to connect.`

What version of Home Assistant Core has the issue?

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

overkiz

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

makhlouta avatar Jun 20 '24 12:06 makhlouta