core: async_initialize: all attempts have failed error after update to 2002.4.1

The problem

After upgrading to 2022.4.2, I get the following error at bootup. Zigbee hardwired devices are offline, battery operated devices seem to be ok.

Zigbee hardwired devices needed to be re-booted before showing up again. Subsequent restarts of Home Assistant still have the same error, but hardwired and battery zigbee devices are both ok.

[0x09D1:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError(‘[0x09d1:1:0x0006]: Message send failure’), DeliveryError(‘[0x09d1:1:0x0006]: Message send failure’), DeliveryError(‘[0x09d1:1:0x0006]: Message send failure’), DeliveryError(‘[0x09d1:1:0x0006]: Message send failure’)]

What version of Home Assistant Core has the issue?

2022.4.1

What was the last working version of Home Assistant Core?

2022.3.8

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:457
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 12:51:22 PM (1 occurrences)
Last logged: 12:51:22 PM

[0x09D1:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x09d1:1:0x0006]: Message send failure'), DeliveryError('[0x09d1:1:0x0006]: Message send failure'), DeliveryError('[0x09d1:1:0x0006]: Message send failure'), DeliveryError('[0x09d1:1:0x0006]: Message send failure')]

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 21 (2 by maintainers)

Most upvoted comments

I also had a lot of problems like this after upgrading to 2022.4.1, just like you said, the battery powered devices like thermometers and other sensors were reporting data, but switches and lights could not be controlled and/or was seen as ‘unavailable’ in the UI.

I had no custom config or quirks. I restarted the entire system, all devices, tried to re-pair some of the devices, sometimes I got some devices working, but they stopped working randomly after a while.

Waited for hours and over night, but after 2 days of issues I reverted to my backup, and everything is working flawless again, no DeliveryErrors in the logs with 2022.3.8, so it is not a matter of bad connectivity.

Example of the errors seen on 2022.4.1:

2022-04-09 18:22:07 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x21A9:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('[0x21a9:1:0x0006]: Message send failure'), TimeoutError(), DeliveryError('[0x21a9:1:0x0006]: Message send failure'), DeliveryError('[0x21a9:1:0x0006]: Message send failure')]
2022-04-09 18:22:08 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x21A9:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x21a9:1:0x0008]: Message send failure'), TimeoutError(), DeliveryError('[0x21a9:1:0x0008]: Message send failure'), DeliveryError('[0x21a9:1:0x0008]: Message send failure')]
2022-04-09 18:22:14 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0AB:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0xd0ab:1:0x0008]: Message send failure'), DeliveryError('[0xd0ab:1:0x0008]: Message send failure'), TimeoutError(), TimeoutError()]
2022-04-09 18:22:21 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0AB:1:0x0006]: async_initialize: all attempts have failed: [TimeoutError(), DeliveryError('[0xd0ab:1:0x0006]: Message send failure'), TimeoutError(), DeliveryError('[0xd0ab:1:0x0006]: Message send failure')]
2022-04-09 18:22:25 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x59AA:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('[0x59aa:1:0x0008]: Message send failure'), DeliveryError('[0x59aa:1:0x0008]: Message send failure'), DeliveryError('[0x59aa:1:0x0008]: Message send failure'), DeliveryError('[0x59aa:1:0x0008]: Message send failure')]

Docker installation. Conbee II running ZHA with the latest firmware (0x26700700).
53 Zigbee devices connected.