You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently updated Home Assistant from version 2024.1.6 to 2024.2.1. After the update, I encountered an issue with ZHA initialization. It hangs during initialization five times before throwing an error.
Upon inspecting the logs and diagnostics, it appears that the method self.ota.initialize() is timing out. I attempted to resolve this by switching my container from host (IPV6 enabled) to bridge (IPV4 only) mode, which seems to have resolved the issue. Unfortunately, I couldn't determine which address the integration is attempting to communicate with.
What version of Home Assistant Core has the issue?
core-2024.2.1
What was the last working version of Home Assistant Core?
Logger: homeassistant.config_entries
Source: config_entries.py:444
First occurred: 13:47:10 (1 occurrences)
Last logged: 13:47:10
Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus - Sonoff Zigbee 3.0 USB Dongle Plus for zha
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 163, in async_setup_entry
zha_gateway = await ZHAGateway.async_from_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 196, in async_from_config
await instance.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 214, in async_initialize
await app.startup(auto_form=True)
File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 226, in startup
await self.initialize(auto_form=auto_form)
File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 219, in initialize
await self.ota.initialize()
File "/usr/local/lib/python3.12/site-packages/zigpy/ota/__init__.py", line 154, in initialize
await self.async_event("initialize_provider", self._app.config[CONF_OTA])
File "/usr/local/lib/python3.12/site-packages/zigpy/util.py", line 81, in async_event
for result in await asyncio.gather(*tasks, return_exceptions=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError
Additional information
No response
The text was updated successfully, but these errors were encountered:
Code owners of zha 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 zha 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.
The problem
I recently updated Home Assistant from version 2024.1.6 to 2024.2.1. After the update, I encountered an issue with ZHA initialization. It hangs during initialization five times before throwing an error.
Upon inspecting the logs and diagnostics, it appears that the method
self.ota.initialize()
is timing out. I attempted to resolve this by switching my container from host (IPV6 enabled) to bridge (IPV4 only) mode, which seems to have resolved the issue. Unfortunately, I couldn't determine which address the integration is attempting to communicate with.What version of Home Assistant Core has the issue?
core-2024.2.1
What was the last working version of Home Assistant Core?
ore-2024.1.6
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
home-assistant_zha_2024-02-10T16-47-14.743Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: