Z-Stack (CC2652P): constant "SRSP - AF - dataRequest after 6000ms" after upgrading 2.14.3 → 2.14.4; Tuya TS0601 floods mcuGatewayConnectionStatus; rollback to 2.14.3 fixes it

Open
#33,923 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Compare the reported working version 2.14.3 (commit 3c841fdfd66c92239921ef84fde8f039c64e1662) with 2.14.4 (commit 11eb3b11ecf942e1668ffefa250dc039734e30c6), starting with changes related to Z-Stack data requests and Tuya gateway status handling. Reproduce with the reported CC2652P setup and check whether timeouts or failed commands return after five minutes; done means 2.14.4 handles this workload without the reported recurring failures.

Written by the indexing model from the issue text.

Description

problem
What happened?

After upgrading Zigbee2MQTT from 2.14.3 to 2.14.4 (TrueNAS SCALE app, zigbee-herdsman 11.3.0), the Z-Stack coordinator started timing out continuously:

  • ~6–9 SRSP - AF - dataRequest after 6000ms errors per minute, a few minutes after every start (the first ~5 minutes after a restart are usually fine).
  • Commands from Home Assistant fail (Publish 'set' 'state' to '...' failed ... (SRSP - AF - dataRequest after 6000ms)), 12 failed commands in 15 minutes.
  • Pings to routers fail (Failed to ping ... genBasic.read(["zclVersion"])).
  • A Tuya TS0601 energy meter (_TZE204_cjbofhxw, router, LQI ~140–175) started sending mcuGatewayConnectionStatus requests in a loop (~800 in 16 minutes); every reply from Z2M fails with Data request failed with error: 'TIMEOUT' (a couple with NWK_NO_ROUTE).

Same network, same coordinator, same firmware and same configuration ran for 5 days on 2.14.3 with zero of these errors. Rolling the app back to 2.14.3 (nothing else changed) immediately fixed it: 15 minutes with 2 timeouts at startup only, 0 failed commands, 0 failed mcuGatewayConnectionStatus replies.

Things I tried on 2.14.4 that did not help:

  • log_level debug → info.
  • transmit_power 127 → 20 (and restart): calmer for ~5 minutes, then the timeouts came back at the same rate.
What did you expect to happen?

Same behaviour as 2.14.3: no SRSP timeouts and commands delivered.

How to reproduce it (minimal and precise)
  1. Z-Stack CC2652P coordinator (Sonoff ZBDongle-P, firmware 20240710) with ~45 devices, including a Tuya TS0601 _TZE204_cjbofhxw energy meter.
  2. Upgrade Zigbee2MQTT 2.14.3 → 2.14.4.
  3. After ~5 minutes the coordinator starts returning SRSP - AF - dataRequest after 6000ms several times per minute.
  4. Downgrade to 2.14.3 → errors stop.
Zigbee2MQTT version

2.14.4

Adapter firmware version

20240710

Adapter

Sonoff Zigbee 3.0 USB Dongle Plus (ZBDongle-P, CC2652P), Z-Stack

Setup

TrueNAS SCALE 25.10 app (Docker), app version 1.1.36 (affected) / 1.1.35 (works). MQTT: Mosquitto. ~45 devices (mostly Tuya/IKEA/Sonoff).

Device database.db entry

{"id": 11, "type": "Router", "ieeeAddr": "0xdc8e95fffe2bcc07", "nwkAddr": 27544, "manufId": 4098, "manufName": "_TZE204_cjbofhxw", "powerSource": "Mains (single phase)", "modelId": "TS0601", "appVersion": 70, "stackVersion": 0, "hwVersion": 1, "dateCode": "", "zclVersion": 3, "interviewCompleted": true}

Debug log
[2026-12-03 20:51:59] error: zhc:tuya: Failed respond to gateway connection status '0xdc8e95fffe2bcc07' (Error: ZCL command 0xdc8e95fffe2bcc07/1 manuSpecificTuya.mcuGatewayConnectionStatus({"payloadSize":1,"payload":1}, {"timeout":10000,"disableResponse":true,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'TIMEOUT'))
[2026-12-03 20:52:09] error: zhc:tuya: Failed respond to gateway connection status '0xdc8e95fffe2bcc07' (... failed (Data request failed with error: 'TIMEOUT'))
[2026-12-03 21:18:27] warning: z2m: Failed to ping '0xa4c138591b85a0d4' (attempt 1/1, ZCL command 0xa4c138591b85a0d4/1 genBasic.read(["zclVersion"], ...)
[2026-12-03 21:24:20] error: z2m: Publish 'set' 'state' to '<switch>' failed: 'Error: ZCL command 0xa4c138f1aabe258f/2 genOnOff.on({}, {"timeout":10000,...}) failed (SRSP - AF - dataRequest after 6000ms)'
[2026-12-03 21:24:26] error: z2m: Publish 'set' 'state' to '<switch>' failed: 'Error: ZCL command 0xa4c1384a38018094/1 genOnOff.off({}, {"timeout":10000,...}) failed (SRSP - AF - dataRequest after 6000ms)'

Error rate per minute on 2.14.4 (error/warning lines with SRSP/timeout), after a restart at 21:17:

21:18 1 | 21:21 3 | 21:24 3 | 21:25 9 | 21:28 6 | 21:29 7 | 21:30 7 | 21:31 7 | 21:32 8

On 2.14.3 after rollback (start 21:35): 2 errors at 21:36, then none until 21:51.

Full debug logs available on request.

Notes

Works on 2.14.3 (commit 3c841fdfd66c92239921ef84fde8f039c64e1662), fails on 2.14.4 (commit 11eb3b11ecf942e1668ffefa250dc039734e30c6). Rollback to 2.14.3 was the only change needed to fix it. Coordinator firmware: {"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20240710,"transportrev":2},"type":"ZStack3x0"}

Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
12h 11m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.