【问题标题】:OpenDDS participants could not discovery each otherOpenDDS 参与者无法发现彼此
【发布时间】:2017-11-04 16:46:51
【问题描述】:

最近,我尝试使用 OpenDDS-3.12 进行通信。我想与位于其他 WAN 的其他两台主机通信。但是,参与者无法发现彼此。我该如何解决这个问题??

这是我的交流环境:

我有两个主机。 HostA 和 Host B 是我的桌面(Ubuntu 16.04)。此外,两台主机具有公共 IP 地址(可见)并禁用防火墙。我已经通过 telnet 命令检查了特定端口号是否可用。

我使用了 OpenDDS-3.12 和 $OpenDDS_HOME/tests/DCPS/Messenger 的例子。

在 HostA 中,启用

$ DCPSInfoRepo -ORBListenEndpoints iiop://:12345

订阅者操作​​如下:

$ ./subscriber -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile sub_multicast.ini

在 HostB 中, 目录相同,发布者操作如下:

$ ./publisher -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile pub_multicast.ini

此处发布者返回错误信息:

# ./publisher -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile pub_multicast.ini
Starting publisher
(8921|139698127107904) NOTICE: using DCPSInfoRepo value from command option (overrides value if it's in config file).
Starting publisher with 1 args
Reliable DataWriter
Creating Writer
Starting Writer
(8921|139697959323392) WARNING: SynWatchdog[transport=3]::on_timeout: timed out waiting on remote peer: 0x30c5d67200000007 local: 0x30c5d67200000005

发现其他每个 WAN 主机的正确配置是什么??

希望你能帮助我。

【问题讨论】:

    标签: tcp data-distribution-service opendds


    【解决方案1】:

    对发布者和订阅者都使用 rtps_uni.ini

    【讨论】:

      猜你喜欢
      • 2019-07-18
      • 2023-03-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-10
      • 2021-12-31
      • 1970-01-01
      相关资源
      最近更新 更多