You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messages will not flow until Terminal 4 resubscribes while Terminal 5 is unsubscribed.
Details
Bug does not occur if Terminal 5 is the first subscriber since Zenoh Bridges were restarted. Then the first subscription after that from the opposite domain (Terminal 4) will succeed, but further re-subscriptions will be impossible.
Zenoh bridge node on the publisher side does not subscribe to the topic, which is visible on ros2 topic info -v.
Zenoh nodes do not show any errors in the logs.
When peer 1 subscribes to its own topic, Zenoh Bridge on peer 2 creates a subscriber for this topic which of course does not receive any messages since peer 1 is the publisher.
Then when peer 2 wants to subscribe, it is possible that Zenoh Bridge does not create the subscriber on peer 1 since the bridge on peer 2 is already subscribed.
System info
Platform: Ubuntu Jammy/Humble (distrobox on Arch Linux x86_64 host)
CPU: AMD Ryzen 7 5800H (16) @ 3.0GHz
Zenoh Version: Release 1.2.1
The text was updated successfully, but these errors were encountered:
rayferric
changed the title
[Bug] re-subscription impossible while peer subscribes its own topic
[Bug] subscription impossible while peer subscribes its own topic
Feb 14, 2025
I can't believe that more people aren't reporting this problem. It is really easy to encounter which makes it important to be resolved ASAP. It is straightforward to reproduce, so can anybody confirm that they see it?
Describe the bug
As per the title. The issue makes it impossible to RViz internal topics used by the robot.
To reproduce
Setup Cyclone DDS with ROS_LOCALHOST_ONLY=1.
Terminal 1:
Terminal 2:
Terminal 3:
Terminal 4:
Messages will start flowing...
Terminal 5:
Messages will start flowing...
Terminal 4:
The messages will not flow until Terminal 4 resubscribes while Terminal 5 is unsubscribed.
Details
Bug does not occur if Terminal 5 is the first subscriber since Zenoh Bridges were restarted. Then the first subscription after that from the opposite domain (Terminal 4) will succeed, but further re-subscriptions will be impossible.
Zenoh bridge node on the publisher side does not subscribe to the topic, which is visible on
ros2 topic info -v
.Zenoh nodes do not show any errors in the logs.
When peer 1 subscribes to its own topic, Zenoh Bridge on peer 2 creates a subscriber for this topic which of course does not receive any messages since peer 1 is the publisher.
Then when peer 2 wants to subscribe, it is possible that Zenoh Bridge does not create the subscriber on peer 1 since the bridge on peer 2 is already subscribed.
System info
The text was updated successfully, but these errors were encountered: