Local mosquitto broker stops publishing messages if ethernet cable is unplugged

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Local mosquitto broker stops publishing messages if ethernet cable is unplugged

588件の閲覧回数
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 返答(返信)

539件の閲覧回数
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 件の賞賛
返信

572件の閲覧回数
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 件の賞賛
返信