-
-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Describe the bug
I try to pair the bridge with Google Home and see in the logs that it fails because of missing country code parameter.
Credential generation fails because of this.
[17:02:35.857][PaseServer]Received pairing request from udp://[fdd4:7096:9c02:4af8:d0e9:e7f8:9e4e:10dd]:37507.
info[17:02:36.129][PaseServer]Session 32349 created with udp://[fdd4:7096:9c02:4af8:d0e9:e7f8:9e4e:10dd]:37507.
info[17:02:36.145][InsecureSession]End insecure session insecure/3701538282845185983
info[17:02:36.313][ProtocolService]Invoke Matterbridge.operationalCredentials.certificateChainRequest online#3d3eadf@0 certificateType: 1
info[17:02:36.964][ProtocolService]Invoke Matterbridge.generalCommissioning.armFailSafe online#3d3eae4@0 expiryLengthSeconds: 120 breadcrumb: 1
info[17:02:37.059][CommandInv~eResponse]Validation-Error 0x87 while invoking command: (ValidationOutOfBoundsError/135) String "" is too short: 0, min 2. in field countryCode
info[17:02:37.063][CommandInv~eResponse]Invoke error RootNode:0x0.GeneralCommissioning:0x30.setRegulatoryConfig:0x2: Status=ConstraintError(135), ClusterStatus=undefined
info[17:02:37.105][ProtocolService]Invoke Matterbridge.generalCommissioning.armFailSafe online#3d3eaec@0 expiryLengthSeconds: 1 breadcrumb: 1
info[17:02:38.111][FailsafeContext]Failsafe timer expired; resetting fabric builder
info[17:02:38.117][SecureSession]Register Session secure/32349 to close when exchange is ended.To Reproduce
Try to pair with latest Google Home backed by Nest 2 and get this error in the logs that denies credentials exchange.
I use Google Pixel 10 to initiate the pairing via reading the QR code generated by the bridge.
If fails with an error and I see the following logs
[17:02:35.857][PaseServer]Received pairing request from udp://[fdd4:7096:9c02:4af8:d0e9:e7f8:9e4e:10dd]:37507.
info[17:02:36.129][PaseServer]Session 32349 created with udp://[fdd4:7096:9c02:4af8:d0e9:e7f8:9e4e:10dd]:37507.
info[17:02:36.145][InsecureSession]End insecure session insecure/3701538282845185983
info[17:02:36.313][ProtocolService]Invoke Matterbridge.operationalCredentials.certificateChainRequest online#3d3eadf@0 certificateType: 1
info[17:02:36.964][ProtocolService]Invoke Matterbridge.generalCommissioning.armFailSafe online#3d3eae4@0 expiryLengthSeconds: 120 breadcrumb: 1
info[17:02:37.059][CommandInv~eResponse]Validation-Error 0x87 while invoking command: (ValidationOutOfBoundsError/135) String "" is too short: 0, min 2. in field countryCode
info[17:02:37.063][CommandInv~eResponse]Invoke error RootNode:0x0.GeneralCommissioning:0x30.setRegulatoryConfig:0x2: Status=ConstraintError(135), ClusterStatus=undefined
info[17:02:37.105][ProtocolService]Invoke Matterbridge.generalCommissioning.armFailSafe online#3d3eaec@0 expiryLengthSeconds: 1 breadcrumb: 1
info[17:02:38.111][FailsafeContext]Failsafe timer expired; resetting fabric builder
info[17:02:38.117][SecureSession]Register Session secure/32349 to close when exchange is ended.Expected behavior
Credentials exchange succeeds and my exposed devices are available to Google Home.
Debug file
I'll provide it, if the issue is not obvious from the log above.
Plugin (please complete the following information):
- Version 3.4.0
Matterbridge (please complete the following information):
- Add-on in HAAS
Additional context
This seems like protocol comparability issue where credential exchange fails because of validation errors as seen in the logs
