getkaiwa / kaiwa

[UNMAINTAINED] A modern XMPP Web client
http://getkaiwa.com
MIT License
1.34k stars 154 forks source link

WebSocket opening handshake was canceled #68

Closed michaeljoelphillips closed 8 years ago

michaeljoelphillips commented 8 years ago

Greetings,

I have a Kaiwa server running alongside a Prosody server (version 0.10) and I am receiving the following error in Google Chrome on Linux (version 44.0.2403.125) with debugging enabled.

[5675:5675:1028/194711:INFO:CONSOLE(52753)] "WebSocket connection to 'wss://mydomain.net:5281/xmpp-websocket/' failed: WebSocket opening handshake was canceled", source: http://mydomain.net:8000/app.nonCached.js (52753)

The error occurs after attempting to log into the server. I have accepted the certificate and I have even added the certificate in manually to the Authorities list within Chrome. The server works fine in Firefox, but does not work on any version of Chrome I have tested so far. Any help would be appreciated!

stevenroose commented 8 years ago

@Nomad145 Did you get this to work?

michaeljoelphillips commented 8 years ago

If I recall, I never got it to work properly in that version of Chrome. I ended up purchasing a signed SSL cert and it solved the issue if I remember correctly.