You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you have two different CloudConnections sometimes at startup one of them can't connect and throws this Exception :
java.lang.IllegalArgumentException: no NetworkModule installed for scheme "ssl" of URI "ssl://broker-sbx.everyware.io:8883"
at org.eclipse.paho.client.mqttv3.internal.NetworkModuleService.validateURI(NetworkModuleService.java:70)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:454)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:320)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:315)
at org.eclipse.kura.core.data.transport.mqtt.MqttDataTransport.setupMqttSession(MqttDataTransport.java:978)
at org.eclipse.kura.core.data.transport.mqtt.MqttDataTransport.connect(MqttDataTransport.java:291)
at org.eclipse.kura.core.data.DataServiceImpl$2.run(DataServiceImpl.java:606)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
To Reproduce
It is not easy to reproduce this issue since it rarely happens.
Steps to reproduce the behavior:
Create two CloudConnections
Create a WireGraph with two publisher using each of the Connection
Reboot
Sometimes you will see the error at startup.
Expected behavior
The calling thread should not die and try to reconnect after, instead it get killed by an uncatched RuntimeException thrown by paho.
Target Environment (please complete the following information):
Kura 4.1
The text was updated successfully, but these errors were encountered:
alebianchin
changed the title
Data
One of two CloudConnections sometimes fails to connect and never tries to reconnect
Feb 20, 2020
Describe the bug
If you have two different CloudConnections sometimes at startup one of them can't connect and throws this Exception :
To Reproduce
It is not easy to reproduce this issue since it rarely happens.
Steps to reproduce the behavior:
Expected behavior
The calling thread should not die and try to reconnect after, instead it get killed by an uncatched RuntimeException thrown by paho.
Target Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: