Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled EZSP frame incomingManyToOneRouteRequestHandler and OTA update in progress causes EZSP to stop #834

Closed
irata-coder opened this issue Dec 21, 2023 · 3 comments
Labels

Comments

@irata-coder
Copy link

irata-coder commented Dec 21, 2023

What happened?

Unhandled EZSP frame incomingManyToOneRouteRequestHandler while performing an OTA update of another device, causes EZSP to stop

This recreates the issue always, although I beleive the root cause is when resending data frames, around the code which queues/waits for messages. I believe there has been changes to this code recently, as this error is recent. When network traffic is busy it appears to trigger a bug in the code, albeit I can't yet see why.

What did you expect to happen?

Receipt of this frame should not cause EZSP and driver to stop

How to reproduce it (minimal and precise)

1.) Create a Zigbee network with z2m and sonoff ZBDongle-E with 7.3.2.0 build 212 (albeit also recreatable on earlier builds)
2.) Add Hive 1613V Active Plug and Bosch BTH-RA
3.) Start an OTA update on Bosch BTH-RA
4.) Within a few minutes, this frame will arrive and the error is seen, stopping the driver

Zigbee2MQTT version

1.34.0

Adapter firmware version

7.3.2.0 build 212

Adapter

EZSP Sonoff Dongle Plus-E EFR32MG21

Debug log

  zigbee-herdsman:adapter:ezsp:uart <-- [6273b1a9292ab455fcab6527a30b8c499824c77e] +393ms
  zigbee-herdsman:adapter:ezsp:uart <-- DATA (6,2,0): 6273b1a9292ab455fcab6527a30b8c499824c77e +392ms
  zigbee-herdsman:adapter:ezsp:uart --> ACK  (7) +0ms
  zigbee-herdsman:adapter:ezsp:uart --> [87009f7e] +393ms
  zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 3190017d00a1e7a53f2f02095e1e0004 +393ms
  zigbee-herdsman:adapter:ezsp:ezsp <== 0x7d: {"_cls_":"incomingManyToOneRouteRequestHandler","_id_":125,"_isRequest_":false,"source":59297,"longId":{"type":"Buffer","data":[0,30,94,9,2,47,63,165]},"cost":4} +1ms
  zigbee-herdsman:adapter:ezsp:driv Unhandled frame incomingManyToOneRouteRequestHandler +2s
  zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":3} after 2000ms +21ms
  zigbee-herdsman:adapter:ezsp:uart -!- break rewaiting (3) +0ms
  zigbee-herdsman:adapter:ezsp:uart Can't resend DATA frame (2,0,1): 3200017e002672f1feffdbb48401 +0ms
  zigbee-herdsman:adapter:ezsp:driv Reset connection. Try 0 +19ms
  zigbee-herdsman:adapter:ezsp:driv Stop driver +1ms
  zigbee-herdsman:adapter:ezsp:ezsp Stop ezsp +20ms
@irata-coder irata-coder changed the title Unhandled EZSP frame incomingManyToOneRouteRequestHandler can cause EZSP to stop Unhandled EZSP frame incomingManyToOneRouteRequestHandler and OTA update in progress causes EZSP to stop Dec 23, 2023
@Koenkk
Copy link
Owner

Koenkk commented Dec 30, 2023

@kirovilya could you check this?

@Bascht74
Copy link

Bascht74 commented Feb 6, 2024

@kirovilya Could you take a look at that?

Here are some logs of my adapter: Koenkk/zigbee2mqtt#21011

Copy link
Contributor

github-actions bot commented Aug 5, 2024

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

@github-actions github-actions bot added the stale label Aug 5, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants