-
Notifications
You must be signed in to change notification settings - Fork 55
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
Invalid header error #26
Comments
Hello. Could you possibly provide snippet and whole error? Thank you. 👍 |
This is the main function. If you want I can paste the full code. But it is just the /example/example.c file in this repository with the url changed Error : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I replaced example.c url with this.
ws://www.bitmex.com/realtime
When I run, it gives the following error
(example.c:91) onerror:2: Invalid header
I'm able to connect to the same url with javascript in browser.
var ws = new WebSocket('ws://www.bitmex.com/realtime');
wss://echo.websocket.org
- This url is working good from example.cThe text was updated successfully, but these errors were encountered: