-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Chiptool reporting Failed to remove current fabric - Error Domain=CHIPErrorDomain Code=1 "Undefined error:50." even though it seem to succeed #15175
Comments
SHA used: d1c7e85 |
From the m5stack log:
which might be part of the problem here, perhaps... @yunhanw-google @kghost any idea what's going on with the secure session there? |
Adding more debug logging on M5 |
haven't seen this specific crash recently when using unpair option in chiptool |
Looks like the Session tracked by the ReadHandler somehow ... got torn down, resulting in there being no actual valid session held by the holder, triggering the |
@kean-apple is this still an issue? |
closing. Not seen M5 board crash when removing 1 fabric. Still tracking M5 board crash when removing multiple fabrics #15305 |
Problem
Chiptool reports Failed to remove current fabric
removing-fabric-via-unpair-M5-logs.txt
removing-fabric-via-unpair-chiptool-logs.txt
when it does appear the M5 board is Reset and fabric removed
In step 3, the M5 board does get reset after using unpair option and it seems like the Fabric is removed however CHIPtool does report error:
2022-02-14 17:59:54.416688-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890394416] [4199:133051] CHIP: [EM] Retransmitting MessageCounter:361632 on exchange 21572i Send Cnt 1
2022-02-14 17:59:54.416979-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890394416] [4199:133051] CHIP: [IN] Sending encrypted msg 0x115821468 with MessageCounter:361632 to 0x0000000000000002 (1) at monotonic time: 1644890394416 msec
2022-02-14 17:59:54.716662-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890394716] [4199:135257] CHIP: [EM] Retransmitting MessageCounter:361632 on exchange 21572i Send Cnt 2
2022-02-14 17:59:54.716846-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890394716] [4199:135257] CHIP: [IN] Sending encrypted msg 0x115821468 with MessageCounter:361632 to 0x0000000000000002 (1) at monotonic time: 1644890394716 msec
2022-02-14 17:59:55.016448-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890395016] [4199:135257] CHIP: [EM] Failed to Send CHIP MessageCounter:361632 on exchange 21572i sendCount: 3 max retries: 3
2022-02-14 18:00:01.115348-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890401115] [4199:135257] CHIP: [DMG] Time out! failed to receive invoke command response from Exchange: 21572i
2022-02-14 18:00:01.115673-0800 localhost CHIPTool[4199]: (CoreFoundation) [com.apple.CFBundle:strings] Bundle: CFBundle 0x115204610 </private/var/containers/Bundle/Application/288E3255-8317-4E76-871E-95722091569F/CHIPTool.app> (executable, loaded), key: Undefined error:%u., value: , table: Localizable, localizationName: (null), result: Undefined error:%u.
2022-02-14 18:00:01.115858-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890401115] [4199:135257] CHIP: [DMG] ICR moving to [AwaitingDe]
2022-02-14 18:00:01.115997-0800 localhost CHIPTool[4199]: (CHIP) [com.zigbee.chip:all] � [1644890401115] [4199:133047] CHIP: [CTL] Response Time: PFvPvRKN4chip3app8Clusters22OperationalCredentials8Commands11NOCResponse13DecodableTypeEE+2510527005 12.001841 seconds
2022-02-14 18:00:01.116291-0800 localhost CHIPTool[4199]: Failed to remove current fabric index 1 for device 2. Error Domain=CHIPErrorDomain Code=1 "Undefined error:50." UserInfo={NSLocalizedDescription=Undefined error:50., errorCode=50}
Note: I didn't see the same error when removing fabric via the Fabric management option
The text was updated successfully, but these errors were encountered: