Skip to content

paho mqttclient java.io.EOFException

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”

Published incoding

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *