Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Python Paho with ssl disconnects and never reconnects

I tried a timeout value of 60 and 120 seconds. There were problems with both.

On 05/20/2015 04:00 PM, Ian Craggs wrote:
Hi,

the keepalive timeout setting is intended to allow the MQTT client to spot that TCP connections have disappeared. What value are you using?


On 05/12/2015 04:38 PM, Dumitru Melenteanu wrote:
Hi. I've been using paho to send messages from a stranded device with a 3g connection. The connection is relatively stable, but not that good, meaning that there are casual disconnects. Most of the times there is no problem, but sometimes the application doesn't reconnect, although it keeps sending messages, thinking that it is still connected.

I'm using RabbitMQ with the mqtt-plugin as broker; I can see in the logs ``ssl_upgrade_error,timeout``. There is no message in the application logs about it losing connections and it doesn't seem to care that there is no PUBACK message, even if I'm using QOS level 1. It reconnects after a restart.
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev




Back to the top