[ ] Bug exists in Snapshot Version 1.1.2-SNAPSHOT (Android Service Repository Master Branch)
[ ] Bug is just in the Sample Application.
Android API Version Bug Seen on: all version
Android Version Bug Seen on:
Please also check that if you have found the bug in the Release version (1.1.1) that you check that it also exists in the Snapshot (1.1.2-SNAPSHOT) before raising a bug.
used version:org.eclipse.paho:org.eclipse.paho.android.service:1.1.1
org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0
Description of Bug:
connect url eg:ws://10.10.101.245:8888/mqtt?appKey=xxxxxx
my Mqtt configuration as follows:
MqttConnectOptions mqttConnectOptions = new MqttConnectOptions();
mqttConnectOptions.setAutomaticReconnect(true);
mqttConnectOptions.setConnectionTimeout(CONNECTION_TIMEOUT);
mqttConnectOptions.setUserName("xxxxx");
mqttConnectOptions.setPassword("token");
mqttConnectOptions.setCleanSession(false);
if all params is all right,then I can connect to the server success,but when I set a discorrect password or any other params,the throws MqttException is all the same of error,"MqttException (0) - java.io.IOException: Already connected".
I don't know why always is this error, and the ressonCode is also 0, I wanna more clear error.
Please fill out the form below before submitting, thank you!
Android API Version Bug Seen on: all version
Android Version Bug Seen on:
Please also check that if you have found the bug in the Release version (1.1.1) that you check that it also exists in the Snapshot (1.1.2-SNAPSHOT) before raising a bug.
used version:org.eclipse.paho:org.eclipse.paho.android.service:1.1.1 org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0
Description of Bug:
connect url eg:ws://10.10.101.245:8888/mqtt?appKey=xxxxxx my Mqtt configuration as follows: MqttConnectOptions mqttConnectOptions = new MqttConnectOptions(); mqttConnectOptions.setAutomaticReconnect(true); mqttConnectOptions.setConnectionTimeout(CONNECTION_TIMEOUT); mqttConnectOptions.setUserName("xxxxx"); mqttConnectOptions.setPassword("token"); mqttConnectOptions.setCleanSession(false); if all params is all right,then I can connect to the server success,but when I set a discorrect password or any other params,the throws MqttException is all the same of error,"MqttException (0) - java.io.IOException: Already connected". I don't know why always is this error, and the ressonCode is also 0, I wanna more clear error.
Console Log output (if available):