Skip to content
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

How to use websocketpp server with client that not using websocketpp library? #1112

Open
vasnhnloc opened this issue Oct 11, 2023 · 0 comments

Comments

@vasnhnloc
Copy link

I made a server using websocketpp on linux, and when I connect to clients that are not using websocketpp such as Hercules, QtCreator, the client inform that it is connected, but 5 seconds later, the connection time out occurs and on the server side, the console appears
"[fail] WebSocket Connection [::ffff:192.168.0.104]:61667 - "" -0 websocket:22 the opening handshake timed out.
All the example server code on the github repository come with the same result.
But when I run server and client using websocketpp, the connection is establish successfully.

So how can I connect the websocketpp server with QtCreator or a javascript client?
Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant