|Java client with websocket : Invalid Frame : Opcode 15 error [message #1724318]
||Tue, 23 February 2016 07:16
| Vineet Dixit
Registered: February 2016
I am using the development build org.eclipse.paho.client.mqttv3-1.0.3-SNAPSHOT.jar to connect to a Mosquitto 1.4.8 using wss://
The client disconnects due to "Invalid Frame" error pasted below.
Publishing at: 2016-02-22 22:59:03.496 to topic "mqtt/demo" qos 2
WebSocketReceiver.java : run(): Exception Occured.
java.io.IOException: Invalid Frame: Opcode: 15
This happens over ws:// as well. Same client can connect to Mosca broker just fine, both over ws:// and wss://. Similarly, other clients (iOS, Node.js, C) can connect to Mosquitto 1.4.8 just fine, both over ws:// and wss://
I ran wireshark to see if Mosquitto was sending a frame with opcode 15, but I couldn't locate any such frame.
I still haven't looked into the websocket implementation, but thought someone might be able to shed light on this error.
Powered by FUDForum
. Page generated in 0.01498 seconds