Zenoh Router fails to route Publications when one Endpoint is invalid and exit_on_failure: true
is configured
#1471
Labels
bug
Something isn't working
Describe the bug
Also refer to this Discord support thread: https://discord.com/channels/914168414178779197/1287809049034887298
Zenoh router fails to deliver publications when one endpoint fails to connect and
exit_on_failure: true
is configured. Although the router still shows messages received in its log.My setup is a microcontroller publishing over serial with
zenoh-pico
and a simplez_sub
example running on the host computer. When I have an extra endpoint listed that fails to connect, I see log messages about publications from the microcontroller, but they don't make it to the subscriber. Once I remove the extra endpoint from the configuration, publications make it to the subscriber successfully.Here is my router configuration: zenoh_config.json5.txt
My expectation would be that since the publications show up in the log, they should still make it to subscribers, or the entire zenohd should fail and stop.
To reproduce
**
router
type and multiple endpoints in thelisten
section, with one being a serial connection that doesn't exist (ieserial//dev/ttyACM7#baudrate=115200
or something)transport_serial
feature enabledlisten
exit_on_failure: false
, or remove the invalid endpoint)System info
Host
OS: Linux
Zenoh Version:
v1.0.0-beta.3
Microcontroller
OS: Zephyr
Zenoh Pico Version:
release/1.0.0.9
The text was updated successfully, but these errors were encountered: