Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » MQTT auto reconnect(MQTT auto reconnect failure if server no available at first attempt)
MQTT auto reconnect [message #1821395] Wed, 12 February 2020 13:37
column column is currently offline column columnFriend
Messages: 25
Registered: December 2017
Junior Member
Trying to create Android MQTT client application by using Paho library. Got issue regarding auto reconnect. I set option below to ensure reconnect.

MqttConnectOptions.setAutomaticReconnect(boolean)


Evrything works fine when MQTT server is online at first connect. In this case when connection to server lost MqttAndroidClient does reconnect. But in case MQTT server is down at first connect attempt MqttAndroidClient does not reconnect. Why? How to solve it?
Previous Topic:QOS2 messages not being sent in order when sending queued messages after automatic re-connection
Next Topic:Managing reconnections to MQTT server
Goto Forum:
  


Current Time: Wed Apr 24 20:12:27 GMT 2024

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

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

Back to the top