-
Notifications
You must be signed in to change notification settings - Fork 5
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
Commissioning fails on Linux #16
Comments
Ah, could you also share the full rust side logs from Linux? |
I think what is likely happening is that commissioning worked for you once (after you fixed the mDNS). But then once commissioning has happened matter-rs persistently stored a record of it, and hence the next time the commissioning is not enabled (hence PASE is disabled).
|
Thank you for your quick reply! This actually did the trick. I have succesfully commissioned the device and toggled the onoff state. However, there are still some quirks. First off, my
|
I haven't noticed this problem on the Mac, I usually switch the terminal and run the commissioning command, but let me keep trying. From the logs, what it looks like is that the PBKDFResponse from Plonk takes longer to reach the chip-tool and hence it triggers a retransmission (chip-tool timestamps: 1662990308.290657 and 1662990313.197467). This retransmission probably is causing the state machine to end up in a weird state. I will create a separate issue to track this. |
I am not too familiar with astro_dnssd, but is it likely that this condition gets hit during the execution on Linux? |
Sounds reasonable to me. Anyway, I don't really feel like this avahi apple compatibility layer is really the way to go, with this warning being presented on every run:
I therefore experimented with the |
Hi, I've been experimenting with your implementation of #18 Edit: libmdns seems to have an issue - when received a query for All, it doesn't actually return all records and the client is confused. Not sure if this is a thing in the spec or something else. Also, would you mind opening this PR on this repo: https://github.com/project-chip/matter-rs ? |
Derive PartialOrd for AttrValue so we can compare them directly
Hi all!
I really appreciate your work on this crate; The functionality that is already implemented looks quite promising to me!
Unfortunately, I was not yet able to commission the example as described in the README because the CHIP tool crashes. Here is an extract of the log:
The Rust example itself logs two error messages:
From briefly looking at the code, I assume that you are working on MacOS? I am on Ubuntu 22.04, so this may be part of the problem. For testing purpose, I added an MDNS implementation for
sys_publish_service()
tosys/sys_linux.rs
. However, the second error remained, so I suppose this is the actual problem. Could you give me some hints?Thanks four your help!
Regards :)
The text was updated successfully, but these errors were encountered: