project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.35k stars 1.97k forks source link

M5 pairing using short pairing code sometimes doesn't work and seeing [558:17749] CHIP: [SPL] Failed decoding base10. Input was empty. 0 #16185

Closed vinay-apple closed 1 year ago

vinay-apple commented 2 years ago

Problem

M5 pairing using short pairing code sometimes doesn't work and seeing [558:17749] CHIP: [SPL] Failed decoding base10. Input was empty. 0

SHA: d86a7d49e050f6d9eec438934ea205aa93ce77fd

Steps to reproduce:

  1. Pair M5 with chip tool using the short pairing code and see that it fails to start commissioning sometimes with below error on chip tool side.

2022-03-14 11:26:48.132913-0700 localhost CHIPTool[558]: (CHIP) [com.zigbee.chip:all] 🔴 [1647282408132] [558:17749] CHIP: [SPL] Failed decoding base10. Input was empty. 0 2022-03-14 11:26:48.133365-0700 localhost CHIPTool[558]: (CoreFoundation) [com.apple.CFBundle:resources] Resource lookup at CFBundle 0x102e045d0 </private/var/containers/Bundle/Application/FB1C5E9A-7EBC-4AD8-AAF1-01F582351B7E/CHIPTool.app> (executable, loaded) Request : Localizable type: strings Result : None 2022-03-14 11:26:48.133973-0700 localhost CHIPTool[558]: (CoreFoundation) [com.apple.CFBundle:resources] Resource lookup at CFBundle 0x102e045d0 </private/var/containers/Bundle/Application/FB1C5E9A-7EBC-4AD8-AAF1-01F582351B7E/CHIPTool.app> (executable, loaded) Request : Localizable type: stringsdict Result : None 2022-03-14 11:26:48.134389-0700 localhost CHIPTool[558]: (CoreFoundation) [com.apple.CFBundle:strings] Hit last resort and creating empty strings table 2022-03-14 11:26:48.134773-0700 localhost CHIPTool[558]: (CoreFoundation) [com.apple.defaults:User Defaults] found no value for key NSShowNonLocalizedStrings in CFPrefsSearchListSource<0x2803e4e00> (Domain: com.chip.CHIPTool-vganji1, Container: (null)) 2022-03-14 11:26:48.135096-0700 localhost CHIPTool[558]: (CoreFoundation) [com.apple.CFBundle:strings] Bundle: CFBundle 0x102e045d0 </private/var/containers/Bundle/Application/FB1C5E9A-7EBC-4AD8-AAF1-01F582351B7E/CHIPTool.app> (executable, loaded), key: A list length is invalid., value: , table: Localizable, localizationName: (null), result: A list length is invalid.

So this failed a couple times with same error and the 3rd time works fine and was able to commission.

short-pairing-code-sometimes-fails-chiptool-logs.txt short-pairing-code-sometimes-fails-M5-logs.txt

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 1 year ago

This stale issue has been automatically closed. Thank you for your contributions.