-
Notifications
You must be signed in to change notification settings - Fork 42
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
[multi-host] failed to initialize rosout publisher: unable to create zenoh publisher cache #238
Comments
Hi @berndpfrommer, Thanks for the ticket. I can reproduce the issue with two routers running on separate hosts. @JEnoch any idea if something changed in zenoh-c? This feels like a regression Edit: If you don't want to run the router Host A, I think you'll need to remove the endpoint specified here so that the inter-host communication between peers is not router via the zenohd router. |
Please ignore the |
Weird... I can't reproduce the issue ! Neither with peer-to-peer nor router-to-router configs. Could please you reproduce running |
There is this one line in the debug log on Host A that looks suspect:
Interestingly, this line does not show up w/o debug logging, although error messages should make it into the log. Here the full debug logs: Log on Host A:
Log on Host B:
|
OK, that makes sense: By default Zenoh has this timestamping disabled for the peers, to avoid paying the cost if not required. |
That's because the logging library used by Zenoh considers not setting @clalancette @Yadunund : I think that is |
Ironically I started out with a full copy of the config file, but then read the cryptic warning on line 3 of said file:
and the example config here was also bare bones, so I removed the rest of the config. |
That seems reasonable to me, at least for now. Please feel free to open a PR and I'm happy to review. |
Closing as this turned out to be a configuration issue. Please feel free to reopen if this issue surfaces again. |
Scenario is as follows. Two machines, connected to the same wifi router. I'm running a
zenohd
on one host, and want to query thezenohd
from the other host.Both running the latest version of rmw_zenoh_cpp (Wed Jul 3rd, commit is 747a72e).
Host A [192.168.17.155] < --- wifi -- > Host B [ 192.168.17.249] (runs zenoh_hd)
On Host A, running
ros2 topic list
fails:The
rmw_zenoh_session_config.json5
file on Host A has this content:The debug messages on Host B indicate that the connection is made successfully, but then a read error occurs:
Any advice on how to debug this?
(I also tried starting zenohds on both hosts. They see each other, but any querying (ros2 topic/node list etc fails once the two daemons are talking to each other. I figured the scenario above is the simplest setup to trouble shoot.)
The text was updated successfully, but these errors were encountered: