MqttException (0) - java.io.EOFException
at org.eclipse.paho.client.mqttv3.internal.wire.MqttWireMessage.decodeUTF8(MqttWireMessage.java:369)
I got this error while connecting to mqtt broker with org.eclipse.paho.client.mqttv3 1.2.5
Solution is use “ssl://mqtt.domain.com:8883” instead of “tcp://mqtt.domain.com:8883”
Be First to Comment