-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Running Websocket_Client sample causes HTTP parser error: HPE_CB_headers_complete
#2494
Comments
Ok, I see the problem. The websocket server that we use in the sample https://github.com/SmingHub/Sming/blob/develop/samples/Websocket_Client/app/application.cpp#L39 and replace the websocket server URL with your own websocket server. |
alright that works now. Don't you think that those errors should be more readable to the user? |
Agreed. I've had a dig into exactly what's going on here using the Simple Websocket Client plugin for firefox. These are the response headers:
So no error, just that the In this particular instance the exact cause is only obvious by visiting |
I'm using sample from https://github.com/SmingHub/Sming/tree/develop/samples/Websocket_Client.
Running on ESP8266 Wemos D1 Mini Board.
The text was updated successfully, but these errors were encountered: