Hi everyone
I’m trying to use a websockets based MQTT client, specifically the Paho JavaScript client.
http://www.steves-internet-guide.com/using-javascript-mqtt-client-websockets/
https://www.eclipse.org/paho/clients/js/
I’m finding the client can’t connect to the broker; I’m getting the following response:
WebSocket connection to 'ws://192.168.1.20:1883/mqtt' failed: Connection closed before receiving a handshake response
The log reports:
[ERROR] [quette.server.netty.NettyMQTTHandler] - Unexpected exception while processing MQTT message. Closing Netty channel. CId=null
java.lang.NullPointerException: null
Before I dig in to try and find out what the issue is, I thought I’d first check that the embedded broker actually supports websockets MQTT sessions!
Thanks