James Sutton
James Sutton
Hi @sunny1974, This sounds like you could be exceeding your max in flight window, if you enable trace, then you should get a log message along the lines of: "sending...
@ishaansrm & @IanWambai What type of MQTT Server are you using?
@IanWambai Sadly not as I cannot re-create this issue myself. Could you enable logging following the instructions [here](https://wiki.eclipse.org/Paho/Log_and_Debug_in_the_Java_client) and show us the log messages that appear with this exception please?
You would need to modify the launch command to include the `-Djava.util.logging.config.file=/path/to/logging/file`, that's the only requirement.
Hi, I've not tried to compile against Java 10 yet, but I imagine that if there are any issues then they will be resolved in the next release after this...
Hi, You when you use connect, you will get a `IMqttToken` back, if you then call `waitForCompletion();`, then it will wait for the client to either complete the connection, or...
Interesting, If I run the latest 1.2.0 Jar through Jarsigner, It's verified correctly: Command: `jarsigner -verify -verbose -certs org.eclipse.paho.client.mqttv3-1.2.0.jar` ``` sm 7548 Mon Aug 14 08:37:32 BST 2017 org/eclipse/paho/client/mqttv3/MqttConnectOptions.class [entry...
Hi @uvzubovs, what MQTT server are you using to test this?
By default, the number of allowed maximum inflight messages is 10, you could change this by using `MqttConnectOptions.setMaxInflight` to change this to a higher value. https://www.eclipse.org/paho/files/javadoc/org/eclipse/paho/client/mqttv3/MqttConnectOptions.html#setMaxInflight-int- If that doesn't help,...
@sanket-kulkarni-vmware Sorry, I wasn't thinking when I sent that, yes max in flight is only for outgoing messages. However I tried recreating this using your code (with a tweak to...