-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in commissioning device via iOS CHIPTool app #15299
Comments
@woody-apple @bzbarsky-apple Can you please check and assign it to the relevant folks |
@sagar-apple any idea what's going on here? What I see in the logs is that we complete the SPAKE2 handshake, and then:
Those first two log lines are from this code in
But what I don't get is what chip_mdns has to do with any of this: we are failing out well before we have done any sort of mdns resolution apart from maybe on-network commissionable discovery... but it sure looks like we are discovering the right device in terms of talking to it, so I would not expect that to affect things here. |
Just prior to that, I wonder if this had anything to do with it.
For some reason looks like the app didn't have mDNS permission(User consent?) and that caused the mDNS pairing flow to early return and possibly clean up state internally. At the same time BLE Spake2+ starts going through and once it was done, we were in a screwed up state. |
Ajay if you can repro this, it would be good to know if it works if you explicitly allow CHIPTool local network access (Settings->CHIPTool->Local Network) and try this again. Without changing mDNS. |
Hi @sagar-apple I tested the scenario with default chip_mdns. I made sure that the app local network permission. On the app side, the
method is giving the following error:
|
Hey Ajay! Thanks for checking again. So weird, I see the same dns error that's causing an early return and terminating the pairing.
Can you make sure the you have the following items in CHIPTool's info.plist (they should be there by default). If they're somehow not then this would fail.
If you have those, it might be worth printing the
|
@ajay-gantayet What iOS version are you on? Can you try the latest beta builds? |
@sagar-apple my iOS version is 15.1. |
Are you able to try the latest iOS 15.4 beta? |
I will try it out and update you. |
@sagar-apple I was able to successfully commission device using iOS 15.4 beta. |
Problem
I am unable to commission matter device using the CHIPTool app.
device_logs.txt
iOS_app_logs.txt
We should be able to commissiond evice with the default settings. Could someone please hlep me with this?
The text was updated successfully, but these errors were encountered: