I occasionally encounter issues with some of my integrations that rely on cloud/remote services, as they are sometimes unable to fetch data from these services. This problem seems to occur at random intervals, happening a few times every hour, and typically resolves itself after up to a minute. While the issue persists, I have no trouble accessing Home Assistant or any local devices (I mainly use Zigbee2MQTT), nor do I face any problems with other integrations that do not rely on accessing remote services. The issue started for more than 2 weeks ago. I have since then upgrade both supervisor and core. I have also made several attempts to reboot both HA and the server (running a Debian home server on an old lenovo laptop connected via ethernet).
Upon reviewing the complete logs, I have not been able to identify the root cause of these intermittent drops. Any insights on how to troubleshoot this issue would be greatly appreciated!
HA
OS 12.1
Core: 2024.3.3.
agent_version: 1.6.0
apparmor_version: 3.1.2
boot_timestamp: 1711310314549545
broadcast_llmnr: true
broadcast_mdns: true
chassis: embedded
cpe: cpe:2.3:o:home-assistant:haos:12.1:*:production:*:*:*:ova:*
deployment: production
disk_free: 10.6
disk_life_time: null
disk_total: 30.8
disk_used: 18.9
dt_synchronized: true
dt_utc: "2024-03-25T17:07:17.476817+00:00"
features:
- reboot
- shutdown
- services
- network
- hostname
- timedate
- os_agent
- haos
- resolved
- journal
- disk
- mount
hostname: homeassistant
kernel: 6.6.20-haos
llmnr_hostname: homeassistant
operating_system: Home Assistant OS 12.1
startup_time: 1.774046
Logs containing some of the random drops
2024-03-25 20:03:00.152 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'events' when rendering '{{ tommeplan_next_week.events | rejectattr('summary', 'search', 'key word', true) | list }}'
2024-03-25 20:04:00.150 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'events' when rendering '{{ tommeplan_next_week.events | rejectattr('summary', 'search', 'key word', true) | list }}'
2024-03-25 20:04:09.051 ERROR (MainThread) [homeassistant.components.google.calendar] Error fetching [email protected] data: Error communicating with API: Error connecting to API: Cannot connect to host www.googleapis.com:443 ssl:default [Try again]
2024-03-25 20:04:09.057 ERROR (MainThread) [homeassistant.components.google.calendar] Error fetching Holidays in Norway data: Error communicating with API: Error connecting to API: Cannot connect to host www.googleapis.com:443 ssl:default [Try again]
2024-03-25 20:04:09.058 ERROR (MainThread) [homeassistant.components.google.calendar] Error fetching Familie data: Error communicating with API: Error connecting to API: Cannot connect to host www.googleapis.com:443 ssl:default [Try again]
2024-03-25 20:04:09.060 ERROR (MainThread) [homeassistant.components.google.calendar] Error fetching Tømmeplan data: Error communicating with API: Error connecting to API: Cannot connect to host www.googleapis.com:443 ssl:default [Try again]
2024-03-25 20:04:09.061 ERROR (MainThread) [homeassistant.components.google.calendar] Error fetching [email protected] data: Error communicating with API: Error connecting to API: Cannot connect to host www.googleapis.com:443 ssl:default [Try again]
2024-03-25 20:04:09.065 ERROR (MainThread) [homeassistant.components.google.calendar] Error fetching Ukenumre data: Error communicating with API: Error connecting to API: Cannot connect to host www.googleapis.com:443 ssl:default [Try again]
2024-03-25 20:04:33.043 WARNING (MainThread) [homeassistant.components.melcloud] Connection failed for Varmepumpe
2024-03-25 20:04:39.896 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.varmepumpe_kjellergang_inside_temperature is taking over 10 seconds
2024-03-25 20:05:00.147 ERROR (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Error executing script. Error for call_service at pos 1: Service call requested response data but did not match any entities
2024-03-25 20:05:00.148 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/template/coordinator.py", line 96, in _handle_triggered_with_script
if script_result := await self._script.async_run(run_variables, script_context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1600, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 435, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 487, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 512, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 485, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 723, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 897, in entity_service_call
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Service call requested response data but did not match any entities
2024-03-25 20:05:27.125 ERROR (MainThread) [homeassistant.components.bmw_connected_drive.coordinator] Error fetching [email protected] data: [Errno -3] Try again
2024-03-25 20:06:00.146 ERROR (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Error executing script. Error for call_service at pos 1: Service call requested response data but did not match any entities
2024-03-25 20:06:00.146 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/template/coordinator.py", line 96, in _handle_triggered_with_script
if script_result := await self._script.async_run(run_variables, script_context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1600, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 435, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 487, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 512, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 485, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 723, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 897, in entity_service_call
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Service call requested response data but did not match any entities
2024-03-25 20:06:38.081 WARNING (MainThread) [custom_components.smartthinq_sensors.wideq.device] Connection to ThinQ failed. Network connection error - Device: Vaskemaskin
2024-03-25 20:06:39.899 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.varmepumpe_kjellergang_inside_temperature is taking over 10 seconds
2024-03-25 20:06:42.416 ERROR (MainThread) [pubnub] session.request exception: Cannot connect to host ps.pndsn.com:443 ssl:default [Try again]
2024-03-25 20:06:47.427 ERROR (MainThread) [pubnub] session.request exception: Cannot connect to host ps.pndsn.com:443 ssl:default [Try again]
2024-03-25 20:06:47.428 ERROR (MainThread) [pubnub] Exception in subscribe loop: Cannot connect to host ps.pndsn.com:443 ssl:default [Try again]
2024-03-25 20:07:00.146 ERROR (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Error executing script. Error for call_service at pos 1: Service call requested response data but did not match any entities
2024-03-25 20:07:00.149 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/template/coordinator.py", line 96, in _handle_triggered_with_script
if script_result := await self._script.async_run(run_variables, script_context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1600, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 435, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 487, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 512, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 485, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 723, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 897, in entity_service_call
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Service call requested response data but did not match any entities
2024-03-25 20:08:00.147 ERROR (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Error executing script. Error for call_service at pos 1: Service call requested response data but did not match any entities
2024-03-25 20:08:00.148 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/template/coordinator.py", line 96, in _handle_triggered_with_script
if script_result := await self._script.async_run(run_variables, script_context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1600, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 435, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 487, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 512, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 485, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 723, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 897, in entity_service_call
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Service call requested response data but did not match any entities
2024-03-25 20:08:39.904 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.varmepumpe_kjellergang_inside_temperature is taking over 10 seconds
2024-03-25 20:09:00.148 ERROR (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Error executing script. Error for call_service at pos 1: Service call requested response data but did not match any entities
2024-03-25 20:09:00.150 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved