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
[BUG] Matter never receives ack from Thread devices after operational discovery #33317
Comments
As an update to this, I found something that is off. During operational discovery, the name used for lookup within Matter is not the name that is publishing the operational discovery seen in avahi. Matter lookup: I would imagine that if Matter is doing a lookup on the wrong name, it will never find it, so this seems to be the crux of the issue. I did verify that the IPv6 address Matter is using is the correct one of the device on the Thread network. |
@fostergorman The log above shows the operational discovery succeeding just fine:
But then we never get a response or an ack for that message:
So:
|
Thank you for your response.
|
Well, clearly the Matter device doing the commissioning never got the response to Sigma1. So you should figure out where that response packet is being dropped in your specific network setup. Is it being sent by the Thread end device? If not, start there. If it is, then what happened to it? |
(And please fix the PR summary, since operational discovery worked just fine.) |
Reproduction steps
Hello, I am working on a PoC for a Matter hub and we want to have the hub also be a Thread Border Router. I have been working with this for a couple weeks now and have managed to get to operational discovery. Matter is able to connect to the device, but never receives an ack from the Thread devices.
This issue does not appear at all with WiFi devices.
Setup:
Raspberry Pi 4b with Ubuntu Server 23.10.
OTBR running in docker container
Commissioning with Matter (chip-tool)
chip-tool command executed:
chip-tool pairing code-thread 69 hex:0e08000000000001000035060004001fffe00708fd38de8fb4627cf00c0402a0f7f8051000112233445566778899aabbccddeeff030e4f70656e54687265616444656d6f0410445f2b5ca6f2a93a55ce570a70efeecb000300000f0208111111112222222201021234 05576556571 --paa-trust-store-path /opt/matter/certs
Debugging:
Currently able to get to the point where the Thread device is commissioned on the Thread network using Matter's chip-tool. Can confirm this by checking the child table within OTBR:
ot-ctl child table
.I have verified that there are no errors on the OTBR side. The packets are received and sent just fine.
I see the operational discovery packets using
avahi-browse -a
.chip-tool outputs an error,
Timeout waiting for mDNS resolution
, while on the FindOperational step:TLDR: Matter fails operational discovery of Thread devices even though operational discovery,
_matter._tcp
, is shown through avahi.Bug prevalence
Commissioning any Thread device
GitHub hash of the SDK that was being used
f52860e
Platform
raspi
Platform Version(s)
1.2
Anything else?
No response
The text was updated successfully, but these errors were encountered: