Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Fwd: HELP: Android Client Not Recieving Messages sometimes even though default PING are Success


Hi,

I am using mqtt paho 3-1.0.1 for my Android App and a mosquito broker.

I am able to Successfully Connect/Publish / Subscribe from my AndroidClient with Qos 1 and cleanSession=false

I have also implemented for Network Change Events and reconnect with broker , I get undelivered messages on reconnect. This works fine most of the times.

However, sometimes the client stops receiving messages which are being published to the broker by other clients and even the same client .Strangely, the default AlarmPingSender  keeps getting Success on Keepalive interval. No subsequent messages are received.  

Also the client is able to use the same connection to PUBLISH at this time and the publishes are received by the broker overtime but no messages are received by MqttCallBackHandler not even the immediately published message by the same client.

Kindly help, as I am stuck in my App Development.

Regards

Dishant Ghai 


Back to the top