WebSocket connection is failed. Connection closed before receiving a handshake response
We are using Tigase 5.2.0 final for our chat server.
But when I try to create a new Websocket connection through JS
new WebSocket('ws://chat.quickblox.com:5290', 'xmpp')
it is failed with error in JS console:
WebSocket connection to 'ws://chat.quickblox.com:5290/' failed: Connection closed before receiving a handshake response
It's strange, because this bug is reproduced only with some Mac OS users on Chrome. For Win and Ubuntu browsers this works. Also it is correct when I use the incognito mode for Chrome or use test example from websocket oficial site
Could you try to help me? Any ideas. I don't think that it is a browser trouble. Maybe need to do some changes in tigase settings for it?
Added by Artur Hefczyc over 3 years ago
Could you try our last stable: 5.2.3 version? There are some changes and improvements in the web sockets component as well, so it may work better. Also, for the Mac Chrome users, make sure the last Chrome version is used, as they change their web sockets implementation as well.