Project

General

Profile

WebSocket connection is failed. Connection closed before receiving a handshake response

Andrey Povelichenko
Added almost 4 years ago

Hello guys!

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

[[[https://www.websocket.org/echo.html]]]

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?


Replies (1)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam almost 4 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.

    (1-1/1)