Paho - WSS connect problem

44 views
Skip to first unread message

shivaprashanth Nuji

unread,
Jul 27, 2017, 6:25:04 AM7/27/17
to MQTT
hi everyone,

I was using paho 1.0.2 (java) with https://github.com/inventit/mqtt-websocket-java for secure websocket communication..
I want to upgrade to 1.1.1 , found out that inventit has reached EOL and paho supports wss:// . 

I updated the pom and used the 1.1.1 paho client. When i call connect, it connects and disconnects immediately with the below exception

Connection lost (32109) - java.io.EOFException, java.io.EOFException,Thread ID:28,[Ljava.lang.StackTraceElement;@1524388java.io.EOFException

What is the reason for this ? I read that paho java client supports secure websocket , what might be the reason for this error ?

regards,
Prashanth
Reply all
Reply to author
Forward
0 new messages