ros2 / rmw_fastrtps

Implementation of the ROS Middleware (rmw) Interface using eProsima's Fast RTPS.
Apache License 2.0
155 stars 117 forks source link

Time to re-establish a connection varies between distributed machines after network is back up #745

Open robert-preissl opened 7 months ago

robert-preissl commented 7 months ago

Bug report

Required Info:

Steps to reproduce issue

The setup is as follow using two distributed computers (both running a ros2 iron docker container)

Expected behavior

Actual behavior

Additional information

Feature request

Feature description

Implementation considerations

fujitatomoya commented 7 months ago

@MiguelCompany @EduPonz any idea? this issue sounds like unreliable behavior.

@robert-preissl this problem only happens with discovery server? what if we start application without fastdds discovery server?

robert-preissl commented 7 months ago

@fujitatomoya thanks for your message. Without the disco server it seems there is some challenge to get the talker and listener on these two different machines to talk. (we use wifi to connect A and B. maybe we experience the challenge with simple discovery as mentioned on the doc with wifi / multicasting )

robert-preissl commented 7 months ago

@fujitatomoya @MiguelCompany @EduPonz just thought I reach out again here with a quick friendly ping since this is impacting some of our operations here with rare but still occasional wifi (brief) outages. thanks

robert-preissl commented 6 months ago

@fujitatomoya @MiguelCompany @EduPonz I thought I ping a last time here to check if there is anything you recommend here. Thanks.

fujitatomoya commented 6 months ago

@robert-preissl i really do not have any clue for this behavior right now.

just one question,

running the same with cyclone dds (RMW_IMPLEMENTATION=rmw_cyclonedds_cpp) seems to be without any problems. i.e., when B re-connects to wifi, the terminal from machine A immediately prints B's messages

this also works with cyclondds discovery server, right? not using multicast based discovery.

robert-preissl commented 6 months ago

@fujitatomoya No, in regards to cyclone dds, no discovery server was used. (as far as I know cyclone does not have a disco server unless I am mistaken here)