Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » MQTT disconnect problems
MQTT disconnect problems [message #1808595] Thu, 27 June 2019 14:22
Krister  Skare Andersen is currently offline Krister Skare AndersenFriend
Messages: 1
Registered: June 2019
Junior Member
Raspberry PI - stretch

Trying to use this code https://github.com/karloygard/xcomfortd

After make code. And running ./xcomfortd -v it's connect to mosquitto.
But after one command is send (successfully), it disconnects and gives me "MQTT Disconnected, The connection was lost"

1561095917: mosquitto version 1.6.2 starting
1561095917: Config loaded from /etc/mosquitto/mosquitto.conf.
1561095917: Opening ipv4 listen socket on port 1883.
1561095917: Opening ipv6 listen socket on port 1883.
1561095933: New connection from ::1 on port 1883.
1561095933: New client connected from ::1 as xcomfort (p2, c0, k30).
1561095933: No will message specified.
1561095933: Sending CONNACK to xcomfort (0, 0)
1561095933: Received SUBSCRIBE from xcomfort
1561095933: xcomfort/+/set/+ (QoS 0)
1561095933: xcomfort 0 xcomfort/+/set/+
1561095933: Sending SUBACK to xcomfort
1561095943: New connection from ::1 on port 1883.
1561095943: New client connected from ::1 as mosq/4vJKjkgge3tz1JJigB (p2, c1, k60).
1561095943: No will message specified.
1561095943: Sending CONNACK to mosq/4vJKjkgge3tz1JJigB (0, 0)
1561095943: Received PUBLISH from mosq/4vJKjkgge3tz1JJigB (d0, q0, r0, m0, 'xcomfort/1/set/switch', ... (5 bytes))
1561095943: Sending PUBLISH to xcomfort (d0, q0, r0, m0, 'xcomfort/1/set/switch', ... (5 bytes))
1561095943: Received DISCONNECT from mosq/4vJKjkgge3tz1JJigB
1561095943: Client mosq/4vJKjkgge3tz1JJigB disconnected.
Previous Topic:Possible Memory Leak with 2 ESP32?
Next Topic:connection established but no publications
Goto Forum:
  


Current Time: Fri Apr 26 23:18:23 GMT 2024

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

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

Back to the top