-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.) #648
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
Comments
Have you solved this problem? |
Also hoping for an answer |
Getting the same thing too. Anyone has an update? |
I have the same problem. |
I have this same issue when running the print_client example. Can anyone help please? |
Thank you so much David. I got the print_client_tls working by disabling the verify_certificate function, but this print_client issue remains.
…________________________________
From: David St-Louis <[email protected]>
Sent: Tuesday, February 19, 2019 8:40:13 PM
To: zaphoyd/websocketpp
Cc: Jacob Jiang; Mention
Subject: Re: [zaphoyd/websocketpp] Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.) (#648)
@j-fab<https://github.com/j-fab> I got WebSockets working as both client and server, so I solved this. Let me dig in my commit history and I'll come back to you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#648 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ArzreI_jJh1LH9EADM90RZp20Aa8SktHks5vO_CtgaJpZM4NeP-T>.
|
hi, I encountered this error message during the use of socket.io-client-cpp. The problem I encountered was that the ssl was not compiled, the https used when setting the url was wrong, and it returned to normal when I used http. Hope to be helpful to this problem. |
@chunqiulfq I also meet this problem.did you build socket.io-client-cpp with boost? |
in my case, it was just due a difference in the path, my socket io server was listening on |
Could you list the function and paramters? thanks |
怎么解决的? 求留言 |
@warrially |
已经搞定了, 知道是什么原因了. 他这个库有问题. 少了Origin, 在源码里加上就好了., 谢谢 |
share 一下 |
template // TODO: origin header? 这里tmd偷工减料? 这河里妈? // Have the protocol processor fill in the appropriate fields based on the if (ec) { |
|
路径错了就会导致这个报错,而且 |
For me using the encoded URL solved the problem. if the problematic url is: then following encoded url should work: |
Settle in this way. client::connection_ptr con = echo_client.get_connection( uri, ec ); |
I get the following error when I try to connect.
Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)
How would I get the actual response from the server or understand what is going wrong?
The text was updated successfully, but these errors were encountered: