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: 21
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:general protection fault error:0 in libpaho-mqtt3.a.so.1
Goto Forum:
  


Current Time: Thu Oct 29 00:09:36 GMT 2020

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

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

Back to the top