-
Notifications
You must be signed in to change notification settings - Fork 33
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] Debian/Ubuntu zenoh-bridge-ros2dds.service panic when interface not yet up during boot. #77
Comments
To have the service restart every 5 seconds I added StartLimitBurst, StartLimitIntervalSec, and RestartSec,
My systemd version is
|
I agree that ideally Zenoh shall periodically retry to open the configured Meanwhile, it makes sense to have the I'll address this soon. |
I created #112 which sets A more ideal solution is probably for the user to change the service configuration to make it wait for a specific interface to be up and assigned with an IP address, as explained here Finally, eclipse-zenoh/zenoh#770 introduced the possibility to configure Zenoh with |
I echo @JEnoch's reply. I believe the default configuration of Zenoh should make everything explicit, reproducible, and easy to inspect. Having a |
Describe the bug
I am using zenoh-bridge-ros2dds service that, otherwise works, with a conf.json5 containing an entry specifying an endpoint that is not yet availble when it zenoh attempts to bind to it. Maybe zenoh could retry, possibly timeout, rather than panic?
listen: {
endpoints: ["tcp/192.168.0.241:7447"]
},
It appears that the After/Wants = network-online.target is not enough to make sure the interface is up and ready to be bound to.
I can restart the service successfully after the interface is actually up.
To reproduce
System info
The text was updated successfully, but these errors were encountered: