zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

error: zh:ember:ezsp: The adapter has run out of buffers, causing general malfunction. Remediate network congestion, if present.

Open LeoeLeoeL opened this issue 1 year ago • 11 comments

What happened?

I tried to pair 2 IKEA LED2201G8 bulbs. Z2M has problems with them. Initially log reported many: error: z2m: Failed to read state of 'Luce Cucina W1' after reconnect (ZCL command 0x94ec32fffe012fc3/1 genLevelCtrl.read(["currentLevel"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '4473'.))

and:

error: z2m: Publish 'set' 'state' to 'Luce Cucina W2' failed: 'Error: ZCL command 0xc4d8c8fffeef7b46/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '64623'.)'

There were also many changes of Network address.

Then it started to show many: error: zh:ember:ezsp: The adapter has run out of buffers, causing general malfunction. Remediate network congestion, if present. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=86 Len=10].

Sometimes there were also: error: zh:ember: Delivery of BROADCAST failed for '65533'. and: error: zh:controller: Failed to disable join on stop: Error: ~x~> [ZCL BROADCAST destination=65533] Failed to send with status=BUSY. error: zh:controller: Failed to disable join on stop: Error: ~x~> [ZCL BROADCAST destination=65533] Failed to send with status=ALLOCATION_FAILED.

What i make to solve:

  1. Remove the 2 Ikea bulbs (I had to force remove) - DID NOT SOLVE !
  2. Restart Zigbee2MQTT - DID NOT SOLVE !
  3. Restart Zigbee2MQTT container in Proxmox - DID NOT SOLVE !
  4. Run an older release (2.2.1) of Zigbee2MQTT - DID NOT SOLVE !
  5. Unplug and plug the coordinator (Sonoff Dongle E) - DID NOT SOLVE !
  6. Restart all Proxmox - DID NOT SOLVE !
  7. Shutdown all Proxmox and start again - DID NOT SOLVE !
  8. Reflash the coordinator with the same FW (sonoff_zbdonglee_zigbee_ncp_8.0.2.0_115200_sw_flow) - DID NOT SOLVE !
  9. Power off the lights section in the elecrtic panel for 30 seconds - IT WORKED !! (but I had 2 re-pair 2 routers and 2 end devices.).

What did you expect to happen?

First of all I would like Ikea LED2201G8 work under Zigbee2MQTT. The integration doesn't work. Then I would like something like a PANIC BUTTON to solve the problem of the error "zh:ember:ezsp: The adapter has run out of buffers, causing general malfunction. Remediate network congestion, if present." If I read "the adapter has run out of buffers" I expect to solve the problem acting the coordinator. I acted (unplugging and reflashing) but I didn't solve.

How to reproduce it (minimal and precise)

Read "What Happened?" section.

Zigbee2MQTT version

2.3.0

Adapter firmware version

8.0.2 [GA]

Adapter

EmberZNet

Setup

Proxmox 8.4.1 4 x Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz, containerized (https://community-scripts.github.io/ProxmoxVE/scripts?id=zigbee2mqtt)

Debug log

No response

LeoeLeoeL avatar May 24 '25 13:05 LeoeLeoeL

CPU load when the problem occurs:

Image

LeoeLeoeL avatar May 24 '25 15:05 LeoeLeoeL

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 24 '25 00:07 github-actions[bot]

The issue came back in 2.6.0 too [2025-08-22 22:06:15] zh:ember:ezsp: The adapter has run out of buffers, causing general malfunction. Remediate network congestion, if present. Last Frame: [FRAME: ID=52:"SEND_UNICAST" Seq=221 Len=10].

LeoeLeoeL avatar Aug 22 '25 20:08 LeoeLeoeL

I looked for my previous thread ad dicovered all the network issues always happen 15/20 days after a Z2M update.

LeoeLeoeL avatar Aug 22 '25 20:08 LeoeLeoeL

"Remediate network congestion, if present" but... HOW ?

LeoeLeoeL avatar Aug 23 '25 13:08 LeoeLeoeL

have the same issue since last update on zigbee2mqtt. Only difference for me: I have not added or changed any zigbee device

arossmann avatar Sep 04 '25 06:09 arossmann

Last august (with Z2M 2.6.0) I had the issue without any change. I was on vacacation.

LeoeLeoeL avatar Sep 04 '25 10:09 LeoeLeoeL

Same issue here.

Ed-Ross avatar Nov 03 '25 20:11 Ed-Ross

same issue with Z2M 2.7.0, ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2 (Dongle-E) with firmware 7.4.1, 7.4.3, 7.4.4 and 8.0.2

sharkpd avatar Dec 06 '25 00:12 sharkpd

Zigbee2MQTT hates some devices in the network. I'm not speaking about specific models of brands but "some" devices. For instance, if you have 4 smartplugs (same brand, same model and same firmware) Zigbee2MQTT could not "digest" one of them. In my case, I have 5 Vimar covering devices; I had problems with 4 of them while one is perfectly integrated in the network. To "mitigate" this problem in Zigbee2MQTT I had to make another network using my old Conbee II stick. This network includes all the devices Zigbee2MQTT didn't like. Now Zigbee2MQTT works as a swiss watch and Deconz manages all the "renegade" devices perfectly. I know it's a defeat. My goal was to ha one big network; Now I have 3 (Zigbee2MQTT, Deconz and HUE).

LeoeLeoeL avatar Dec 06 '25 16:12 LeoeLeoeL

Just in case someone comes back, I had the issue again and commented out

last_seen: ISO_8601_local

Restarted then the issue went away

u15jtau avatar Oct 27 '26 01:10 u15jtau