Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Pub/Sub messages are not delivered - No error seen
Pub/Sub messages are not delivered - No error seen [message #1852305] Tue, 10 May 2022 00:41
Jay N is currently offline Jay NFriend
Messages: 1
Registered: May 2022
Junior Member
Ubuntu Version: 18.04.4 LTS
Mosquitto Version: Version 1.4.15

I have broker installed on Ubuntu.
The Broker and pub/sub works but suddenly the messages are no longer delivered. The only way to fix this is to restart Mosquitto broker service and then it starts working till the next time it stops.

I have one console instance where i execute
mosquitto_sub -v -u <user> -P <passwd> -t 'T/test' -d and I see the following


Client mosqsub|12363-x sending CONNECT
Client mosqsub|12363-x received CONNACK
Client mosqsub|12363-x sending SUBSCRIBE (Mid: 1, Topic: T/test, QoS: 0)
Client mosqsub|12363-x received SUBACK

In another console instance i execute
mosquitto_pub -u <user> -P <passwd> -t 'T/test' -m 'TEST' -d

Client mosqpub|12411-x sending CONNECT
Client mosqpub|12411-x received CONNACK
Client mosqpub|12411-x sending PUBLISH (d0, q0, r0, m1, 'T/test', ... (4 bytes))
Client mosqpub|12411-x sending DISCONNECT

But I dont see the message 'TEST' in first instance. After I stop Mosquitto broker and start again using systemctl then I re-execute mosquitto_sub and mosquitto_pub command , I messages start coming in.

The mosquitto log also doesn't provide any error clues.

Appreciate any help in this regard
Previous Topic:Authentication Plugin - open source for Mosquitto
Next Topic:TLS authentication for mosquitto_sub
Goto Forum:
  


Current Time: Fri Apr 26 02:56:49 GMT 2024

Powered by FUDForum. Page generated in 0.03302 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top