connectedhomeip: [BUG] Unable to commission device to custom fabric on iOS 16.5 and iOS 16.4.1

Reproduction steps

  1. Flash ESP32C3 with firmware from Espressif’s launchpad: https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-matter/launchpad.toml
  2. Scan following QR code using my app: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:Y.K9042C00KA0648G00
  3. Commissioning via MatterSupport succeeds, and then we try to commission device to our fabric using Matter.framework, it fails while trying to establish CASE session after sigma3 message is exchanged with the following logs:
I (97769) chip[SC]: Received Sigma3 msg
E (97779) chip[SC]: The device does not support GetClock_RealTimeMS() API: 6c.  Falling back to Last Known Good UTC TimeI (97839) chip[EM]: <<< [E:34962r S:0 M:260716879 (Ack:2389827)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (97859) chip[IN]: (U) Sending msg 260716879 to IP address 'UDP:[FE80::1892:39CD:6308:4C5A%st1]:62999'
E (98659) chip[CR]: mbedTLS error: ECP - The signature is not valid
E (98659) chip[DL]: Long dispatch time: 797 ms, for event type 2
I (98679) chip[EM]: <<< [E:34962r S:0 M:260716880 (Ack:2389827)] (U) Msg TX to 0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
  1. Tried the same with all-clusters-app/esp32 and lighting-app/esp32 example from connetedhomeip repo. Seeing the same issue there as well. (commit ID: 64bf86774fda0e2a5dcd6fdafb701d5cdc509aac).

Bug prevalence

Whenever I do this.

GitHub hash of the SDK that was being used

64bf86774fda0e2a5dcd6fdafb701d5cdc509aac

Platform

darwin, esp32

Platform Version(s)

iOS 16.5, 16.4.1

Anything else?

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 35 (14 by maintainers)

Most upvoted comments

@doctor-xray how do i confirm that RequestHandler is launched?

@doctor-xray thanks! now i can commission my device (I guess). been trying to figure out this stuff for over a week now.

this is how I commission using Matter framework setupCommissioningSession() -> commissioningSessionEstablishmentDone() controllerDelegate callback -> commissionNode()