sipserver icon indicating copy to clipboard operation
sipserver copied to clipboard

WebSocket does not connect

Open samucs opened this issue 11 years ago • 4 comments

Hello, I am trying OfficeSIP 3.5 and SIP-JS in order to perform video calls from my Chrome browser. However, WebSocket fails to connect.

createSocket() transport=ws
    connecting to localhost:5060
socket connected=false

Then Chrome displays the message:

WebSocket connection to 'ws://localhost:5060/sip' failed: Connection closed before receiving a handshake response

Anybody has the solution for this problem? Is there any WebSockets configuration? Thanks in advance!

samucs avatar Nov 18 '15 20:11 samucs

I have noticed the same problem using sipJS or JSsip... interested in any solution ...

tilleul avatar Nov 29 '15 10:11 tilleul

Also seeing this issue in jssip w/ chrome 66. The issue seems to resolve itself if you clear all cookies from your browser, but I haven't figured out how/why. Did @tilleul or @samucs ever figure this one out?

justindstein avatar May 02 '18 21:05 justindstein

Nope. I haven't tried since :) ... So you're saying it's working with Chrome 66 ?

tilleul avatar May 03 '18 04:05 tilleul

Not sure about this particular project. But in the project I'm working on, this error occurs sometimes. Just stumbled upon this thread on google!

justindstein avatar May 03 '18 06:05 justindstein