Hi,
I wanted to try using the new NWBrowser available in iOS 13 to replace my old Bonjour browsing code(NetServiceBrowser), problem is I'm unabe to get all IPv6 Addresses(except link local address) of the service I'm looking for.
In my environment, when I checked with ifconfig command, there are three IPv6 addresses.
fe80::c092:a0ff:fe51:3c8
fd1c:efcd:7e66:0:c092:a0ff:fe51:3c8
fd1c:efcd:7e66:0:68d:6b27:81e2:7511
Using NWBrowser and NWConnection, I ended up getting #1 address but I couldn't get #2, #3 addresses.
Here is my code.
let bonjour = NWBrowser.Descriptor.bonjourWithTXTRecord(type: serviceType, domain: searchDomain)
let params = NWParameters.init()
self.nwBrowser = NWBrowser(for: bonjour, using: params)
self.nwBrowser?.browseResultsChangedHandler = { [weak self] results, changes in
guard let self = self else { return }
for change in changes {
if case .added(let result) = change {
let connection = NWConnection(to: result.endpoint, using: .udp)
connection.stateUpdateHandler = { [weak self] state in
switch state {
case .ready:
if let remoteEndpoint= connection.currentPath?.remoteEndpoint,
case .hostPort(let host, let port) = innerEndpoint {
// here I can get #1 address from host
// but, I couldn't get #2, #3 addresses
}
}
}
connection.start(queue: .main)
}
}
}
self.nwBrowser?.start(queue: .main)
Using NetServiceBrowser and netServiceDidResolveAddress(), I can get All IP addresses(#1, #2, #3)
Here is my code.
let netServiceBrowser = NetServiceBrowser()
netServiceBrowser.delegate = self
netServiceBrowser.searchForServices(ofType: serviceType, inDomain: searchDomain)
func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing: Bool) {
service.delegate = self
service.resolve(withTimeout: resolutionTimeoutSeconds)
}
func netServiceDidResolveAddress(_ service: NetService) {
// service.addresses is [Data], I can get all addresses I want.
}
I wonder if getting only Link Local Address through NWConnection is the intended behavior.
Or is there a way to get all address using NWBrowser and NWConnection?
Post
Replies
Boosts
Views
Activity
Hi,
I wanted to use MatterAddDeviceRequest api in MatterSupport.
When I called api, system pop-up shows up and then right after tapping 'Add to @' button, pop-up always shows HMErrorDomain 76 error.
I found this code in HomeKit.HMError
case keychainSyncNotEnabled = 76
I wonder that enabling keychain sync is mandatory to use MatterAddDeviceRequest api?
Or could you tell me why this error always occurs?
Thanks!
Hi,
When I use MatterAddDeviceRequest api in MatterSupport, system pop-up shows error after CASE session.
After getting Commissioning complete status, it gets unexpected error as follow.
error 20:03:52.483305+0900 homed [CHIPAccessoryServer[2929489573/1]] Failed to retrieve serial number: Error Domain=MTRInteractionErrorDomain Code=134 "The specified attribute or attribute data field or entry does not exist on the device." UserInfo={NSLocalizedDescription=The specified attribute or attribute data field or entry does not exist on the device.}
2error 20:03:52.483479+0900 homed [CHIPAccessoryServer[2929489573/1]] Failed to fetch serial number of CHIP Accessory with error Error Domain=MTRInteractionErrorDomain Code=134 "The specified attribute or attribute data field or entry does not exist on the device."
3UserInfo={NSLocalizedDescription=The specified attribute or attribute data field or entry does not exist on the device.}
Serial number is optional for Matter spec.
Could you please tell me why this error occurs?
Here is the console log,
default 20:03:52.311598+0900 homed DevicePairingDelegate Commissioning complete. NodeId 2929489573 Status ../../../../../../../../Sources/CHIPFramework/connectedhomeip/src/controller/CHIPDeviceController.cpp:1962: Success ////
2default 20:03:52.311708+0900 homed 🟢 [1669201432311] [145:1833690] CHIP: [DMG] ICR moving to [AwaitingDe]
default 20:03:52.313643+0900 homed 🟢 [1669201432313] [145:1833690] CHIP: [CTL] OperationalSessionSetup[1:00000000AE9C76A5]: State change 1 --> 5
20default 20:03:52.313684+0900 homed 🟢 [1669201432313] [145:1833690] CHIP: [DMG] SendReadRequest ReadClient[0x9008c1a80]: Sending Read Request
21default 20:03:52.313947+0900 homed 🔵 [1669201432313] [145:1833690] CHIP: [IN] Prepared secure message 0x9008b6ab8 to 0x00000000AE9C76A5 (1) of type 0x2 and protocolId (0, 1) on exchange 52688i with MessageCounter:24415435.
22default 20:03:52.313988+0900 homed 🔵 [1669201432313] [145:1833690] CHIP: [IN] Sending encrypted msg 0x9008b6ab8 with MessageCounter:24415435 to 0x00000000AE9C76A5 (1) at monotonic time: 000000002E0C7575 msec
23default 20:03:52.314301+0900 homed 🟢 [1669201432314] [145:1833690] CHIP: [DMG] MoveToState ReadClient[0x9008c1a80]: Moving to [AwaitingIn]
24default 20:03:52.401751+0900 homed 🔵 [1669201432384] [145:1833686] CHIP: [DIS] Checking node lookup status after 202 ms
25default 20:03:52.401818+0900 homed 🟢 [1669201432384] [145:1833686] CHIP: [DIS] OperationalSessionSetup[1:00000000AE9C76A5]: Updating device address to UDP:[fe80::464f:8eff:fe02:f596%en0]:5540 while in state 2
26default 20:03:52.401899+0900 homed 🟢 [1669201432384] [145:1833686] CHIP: [CTL] OperationalSessionSetup[1:00000000AE9C76A5]: State change 2 --> 3
27default 20:03:52.480226+0900 homed 🔵 [1669201432480] [145:1833686] CHIP: [EM] Received message of type 0x10 with protocolId (0, 0) and MessageCounter:71854311 on exchange 52687i
28
29error 20:03:52.480473+0900 homed 🔴 [1669201432480] [145:1833686] CHIP: [EM] OnMessageReceived failed, err = ../../../../../../../../Sources/CHIPFramework/connectedhomeip/src/messaging/ExchangeMgr.cpp:275: CHIP Error 0x00000070: Unsolicited msg with originator bit clear
30
31default 20:03:52.480604+0900 homed 🔵 [1669201432480] [145:1833686] CHIP: [EM] Received message of type 0x5 with protocolId (0, 1) and MessageCounter:71854312 on exchange 52688i
32default 20:03:52.480709+0900 homed 🟢 [1669201432480] [145:1833686] CHIP: [EM] Found matching exchange: 52688i, Delegate: 0x9008c1a90
33default 20:03:52.482672+0900 homed 🟢 [1669201432480] [145:1833686] CHIP: [EM] Rxd Ack; Removing MessageCounter:24415435 from Retrans Table on exchange 52688i
34default 20:03:52.482789+0900 homed 🟢 [1669201432480] [145:1833686] CHIP: [EM] Removed CHIP MessageCounter:24415435 from RetransTable on exchange 52688i
35default 20:03:52.482897+0900 homed 🟢 [1669201432481] [145:1833686] CHIP: [EM] Sending Standalone Ack for MessageCounter:71854312 on exchange 52688i
36default 20:03:52.482974+0900 homed 🔵 [1669201432481] [145:1833686] CHIP: [IN] Prepared secure message 0x16d319228 to 0x00000000AE9C76A5 (1) of type 0x10 and protocolId (0, 0) on exchange 52688i with MessageCounter:24415436.
37default 20:03:52.483037+0900 homed 🔵 [1669201432481] [145:1833686] CHIP: [IN] Sending encrypted msg 0x16d319228 with MessageCounter:24415436 to 0x00000000AE9C76A5 (1) at monotonic time: 000000002E0C761D msec
38default 20:03:52.483129+0900 homed 🟢 [1669201432481] [145:1833686] CHIP: [EM] Flushed pending ack for MessageCounter:71854312 on exchange 52688i
39default 20:03:52.483239+0900 homed 🟢 [1669201432482] [145:1833686] CHIP: [CTL] Response Time: PFvPvN4chip4SpanIKcEEE+1193323840 0.168765 seconds
40
41error 20:03:52.483305+0900 homed [CHIPAccessoryServer[2929489573/1]] Failed to retrieve serial number: Error Domain=MTRInteractionErrorDomain Code=134 "The specified attribute or attribute data field or entry does not exist on the device." UserInfo={NSLocalizedDescription=The specified attribute or attribute data field or entry does not exist on the device.}
42error 20:03:52.483479+0900 homed [CHIPAccessoryServer[2929489573/1]] Failed to fetch serial number of CHIP Accessory with error Error Domain=MTRInteractionErrorDomain Code=134 "The specified attribute or attribute data field or entry does not exist on the device."
43UserInfo={NSLocalizedDescription=The specified attribute or attribute data field or entry does not exist on the device.}
error 20:03:53.035959+0900 homed [CHIPPluginDescriptorClusterManager] Mandatory characteristic <private> cannot be found in clusters in use at endpoint 1.
error 20:03:54.150008+0900 HomeUIService [45A57529-5E82-4090-94F2-80EE3A383CA7] Failed to stage CHIP accessory pairing in steps: Error Domain=HMErrorDomain Code=2
error 20:03:54.150338+0900 HomeUIService -[HSSetupStateMachineCHIPPartnerConfiguration stageCHIPAccessory]_block_invoke Failed to stage CHIP accessory: Error Domain=HMErrorDomain Code=2
default 20:03:54.150574+0900 HomeUIService stageCHIPAccessory hit error Error Domain=HMErrorDomain Code=2
Thank you.
Hi,
When I use MatterAddDeviceRequest api in MatterSupport, system pop-up shows Pairing failed error.
Could you please look into this why it occurs?
If you provide the solution, it would be great help for me to add Matter device.
Thank you.
This is console log.
2022-12-26 15:53:53.151 [matter:1320010] 🔵 [1672037633151] [2422:1320010] CHIP: [DIS] Browsing for: _matterc._udp,_L1880
2
2022-12-26 15:53:53.153 [matter:1320316] 🟢 [1672037633152] [2422:1320316] CHIP: [DIS] Mdns: OnBrowseAdd name: 76549AC95D2520BF, type: _matterc._udp., domain: local., interface: 13
3
2022-12-26 15:53:53.153 [matter:1320316] 🟢 [1672037633152] [2422:1320316] CHIP: [DIS] Resolve type=_matterc._udp name=76549AC95D2520BF interface=13
4
2022-12-26 15:53:53.154 [matter:1320271] 🟢 [1672037633153] [2422:1320271] CHIP: [DIS] Mdns : OnNewInterface hostname:E2A2EB59C4923697.local. fullname:76549AC95D2520BF._matterc._udp.local. interface: 13 port: 42005 TXT:" VP=65521+32774 SII=6000 SAI=500 T=0 D=1880 CM=2 PH=36 PI="
5
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Mdns: OnNewAddress interface: 13 ip:fd49:f8b0:496b:1:a6de:22c7:52c7:f7
6
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Mdns: OnNewAddress interface: 0 ip:218.38.137.27
7
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Mdns: Resolve success on interface 0
8
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Discovered node:
9
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] IP Address #1: 218.38.137.27
10
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Mrp Interval idle: not present
11
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Mrp Interval active: not present
12
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] TCP Supported: 0
13
2022-12-26 15:53:53.156 [matter:1320271] 🟢 [1672037633156] [2422:1320271] CHIP: [DIS] Commissioning Mode: 0
14
2022-12-26 15:54:23.155 [matter:1320271] E 🔴 [1672037663154] [2422:1320271] CHIP: [CTL] Discovery timed out
Hi,
I have Eve devices and I wanted to add them but popup shows that
"Could Not Add Accessory"
"Unable to connect to accessory. Check the setup code and try again."
I scanned QR code which was made from
https://qr.evehome.com/
Serial Number: SV17L1A00918
Could you please help this problem?
Thank you.
Hello,
I think that I found a bug with NWBrowser and I'd like to ask you can fix this.
Problem
NWBrowser does not return the result to the app, while NetServiceBrowser returns.
Problem occurs when using only Meross device, in other Matter device cases, both api works fine.
Actually I want to get TXT Record from Meross, but failed with NWBrowser
Steps
Add Meross plug device (Matter, Wi-Fi device) to Apple Home app
Turn On Pairing Mode of Meross device
When I try to discover it with NWBrowser > it is NOT discovered (with NetServiceBrowser > it is discovered)
Results
When I use NWBrowser, I can't get any result from the handler.
On the other hand, with NetServiceBrowser, I can get a result.
When I capture the packets with WireShark, the packets are same on both cases
Case1: with NWBrowser
Case2: with NetServiceBrowser
With same packets, Case1 does not return any result and Case2 returns results.
I'm trying to attaching the WireShark capture file and iOS console logs, but it continuosly fails. Please let me know how I can send them.
Code
Her is my code.
NWBrowser
let bonjourWithTXT = NWBrowser.Descriptor.bonjourWithTXTRecord(type: "_matterc._udp.", domain: "local.")
let params = NWParameters.init()
self.nwBrowser = NWBrowser(for: bonjourWithTXT, using: params)
self.nwBrowser?.browseResultsChangedHandler = { [weak self] results, changes in
// Can not get any results here //
}
self.nwBrowser?.start(queue: .main)
NetServiceBrowser
self.bonjourBrowser = NetServiceBrowser()
self.bonjourBrowser?.delegate = self
self.bonjourBrowser?.searchForServices(ofType: "_matterc._udp.", inDomain: "local.")
func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing: Bool) {
service.delegate = self
service.resolve(withTimeout: resolutionTimeout)
netService.insert(service)
}
func netServiceBrowser(_ browser: NetServiceBrowser, didRemove service: NetService, moreComing: Bool) {
netServices.remove(service)
}
func netServiceDidResolveAddress(_ service: NetService) {
// I can get found services here //
}
Commissioning from the CHIPDeviceController of the iOS Matter Stack fails due to the Incorrect state
Hello.
When I call MatterAddDeviceRequest API, it returns HMErrorDomain Code=18 "Pairing Failed" error.
As I seeing the log, commissioning from the CHIPDeviceController of the iOS Matter Stack fails due to the Incorrect state.
Here is the log:
default 10:41:50.653975-0500 HomeUIService [d <private>] <PKHost:0x283e6b000> Beginning discovery for flags: 1024, point: com.apple.matter.support.extension.device-setup
default 10:41:50.891778-0500 homed Setting thread operational dataset from parameters
default 10:41:50.891926-0500 homed Setting attestation nonce to random value
default 10:41:50.892235-0500 homed Setting CSR nonce to random value
error 10:41:50.892287-0500 homed Commissioning already in progress - not restarting
error 10:41:50.892648-0500 homed Error(../../../../../../../../Sources/CHIPFramework/connectedhomeip/src/controller/CHIPDeviceController.cpp:811: CHIP Error 0x00000003: Incorrect state): Failure while pairing the device
error 10:41:50.892873-0500 homed [3262693301/1] Commissioning failed: Error Domain=MTRErrorDomain Code=6 "Invalid object state." UserInfo={NSLocalizedDescription=Invalid object state., underlyingError=<private>}
error 10:41:50.892905-0500 homed [3262693301/1] CHIP Accessory pairing failed: Error Domain=MTRErrorDomain Code=6 "Invalid object state." UserInfo={NSLocalizedDescription=Invalid object state., underlyingError=<private>}
error 10:41:50.892930-0500 homed [3262693301/1] Cleaning up state due to pairing failure
connectedhomeip/src/controller/CHIPDeviceController.cpp :
CHIP_ERROR DeviceCommissioner::Commission(NodeId remoteDeviceId)
{
…
if (mCommissioningStage != CommissioningStage::kSecurePairing)
{
ChipLogError(Controller, "Commissioning already in progress - not restarting");
return CHIP_ERROR_INCORRECT_STATE;
}
Is there any update for this problem?
I have tried to add Meross matter plug but still pairing failed, it reported always same error.
error: related decl 'e' for HMErrorCode(_nsError: Error Domain=HMErrorDomain Code=18 "Pairing Failed" UserInfo={NSLocalizedDescription=Pairing Failed, NSUnderlyingError=0x281503cc0 {Error Domain=HAPErrorDomain Code=3 "(null)"}})
Hi, I have tried to add Eve energy plug but still pairing failed, it reported always same error.
Error Domain=com.apple.MatterSupport Code=1 "(null)"
Could anyone help?
Regards
Hello.
I'd like to report something different behavior with before.
In previous versions of iOS (16.1~), after completing Apple Home app → SmartThings iOS app Multi Fabric onboarding, there was only one iOS system fabric in the device's fabric list as shown below.
Apple Home app
Apple Keychain (iOS system fabric commissioned by the Apple Home app or SmartThings iOS app)
SmartThings
In iOS 16.6.1, after completing Apple Home app → ST iOS app Multi Fabric onboarding, the device's fabric list has been changed to include two iOS system fabrics as shown below.
Apple Home app
Apple Keychain (iOS system fabric commissioned by the Apple Home app)
Apple Keychain (iOS system fabric commissioned by the SmartThings iOS app)
SmartThings
At this time, if the user removes the device from the SmartThings iOS app, only SmartThings fabric (4) will be deleted and Apple Keychain (3) will remain.
Apple Home app
Apple Keychain (iOS system fabric commissioned by the Apple Home app)
Apple Keychain (iOS system fabric commissioned by the SmartThings iOS app)
I'm afraid that it will fail if I try to add my device to Google Home or Alexa. Because max fabric count is 5 and it counts Apple keychain also.
Is this behavior expected?
Thanks.
Hello.
I'd like to ask below issue.
I have two SmartThings hub and one Matter device.
After I add it to the first hub, and then share this to the second hub with QR code, it always fails with below log. (SmartThings app shows both MPC and QR code when sharing a device)
with MPC code, it works fine
with QR code, it always fails in HomeUIService
default 23:15:16.895670+0900 homed >>> [E:42896i S:51446 M:229068112 (Ack:46785785)] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
default 23:15:16.897723+0900 homed Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001
default 23:15:16.897753+0900 homed Failsafe disarmed
default 23:15:16.897789+0900 homed Successfully finished commissioning step 'Cleanup'
default 23:15:16.897823+0900 homed DeviceControllerDelegate Commissioning complete. NodeId 965088193 Status ../../../../../../../../Sources/CHIPFramework/connectedhomeip/src/controller/CHIPDeviceController.cpp:1405: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists
default 23:15:16.897892+0900 proximitycontrold < 91167F44>: Needs to restart ranging session as guest
default 23:15:16.897933+0900 homed SecureSession[0xda63c2b50]: Moving from state 'kActive' --> 'kPendingEviction'
error 23:15:16.898150+0900 homed Creating NSError from ../../../../../../../../Sources/CHIPFramework/connectedhomeip/src/controller/CHIPDeviceController.cpp:1405: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists
error 23:15:16.899257+0900 homed [965088193/1870446891] CHIP Accessory pairing failed: Error Domain=MTRErrorDomain Code=11 "The device is already a member of this fabric." UserInfo={NSLocalizedDescription=The device is already a member of this fabric.}
error 23:15:16.901186+0900 homed [188914BD-5163-425C-9E59-CAE9BFA1A288] Failed to stage CHIP accessory pairing for request UUID <private>: Error Domain=HMErrorDomain Code=13 "Accessory is already paired" UserInfo={NSLocalizedDescription=Accessory is already paired, NSUnderlyingError=0xda63f4600 {Error Domain=HAPErrorDomain Code=18}}
error 23:15:16.901587+0900 HomeUIService [34760036-B05B-475C-9C00-592445A9A053] Failed to stage CHIP accessory pairing in steps: Error Domain=HMErrorDomain Code=13 UserInfo={NSLocalizedDescription=<private>, NSUnderlyingError=0x2824bac70 {Error Domain=HAPErrorDomain Code=18}}
default 23:15:16.901762+0900 homed Answering incoming message HMASC.m.confirmDeviceCredential (795677CF-21ED-4E60-A5D5-3A7BF67BACCB) from client 'HomeUIService' that does expect a response with error Error Domain=HMErrorDomain Code=13 "Accessory is already paired" UserInfo={NSLocalizedDescription=Accessory is already paired, NSUnderlyingError=0xda63f4600 {Error Domain=HAPErrorDomain Code=18 "(null)"}}
default 23:15:16.902126+0900 HomeUIService -[HSSetupStateMachineCHIPPartnerConfiguration stageCHIPAccessory]_block_invoke Staged CHIP accessory without stagedCHIPAccessoryPairingIdentifier as it is already paired.
error 23:15:16.902254+0900 homed [188914BD-5163-425C-9E59-CAE9BFA1A288] tag="stagedPairingFailure" desc="Failed to stage CHIP accessory for request UUID" errorDomain="HMErrorDomain" errorCode="13" underlyingErrorDomain="HAPErrorDomain" underlyingErrorCode="18"
error 23:15:16.975718+0900 homed Creating NSError from /Library/Caches/com.apple.xbs/Sources/CHIPFramework/connectedhomeip/src/darwin/Framework/CHIP/MTRDeviceController.mm:701: CHIP Error 0x00000003: Incorrect state
error 23:15:16.975922+0900 homed [965088193/1870446891] Error: Error Domain=MTRErrorDomain Code=6 "Invalid object state." UserInfo={NSLocalizedDescription=Invalid object state.}. Failed to establish a connection to the device for unpairing. The device will not be notified of removal
error 23:15:16.979939+0900 homed Failed to remove keychain entry for accessory <HMDUnpairedHAPAccessory> - error Error Domain=HMErrorDomain Code=13 "Accessory is already paired" UserInfo={NSLocalizedDescription=Accessory is already paired, NSUnderlyingError=0xda63f4600 {Error Domain=HAPErrorDomain Code=18}}
I tried to add my Eve Weather and Door & Window.
It failed continuously and immediately with below log.
Nov 23 16:24:50 iPhone-2 homed(HomeKitMatter)[173] <Error>: [589021415/1061261160] CHIP Stack is not running
Nov 23 16:24:50 iPhone-2 homed(HomeKitMatter)[173] <Error>: [589021415/1061261160] CHIP Accessory pairing failed with error Error Domain=HAPErrorDomain Code=3
Nov 23 16:24:50 iPhone-2 homed(HomeKitDaemon)[173] <Error>: [188914BD-5163-425C-9E59-CAE9BFA1A288] Failed to stage CHIP accessory pairing for request UUID <private>: Error Domain=HMErrorDomain Code=18 "Pairing Failed" UserInfo={NSLocalizedDescription=Pairing Failed, NSUnderlyingError=0xc508b7df0 {Error Domain=HAPErrorDomain Code=3}}
Nov 23 16:24:50 iPhone-2 homed(HomeKitDaemon)[173] <Notice>: Answering incoming message HMASC.m.stageCHIPAccessoryPairingInSteps (2D3E9A84-52E8-4614-8B79-A23A5DBC245D) from client 'HomeUIService' that does expect a response with error Error Domain=HMErrorDomain Code=18 "Pairing Failed" UserInfo={NSLocalizedDescription=Pairing Failed, NSUnderlyingError=0xc508b7df0 {Error Domain=HAPErrorDomain Code=3 "(null)"}}
Nov 23 16:24:50 iPhone-2 homed(HomeKitMetrics)[173] <Error>: [188914BD-5163-425C-9E59-CAE9BFA1A288] tag="stagedPairingFailure" desc="Failed to stage CHIP accessory for request UUID" errorDomain="HMErrorDomain" errorCode="18" underlyingErrorDomain="HAPErrorDomain" underlyingErrorCode="3"
Nov 23 16:24:50 iPhone-2 HomeUIService(HomeKit)[521] <Error>: [CF47D609-EF2F-44E3-96EC-89906F4F33C4] Failed to stage CHIP accessory pairing in steps: Error Domain=HMErrorDomain Code=18 UserInfo={NSLocalizedDescription=<private>, NSUnderlyingError=0x283431fe0 {Error Domain=HAPErrorDomain Code=3}}
Hello.
I found that my iPhone has encountered same error continuously when I tried to commission my Eve Door & Window device.
Nov 12 11:33:48 iPhone homed(Matter)[181] <Error>: Can't extract public key from certificate: src/crypto/CHIPCryptoPALOpenSSL.cpp:1911: CHIP Error 0x0000002F: Invalid argument
Nov 12 11:33:48 iPhone homed(Matter)[181] <Error>: convertX509Certificate: src/credentials/CHIPCertFromX509.cpp:559: CHIP Error 0x0000002F: Invalid argument
Nov 12 11:33:55 iPhone homed(HomeKitMatter)[181] <Error>: [4264877660/1(3180582119)] Couldn't get device being commissioned for network scanning: (null)
Nov 12 11:33:55 iPhone homed(HomeKitDaemon)[181] <Error>: No unpaired accessory for server HMMTRAccessoryServer fa:e6:88:97:2a:ee
Nov 12 11:33:55 iPhone homed(HomeKitMetrics)[181] <Error>: [4264877660/1(3180582119)] tag="hmmtrAccessoryServerStateChange" desc="Error in progress state" errorDomain="MTRErrorDomain" errorCode="1" state="19"
Nov 12 11:33:55 iPhone homed(HomeKitMatter)[181] <Error>: [4264877660/1(3180582119)] CHIP Accessory pairing failed: Error Domain=MTRErrorDomain Code=1, <HMMTRAccessoryPairingEndContext, Step: HMMTRAccessoryPairingStep_GettingNetworkRequirement, Error: Error Domain=MTRErrorDomain Code=1 "The operation couldn\M-b\M^@\M^Yt be completed. (MTRErrorDomain error 1.)", Sourceerrordomain: MTRErrorDomain>
Is there anyone who has experienced or solved the same error as me?
Thanks.