Paho mqtt connection [message #1786591] |
Tue, 08 May 2018 01:16  |
Eclipse User |
|
|
|
Hi,
We are getting below error in some browsers(chrome or mozilla) when we connect mqtt using web sockets. When we clear browser history then connected.
Error:
WebSocket connection to 'wss://host:port/mqtt' failed: Connection closed before receiving a handshake response Paho.MQTT.ClientImpl._doConnect @ mqttws31.js:979
My connection:
var client = new Paho.MQTT.Client("host", Number(port), "myClientId" + new Date().getTime());
client.connect({userName:username,password:password,onSuccess:onConnect,onFailure:doFail,useSSL:true,cleanSession:false});
So please look into this.
Thanks
|
|
|
Re: Paho mqtt connection [message #1786640 is a reply to message #1786591] |
Tue, 08 May 2018 16:53  |
Eclipse User |
|
|
|
While the forums aren't our bug reporting mechanism (that would be bugs.eclipse.org, and expect more detail than this), I'll see about getting this moved to at least the right forum for Paho.
|
|
|
Powered by
FUDForum. Page generated in 0.02637 seconds