Cannot discover each other in double docker on different host #3731
Replies: 5 comments
-
Up to date, I had already been try to remove the network 172.17.x.x, but it also cannot community to others. |
Beta Was this translation helpful? Give feedback.
-
DDS Simple Discovery leverages multicast as per the DDS specification. Have you checked that multicast is enabled with docker swarm mode? If your network architecture is known beforehand you might consider using Initial Peers instead of relying on multicast. |
Beta Was this translation helpful? Give feedback.
-
My swarm address is 10.0.1.x, it's flag has a multicast lable. Is that means multicast is enabled? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I cannot help you with your network configuration. You might consider contacting Fast DDS commercial support team to know about the support options available. I am also transferring this ticket to the support discussion forum as per Fast DDS CONTRIBUTING guidelines |
Beta Was this translation helpful? Give feedback.
-
@ruoruoniao Have you solved this problem? |
Beta Was this translation helpful? Give feedback.
-
Is there an already existing issue for this?
Expected behavior
Communicate as usual.
Current behavior
Two program cannot discover others, also cannot receive any data.
Steps to reproduce
Two program (ddshelloworld) is running in two dockers, and each docker is in a independent virtual machine.
Current structure is about this.
Those two dockers can ping to each other by using docker swarm, like this.
But those two program cannot discover others, also cannot receive any data.
Fast DDS version/commit
v2.9.1
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
Beta Was this translation helpful? Give feedback.
All reactions