-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
websocket issue #58
Comments
Sorry the above message is from opening a javascript websocket connection. HTTP/1.1 426 No Sec-WebSocket-Protocols requested supported Regards, |
The difference is: Close it. |
Are you proposing to change something on the Kõnele side? |
No. I changed on the server side to unset "Sec-WebSocket-Protocol" in the header when it is array of empty string(as empty array). |
I want to start a ratchet websocket service to collect audio data from K6nele.
The websocket service is started, and I can open the websocket connection in javascript like:
var ws = createWebSocket("ws://10.6.71.10:8001");
However, when I use K6nele with websocket url "ws://10.6.71.10:8001" to open websocket connection, the handshake message showed:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: GJVr5M5/N98Sk4n1Yl2FnZI2/Os=
X-Powered-By: Ratchet/0.4.1
Is there any difference to open a websocket in k6nele comparing to javascript?
regards,
Yunzhao
The text was updated successfully, but these errors were encountered: