project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.17k stars 1.9k forks source link

[BUG] Failed commissioning in CASE session of Fabric 2 with iPhone 8 and iOS 16.x #31403

Open hoanganhhao opened 5 months ago

hoanganhhao commented 5 months ago

Reproduction steps

For a few recent months, I can't not commissioning my Matter device with an iPhone 8 (iOS 16.x) and an Apple TV 4K 2022. In my Matter device's log, it often showed "Fail-safe timer expired" in CASE session of Fabric 2, maybe right after "Sent Sigma2 msg" (sometimes after Receive Sigma3 msg, sometimes before Receive Sigma1 msg): B2 The full logs is below, and it show "Fail-safe timer expired" in line 1699: log_20231223 Commissioning iPhone Keychain Failed.txt It's a little coincidence that this error occur after the day iOS 17 published. Before that, my iPhone 8 still be able to commission Matter devices as normal. And for now, my Matter device still be able to be commissioned by other iPhones. My Matter device is built on module RealTek BW16. And another Matter device built on ESP32C3 has the same issue. I did commissioning in usual way:

Bug prevalence

Whenever I commissioning my Matter device with an iPhone 8 (iOS 16.x).

GitHub hash of the SDK that was being used

connectedhomeip (branch v1.1-branch), ambd_matter (branch v1.1-branch)

Platform

ameba, esp32

Platform Version(s)

Matter device: RealTek BW16, ESP32C3Matter commissioner: iPhone 8 (iOS 16.x) with Apple TV 4K 2022, iPhone 8 (iOS 16.x) with Apple HomePod

Anything else?

I tried turning on "Passwords and Keychain" in iCloud Settings, but it didn't work I also tried update iOS 16 everytime it has new version, but it didn't work too

So does anybody has ideas why?

bzbarsky-apple commented 5 months ago

@hoanganhhao Please file a feedback assistant ticket following the directions below and put the ticket ID here.

Feedback assistant ticket: