-
Notifications
You must be signed in to change notification settings - Fork 239
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
Race Condition in otbr-web Start During Boot #2388
Comments
I guess it's probably because
I'm curious why you needed to stop it twice (or is it a typo? 😃 ).
Do you have logs supporting this? As far as I know this should rarely happen because the mDNS service instance name of a device ends with last few digits of its extended MAC address. |
That's just a typo :)
It was only my guess based on |
The error |
Closing stale issue. |
Describe the bug A clear and concise description of what the bug is.
I have OTBR currently running on an RPI device (both 3 and 4 repro this issue). I am able to successfully start otbr-agent and it runs fine (including when started automatically as part of the boot process), but otbr-web fails after boot with error
[ERR ]-WEB-----: OpenThread daemon is not running.
Running
systemctl stop otbr-web
and thensystemctl stop otbr-web
to restart the service fixes the issue, and it runs without any errors.To Reproduce Information to reproduce the behavior, including:
Expected behavior A clear and concise description of what you expected to happen.
The web service should correctly delay starting until the agent is running.
Console/log output If applicable, add console/log output to help explain your problem.
on boot:
otbr-web (via
systemctl status otbr-web.service
):otbr-agent (via
systemctl status otbr-agent.service
):after restarting otbr-web with commands earlier (ignore the timestamps):
Additional context Add any other context about the problem here.
I've got 3 OTBR devices (RPI3, RPI4, mini computer w/ home assistant) as well as an official Thread Border Router (Nest device) running on my wifi network (though no thread network as of yet). It's possible they are all fighting over the same mDNS name, and the probe -> retry -> repeat... name resolution process is taking a long time
The text was updated successfully, but these errors were encountered: