Local mosquitto broker stops publishing messages if ethernet cable is unplugged

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Local mosquitto broker stops publishing messages if ethernet cable is unplugged

464 次查看
hasaafi
Contributor I

MQTT messages are not published anymore as soon as I unplug the ethernet cable.
The broker seems to buffer all messages, but it does not send them if there is no network reachable (no ethernet or wifi connection).

As soon as I plug the cable back in again, the buffered messages are then sent all at once.

i use kernel 3.10.17 .

the problem is not reproduced with kernel 4.19.

step to reproduce :

1/ plugged ethernet 

2/ run mosquitto -c /etc/mosquitto/mosquitto.conf -v -d

3/ subscribe to a topic: mosquitto_sub -h localhost -t topic/message &

4/ Publish => OK (I get the message): mosquitto_pub -h localhost -m "hello" -t topic/message -d

5/unplugged ethernet

6/Publish => NOK (I don't get the message)

 

 
0 项奖励
回复
2 回复数

415 次查看
hasaafi
Contributor I

I don't think the problem is related to bsp since the problem seen with mosquitto 1.4.14 and not seen with 1.5.8

 

0 项奖励
回复

448 次查看
Chavira
NXP TechSupport
NXP TechSupport

Thank you for contacting NXP support!

Please try the latest bsp 5.15.71, since your kernel version is not supported, you may try the latest one.

0 项奖励
回复