Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] java client disconnect while registering

I just realized that my messageArrived implementation threw an exeption while parsing payload.
I did not expect that it would break the connection, but it does.
Correct parsing did the trick.
Thank you for helping.


Le 13/10/2014 15:29, Ian Craggs a écrit :
Hello Mathieu,

is there any log message from Mosquitto to explain this?

Can you subscribe to Mosquitto successfully with other applications and receive the messages your Android application is publishing?


On 10/11/2014 11:20 AM, Mathieu GRENET wrote:
I try to implement a solution using mqtt on android (4.4)
I can connect, and publish it stay connected with no problem.
but I cannot get subscribing to work.
Every time i try to "client.subscribe" it fires lostconnection, and i'm actually disconnected.
The broquer is latest mosquitto windows (1.3.5)
jav library is org.eclipse.paho.client.mqttv3-1.0.0.jar

anyone did ever get that ?
Thank you


paho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top