Ankush Sachdeva
2015-05-06 09:47:01 UTC
I am using RabbitMQ MQTT plugin along with Paho Android client. I am trying
to implement a long running service, which tries to maintain a connection
with server at all times.
When I set my keepalive interval 5 minutes, the Paho client sends pings
every 5 mins but never gets a reply (and I receive no TCP packet on server
side). The TCP connection status on both client and server shows
established however.
This problem goes away when I set the keep alive interval less than 60secs.
Could someone please help me on what could be the possible reason for this?
to implement a long running service, which tries to maintain a connection
with server at all times.
When I set my keepalive interval 5 minutes, the Paho client sends pings
every 5 mins but never gets a reply (and I receive no TCP packet on server
side). The TCP connection status on both client and server shows
established however.
This problem goes away when I set the keep alive interval less than 60secs.
Could someone please help me on what could be the possible reason for this?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.