Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.
This repository was archived by the owner on May 2, 2025. It is now read-only.

Matter commissioning failing due to a credentials failure #223

@franmontiel

Description

@franmontiel

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@243734025@24.37.34 (100400-0):340)
                                                                                                    	at m.fjc.invokeSuspend(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):17)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):12)
                                                                                                    	at m.yii.d(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):56)
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):14)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):36)
                                                                                                    	at m.yqy.d(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):7)
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):14)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):36)
                                                                                                    	at m.yga.run(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):106)
                                                                                                    	at m.eay.c(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):50)
                                                                                                    	at m.eay.run(:com.google.android.gms.optional_home@243734025@24.37.34 (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@243734029@24.37.34 (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@243734025@24.37.34 (100400-0):543)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):12)
                                                                                                    	at m.yqy.d(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):7) 
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):14) 
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):36) 
                                                                                                    	at m.yga.run(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):106) 
                                                                                                    	at m.eay.c(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):50) 
                                                                                                    	at m.eay.run(:com.google.android.gms.optional_home@243734025@24.37.34 (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@243734029@24.37.34 (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@243734025@24.37.34 (100400-0):17)
                                                                                                    	at m.dzn.a(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):296)
                                                                                                    	at m.dzj.invokeSuspend(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):13)
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):12) 
                                                                                                    	at m.yqy.d(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):7) 
                                                                                                    	at m.ydw.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):14) 
                                                                                                    	at m.xxt.resumeWith(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):36) 
                                                                                                    	at m.yga.run(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):106) 
                                                                                                    	at m.eay.c(:com.google.android.gms.optional_home@243734025@24.37.34 (100400-0):50) 
                                                                                                    	at m.eay.run(:com.google.android.gms.optional_home@243734025@24.37.34 (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@243734029@24.37.34 (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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions