-
Notifications
You must be signed in to change notification settings - Fork 23
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] mDNSResponder: Default: mDNSCoreReceiveResponse: Unexpected conflict discarding #423
Comments
Hi @OlivierGre, Are you trying the commissioning through the TH UI, right? |
Hi Antonio, So, to replicate the problem, I do:
I copy the dataset in an environment variable called DataSet. Then I launch the commissioning with: The commissioning fails because the device is not able to join the operational network. I then check the logs with “docker logs otbr-chip”. I have attached the log. Shall I reassign the ticket to you? Thank you |
I have some interesting findings: Before installing "v2.11-beta3.1+fall2024", I was on "v2.10.1+spring2024". Commissioning was working when I started the OTBR manually with "otbr_start.sh" and chiptool but not when the OTBR was started by TH. I have then moved to "v2.11-beta3.1+fall2024" and Commissioning is no more working at all. Today, I have cloned the version "v2.10.1+spring2024" of certification-tool in a separate directory (certification-tool-old). From this certification-tool-old directory, I have launched the OTBR: Then I have launched the commissioning. It is working without problem (I have tested it twice). Then I have used the certification-tool directory for "v2.11-beta3.1+fall2024" and commissioning is still failing the same. The device doesn't succeed to attach. So it seems that there is something wrong with the new scripts. I'm attaching 4 logs:
When the commissioning is working, the docker log contains the same errors about Avahi-daemon, "Failed to write CLI output: Broken pipe" and "Unexpected conflict discarding XXXX". log_2024_09_25_commissioning_nok_chiptool_traces.txt |
I'm currently updating my RCP firmware. I was on rcp_thread_1_3_nrf52840dongle_nrf52840_v2.0.2.zip and I'm installing the version indicated in the user guide (https://groups.csa-iot.org/wg/matter-csg/document/34870) : otbr_9185bda_nrf52840dongle_ncs_2_4_3_.zip |
Hi @OlivierGre, Thanks for the meticulous feedback. That's helpful. I'll analyze the files you shared and try to make some tests, maybe I spot something. |
Hi Antonio, |
Hi Oliver, I couldn't reproduce the error from my side unfortunately. I managed to start the OTBR and pair using the chip-tool command you mentioned before on Can you test something out? Can you try to replace the current I'm attaching below as a .txt file. You could just copy/paste over the the current one: It's just a theory but maybe the new version with the fixed thread parameters could be causing a conflict. |
I'm in the middle of installing Ubuntu (Desktop) 24.04 from scratch on a new SD Card. Yesterday I have followed your discussion in #420 and I have tried the script modified with BR_VARIANT added. It didn't fix my issue. I continue the installation on a new SD card. Are you using a nordic RCP? |
I see, so you already tested the old script out... Yeah, my test environment here is a nordic RCPDongle with the raspberry. Let me know the results for the SD card from scratch. |
Hi Antonio, I'm suspecting that it is related to the OTBR settings, I will give it a try in a while. |
I have used ot-ctl commands to set a DataSet that was working but it did not solve the problem.
|
I should now try a different end device. I'm not available to try that in the coming hours, I will try later |
Hi Olivier, Ok, I'll be in standby for your results. |
Hi Antonio, I don't think that the problem is due to the end device because, if I use a different Border Router (not the one in docker), I have no problem to commission this device to a BR set with Channel 15. So I'm wondering if the problem could come from the nrf52840 RCP dongle. On monday I will be able to try another one. |
Hey Olivier, That's interesting. I'll try to experiment with others channels and verify if any problem occurs. From the docker logs I noted just failed UDP messages failing to be sent in the end, but the configuration part doesn't seem to present an error I think. Nothing that caught my eyes at least. About the Nanoleaf, I never tried with TH and mine unfortunately is not hard resetting anymore (even with the 3s On, 1s off procedure), so I can't try from my side. But could work with the info of the QRCode. |
So I made some tests with channels and I managed to use the channels 11, 20 and 25 in sequence in my environment. I attached the files testing the |
Hi Antonio, |
Describe the bug
I have installed the latest TH environment ("v2.11-beta3.1+fall2024") on my RPi4. To do so, I have had to upgrade it to Ubuntu 24.04 (A side comment: I have done an upgrade and not a reinstall from scratch).
The OTBR is started with :
./certification-tool/backend/test_collections/matter/scripts/OTBR/otbr_start.sh
I'm then facing a problem when I try to commission a Thread device. The Thread device receives the correct Dataset but don't succeed to joing the Thread network.
On the RPi, I have used the command "docker logs otbr-chip" to see the log. I'm attaching it here.
In this log, I observe the following:
According to this message on Slack (https://csamembers.slack.com/archives/C03MA7WR7Q8/p1668433913997599?thread_ts=1668432778.252049&cid=C03MA7WR7Q8) Avahi should not run at all in OTBR docker. This is mDNSResponder which is used instead. So it is maybe normal to have this avahi-daemon error.
In the log, I can see this message:
Failed to write CLI output: Broken pipe
Don't know how critical it is.
And last but not least: While looking at mDNSResponder (which is used instead of Avahi), I can see those errors:
Do you think that my commissioning problem is due to this error? How can I fix those "Unexpected conflict"?
Steps to reproduce the behavior
Start the OTBR:
./certification-tool/backend/test_collections/matter/scripts/OTBR/otbr_start.sh
Look at the logs:
docker logs otbr-chip
Expected behavior
No error
Log files
otbr_logs.txt
PICS file
No response
Screenshots
No response
Environment
TH v2.11-beta3.1+fall2024 on Ubuntu 24.04
Additional Information
No response
The text was updated successfully, but these errors were encountered: