Hello, I'm testing the Matter example : Template (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/matter/template/README.html) with nRF SDK v1.9.99. This example project runs on nRF5340 DK board.
I'm trying to commission the device (Matter template) into a Thread Network created by the Open Thread Border Router running on RaspberryPI. For commissioning, I'm using the CHIP tool who plays the role of Matter controller (http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/matter/chip_tool_guide.html#). The CHIP tools runs on a Linux PC (Ubuntu 20.04.4 LTS).
I'm getting an error when running command for commissioning my device into Thread network over Bluetooth LE using the command.
$ sudo ./chip-tool pairing ble-thread <node_id> hex:<operational_dataset> <pin_code> <discriminator>
The error is related to Attestation Information command verification. Here below you can find my output when running the command mentioned before:
[1651655595.445469][3268141:3268146] CHIP:CTL: Successfully finished commissioning step 'SendAttestationRequest'
[1651655595.445508][3268141:3268146] CHIP:CTL: Commissioning stage next step: 'SendAttestationRequest' -> 'AttestationVerification'
[1651655595.445522][3268141:3268146] CHIP:CTL: Performing next commissioning step 'AttestationVerification'
[1651655595.445537][3268141:3268146] CHIP:CTL: Verifying attestation
[1651655595.449855][3268141:3268146] CHIP:CTL: Failed in verifying 'Attestation Information' command received from the device: err 604. Look at AttestationVerificationResult enum to understand the errors
[1651655595.449898][3268141:3268146] CHIP:CTL: Error on commissioning step 'AttestationVerification': '../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:945: CHIP Error 0x000000AC: Internal error'
[1651655595.449913][3268141:3268146] CHIP:CTL: Failed to perform commissioning step 8
[1651655595.449928][3268141:3268146] CHIP:CTL: Going from commissioning step 'AttestationVerification' with lastErr = '../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:945: CHIP Error 0x000000AC: Internal error' -> 'Cleanup'
[1651655595.449954][3268141:3268146] CHIP:CTL: Performing next commissioning step 'Cleanup' with completion status = '../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:945: CHIP Error 0x000000AC: Internal error'
[1651655595.449971][3268141:3268146] CHIP:CTL: Expiring failsafe on proxy 0x7f8178000b60
[1651655595.450018][3268141:3268146] CHIP:DMG: ICR moving to [AddingComm]
[1651655595.450038][3268141:3268146] CHIP:DMG: ICR moving to [AddedComma]
[1651655595.450093][3268141:3268146] CHIP:IN: Prepared secure message 0x7f818d3cc840 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 44183i with MessageCounter:2773086.
[1651655595.450133][3268141:3268146] CHIP:IN: Sending encrypted msg 0x7f818d3cc840 with MessageCounter:2773086 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000019F746FE msec
[1651655595.450203][3268141:3268146] CHIP:DMG: ICR moving to [CommandSen]
[1651655595.450254][3268141:3268146] CHIP:DMG: ICR moving to [AwaitingDe]
[1651655595.577666][3268141:3268146] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651655595.757789][3268141:3268146] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651655595.847536][3268141:3268146] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651655595.849437][3268141:3268144] CHIP:DL: Indication received, conn = 0x7f8184118020
[1651655595.849633][3268141:3268146] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1651655595.936877][3268141:3268146] CHIP:DL: HandlePlatformSpecificBLEEvent 16387
[1651655596.027568][3268141:3268144] CHIP:DL: Indication received, conn = 0x7f8184118020
[1651655596.027692][3268141:3268146] CHIP:DL: HandlePlatformSpecificBLEEvent 16389
[1651655596.210120][3268141:3268144] CHIP:DL: Bluez disconnected
[1651655596.210153][3268141:3268144] CHIP:DL: Bluez notify CHIPoBluez connection disconnected
[1651655596.210240][3268141:3268146] CHIP:IN: Clearing BLE pending packets.
[1651655607.453609][3268141:3268146] CHIP:DMG: Time out! failed to receive invoke command response from Exchange: 44183i
[1651655607.453676][3268141:3268146] CHIP:CTL: Received failure response when disarming failsafe../examples/chip-tool/third_party/connectedhomeip/src/app/CommandSender.cpp:211: CHIP Error 0x00000032: Timeout
[1651655607.453707][3268141:3268146] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
[1651655607.453739][3268141:3268146] CHIP:TOO: Device commissioning Failure: ../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:945: CHIP Error 0x000000AC: Internal error
[1651655607.453785][3268141:3268146] CHIP:DIS: Closing all BLE connections
[1651655607.453854][3268141:3268146] CHIP:DMG: ICR moving to [AwaitingDe]
[1651655607.454132][3268141:3268141] CHIP:CTL: Shutting down the commissioner
[1651655607.454229][3268141:3268141] CHIP:CTL: Shutting down the controller
[1651655607.454254][3268141:3268141] CHIP:CTL: Shutting down the commissioner
[1651655607.454298][3268141:3268141] CHIP:CTL: Shutting down the controller
[1651655607.454315][3268141:3268141] CHIP:IN: Expiring all connections for fabric 1!!
[1651655607.454350][3268141:3268141] CHIP:CTL: Shutting down the commissioner
[1651655607.454389][3268141:3268141] CHIP:CTL: Shutting down the controller
[1651655607.454404][3268141:3268141] CHIP:IN: Expiring all connections for fabric 2!!
[1651655607.454428][3268141:3268141] CHIP:CTL: Shutting down the commissioner
[1651655607.454466][3268141:3268141] CHIP:CTL: Shutting down the controller
[1651655607.454480][3268141:3268141] CHIP:IN: Expiring all connections for fabric 3!!
[1651655607.454501][3268141:3268141] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack
[1651655607.454650][3268141:3268141] CHIP:DMG: IM WH moving to [Uninitialized]
[1651655607.454667][3268141:3268141] CHIP:DMG: IM WH moving to [Uninitialized]
[1651655607.454679][3268141:3268141] CHIP:DMG: IM WH moving to [Uninitialized]
[1651655607.454690][3268141:3268141] CHIP:DMG: IM WH moving to [Uninitialized]
[1651655607.454702][3268141:3268141] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet
[1651655607.454742][3268141:3268141] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
[1651655607.454944][3268141:3268141] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-rit9kH)
[1651655607.455335][3268141:3268141] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1651655607.455379][3268141:3268141] CHIP:DL: NVS set: chip-counters/total-operational-hours = 17 (0x11)
[1651655607.455395][3268141:3268141] CHIP:DL: Inet Layer shutdown
[1651655607.455407][3268141:3268141] CHIP:DL: BLE shutdown
[1651655607.466156][3268141:3268141] CHIP:DL: System Layer shutdown
[1651655607.466269][3268141:3268141] CHIP:TOO: Run command failure: ../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:945: CHIP Error 0x000000AC: Internal error
In the file ble_commissioning_matter_template.txt, you can find the logging of my Matter device (Matter template example).
In the Open Thread Border Router Web Interface, I can see only the router that is present on the Open Thread Network. It means that my Matter device failed to be commissioned to the network. Could you help me please to solve the Verification Attestation Information error ?