Websocket Server does not support Sec-WebSocket-Protocol header

garagegadget
Posts: 7
Joined: Thu Dec 27, 2018 4:43 pm

Websocket Server does not support Sec-WebSocket-Protocol header

Postby garagegadget » Sat Feb 20, 2021 6:39 pm

Hi,

During testing of the IDF 4.2 Websocket example server and establishing connection containing the Sec-WebSocket-Protocol header with a sub-protocol specified the server terminates the connection with log entry
"httpd_ws: httpd_ws_get_frame_type: Failed to read header byte (socket FD invalid), closing socket now"

BR,
Brent

Who is online

Users browsing this forum: No registered users and 181 guests