本地mosquitto代理不会将已发布的消息发送到远程mosquitto代理

时间:2018-10-18 14:21:43

标签: mosquitto

我在使用蚊子桥时遇到问题。

我有两个Ubuntu 14.04虚拟机:B1和B2

我在B1上只有以下配置文件:

connection mylocalhost
address serverIpAdress:1883

topic # both 2

B1正确连接到B2

我在两台机器上都订阅:

mosquitto_sub -d -v -t "#" -h localhost

在B1上发布消息时,我确实在B1上收到了发布,但在B2上没有收到。

相反,它正在工作。在B2上发布消息后,它在B2和B1上被接收

您知道这可能是什么吗?

有关信息: 当我在B1上发布消息时 我没有B2经纪人, 以及B1经纪人上的以下内容:

1539876297: Received PUBLISH from mosq_pub_3027_ubuntu-V (d0, q2, r0, m1, 'remote/titi/', ... (4 bytes)) 
1539876297: Sending PUBREC to mosq_pub_3027_ubuntu-V (Mid: 1) 
1539876297: Received PUBREL from mosq_pub_3027_ubuntu-V (Mid: 1) 
1539876297: Sending PUBCOMP to mosq_pub_3027_ubuntu-V (Mid: 1) 
1539876297: Received DISCONNECT from mosq_pub_3027_ubuntu-V 

0 个答案:

没有答案