project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
326 stars 45 forks source link

Provisioning with Amazon Alexa fails with Invalid Cert error during the Case 3 step #109

Closed Zercerium closed 8 months ago

Zercerium commented 1 year ago

reproduction:

  1. cloned the current main branch and run cargo build on my machine
  2. opened the Alexa App on my phone to add a new device, a matter device was recognised suggested
  3. scanned the QR code from the terminal with the phone

expected: successful pairing outcome: The Alexa App says: "Something gone wrong, an unexpected error occurred, please try again later" (Translated)

the important lines could be

[2023-10-03T15:07:59Z ERROR rs_matter::secure_channel::case] Certificate Chain doesn't match: Invalid: 
[2023-10-03T15:07:59Z ERROR rs_matter::tlv::parser] Invalid value found: 0 self TLVListIterator { buf: [1, 0, 0, 0, 0, 0, 2, 0], current: 8 } size 1

log.txt

jorge-recio commented 11 months ago

Hi, I was able to reproduce the issue. I'm using an Echo 4. Any ideas to solve it?

ivmarkov commented 10 months ago

Sorry for the delayed response. I'll get there, in the next couple of weeks.