vf1 / sipserver

OfficeSIP Server
MIT License
86 stars 58 forks source link

WebSocket does not connect #2

Open samucs opened 8 years ago

samucs commented 8 years ago

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!

tilleul commented 8 years ago

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

justindstein commented 6 years ago

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?

tilleul commented 6 years ago

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

justindstein commented 6 years ago

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!