Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Paho mqtt connection(Connection closed before receiving a handshake response)
Paho mqtt connection [message #1786591] Tue, 08 May 2018 05:16 Go to next message
Srinivas Pokala is currently offline Srinivas PokalaFriend
Messages: 7
Registered: May 2016
Junior Member
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.
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());

So please look into this.
Re: Paho mqtt connection [message #1786640 is a reply to message #1786591] Tue, 08 May 2018 20:53 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3877
Registered: July 2009
Senior Member

While the forums aren't our bug reporting mechanism (that would be, and expect more detail than this), I'll see about getting this moved to at least the right forum for Paho.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:MQTT broker disconnection
Next Topic:Paho mqtt connection
Goto Forum:

Current Time: Mon Oct 26 04:57:15 GMT 2020

Powered by FUDForum. Page generated in 0.01865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top