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

Matter commissioning failing due to a credentials failure #223

Open
franmontiel opened this issue Oct 8, 2024 · 0 comments
Open

Matter commissioning failing due to a credentials failure #223

franmontiel opened this issue Oct 8, 2024 · 0 comments

Comments

@franmontiel
Copy link

franmontiel commented Oct 8, 2024

We have identified that Matter commissioning consistently fails on a specific device. The process encounters an error and displays the following message (or a similar one): "Device Credentials could not be created."

The device is a Samsung SM-S928B, running Android 14.

Below is the relevant section of the logcat where the failure occurs:

2024-10-01 18:11:33.510  7292-7292  MatterCommissioner      com.google.android.gms.ui            I  (REDACTED) Resolved %d existing fabric(s).
2024-10-01 18:11:33.511  7292-7292  MatterCommissioner      com.google.android.gms.ui            I  Verifying if commissioning to Local Fabric is required [CONTEXT service_id=336 ]
2024-10-01 18:11:34.480  7292-7292  MatterCommissioner      com.google.android.gms.ui            E  Encountered credentials failure. [CONTEXT service_id=336 ]
                                                                                                    m.fha: Could not retrieve new commissioner credentials.
                                                                                                    	at m.fjk.k(:com.google.android.gms.optional_home@[email protected] (100400-0):340)
                                                                                                    	at m.fjc.invokeSuspend(:com.google.android.gms.optional_home@[email protected] (100400-0):17)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):12)
                                                                                                    	at m.yii.d(:com.google.android.gms.optional_home@[email protected] (100400-0):56)
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):14)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):36)
                                                                                                    	at m.yqy.d(:com.google.android.gms.optional_home@[email protected] (100400-0):7)
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):14)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):36)
                                                                                                    	at m.yga.run(:com.google.android.gms.optional_home@[email protected] (100400-0):106)
                                                                                                    	at m.eay.c(:com.google.android.gms.optional_home@[email protected] (100400-0):50)
                                                                                                    	at m.eay.run(:com.google.android.gms.optional_home@[email protected] (100400-0):76)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                                                                                    	at anli.run(:com.google.android.gms@[email protected] (190400-679256246):8)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)
                                                                                                    Caused by: m.gjf: RPC GetProvisioningCertificateForCommissioner returned code NOT_FOUND; Sherlog for GetProvisioningCertificateForCommissioner is needed to diagnose.
                                                                                                    	at m.glc.invokeSuspend(:com.google.android.gms.optional_home@[email protected] (100400-0):543)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):12)
                                                                                                    	at m.yqy.d(:com.google.android.gms.optional_home@[email protected] (100400-0):7) 
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):14) 
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):36) 
                                                                                                    	at m.yga.run(:com.google.android.gms.optional_home@[email protected] (100400-0):106) 
                                                                                                    	at m.eay.c(:com.google.android.gms.optional_home@[email protected] (100400-0):50) 
                                                                                                    	at m.eay.run(:com.google.android.gms.optional_home@[email protected] (100400-0):76) 
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 
                                                                                                    	at anli.run(:com.google.android.gms@[email protected] (190400-679256246):8) 
                                                                                                    	at java.lang.Thread.run(Thread.java:1012) 
                                                                                                    Caused by: m.wzi: NOT_FOUND: Requested entity was not found.
                                                                                                    	at m.dzc.o(:com.google.android.gms.optional_home@[email protected] (100400-0):17)
                                                                                                    	at m.dzn.a(:com.google.android.gms.optional_home@[email protected] (100400-0):296)
                                                                                                    	at m.dzj.invokeSuspend(:com.google.android.gms.optional_home@[email protected] (100400-0):13)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):12) 
                                                                                                    	at m.yqy.d(:com.google.android.gms.optional_home@[email protected] (100400-0):7) 
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):14) 
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@[email protected] (100400-0):36) 
                                                                                                    	at m.yga.run(:com.google.android.gms.optional_home@[email protected] (100400-0):106) 
                                                                                                    	at m.eay.c(:com.google.android.gms.optional_home@[email protected] (100400-0):50) 
                                                                                                    	at m.eay.run(:com.google.android.gms.optional_home@[email protected] (100400-0):76) 
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 
                                                                                                    	at anli.run(:com.google.android.gms@[email protected] (190400-679256246):8) 
                                                                                                    	at java.lang.Thread.run(Thread.java:1012) 
2024-10-01 18:11:36.009  7292-7546  native                  com.google.android.gms.ui            I  I0000 00:00:1727799096.009473    7546 matter_ble_manager_android.cpp:288] CHIP: DL: Received SendWriteRequest
2024-10-01 18:11:36.010  7292-7546  native                  com.google.android.gms.ui            I  I0000 00:00:1727799096.010051    7546 BLE.cpp:203] CHIP: IN: Clearing BLE pending packets.
2024-10-01 18:11:36.010  7292-7546  native                  com.google.android.gms.ui            I  I0000 00:00:1727799096.010107    7546 matter_ble_manager_android.cpp:174] CHIP: DL: Received UnsubscribeCharacteristic
2024-10-01 18:11:36.010  7292-7546  native                  com.google.android.gms.ui            E  E0000 00:00:1727799096.010318    7546 BLEEndPoint.cpp:401] CHIP: BLE: BtpEngine unsub failed
2024-10-01 18:11:36.010  7292-7546  native                  com.google.android.gms.ui            I  I0000 00:00:1727799096.010355    7546 BLEEndPoint.cpp:456] CHIP: BLE: Auto-closing end point's BLE connection.
2024-10-01 18:11:36.010  7292-7546  native                  com.google.android.gms.ui            I  I0000 00:00:1727799096.010388    7546 matter_ble_manager_android.cpp:214] CHIP: DL: Received CloseConnection
@franmontiel franmontiel changed the title Matter commissioning failing due to Could not retrieve new commissioner credentials. Matter commissioning failing due to Could not retrieve new commissioner credentials Oct 8, 2024
@franmontiel franmontiel changed the title Matter commissioning failing due to Could not retrieve new commissioner credentials Matter commissioning failing due to a credentials failure Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant