You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.
In Ubuntu 19.04 websockets seems not to work at all. rockets::Server::handleOpen is never called even on the webbrowser client says the websocket will open successfully. HTTP works (rockets::Server::handle for GET is called)
In JS
"var uri = "ws://127.0.0.1:8080/telex";
var socket = new WebSocket(uri);
socket.onopen = function(event) {
console.log("onopen", uri, event);
}"
I construct rockets::Server as m_server(":" + std::to_string(port), "telex", ThreadCount) ... it does not matter if ThreadCount is 0 or 8 (if 0 I call Server::process() to poll) - HTTP works fine, websockets do nothing. I cannot debug libwebsockets so I have no clue what is going on there.
I wrote a simple websocket server using Python, it works (with or without "telex")
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In Ubuntu 19.04 websockets seems not to work at all. rockets::Server::handleOpen is never called even on the webbrowser client says the websocket will open successfully. HTTP works (rockets::Server::handle for GET is called)
In JS
"var uri = "ws://127.0.0.1:8080/telex";
var socket = new WebSocket(uri);
socket.onopen = function(event) {
console.log("onopen", uri, event);
}"
I construct rockets::Server as m_server(":" + std::to_string(port), "telex", ThreadCount) ... it does not matter if ThreadCount is 0 or 8 (if 0 I call Server::process() to poll) - HTTP works fine, websockets do nothing. I cannot debug libwebsockets so I have no clue what is going on there.
I wrote a simple websocket server using Python, it works (with or without "telex")
The text was updated successfully, but these errors were encountered: