Godot Version
4.2.2
Question
Hi,
I’ve taken the Godot WebSocket Chat Demo and expanded it to add more functionality. It’s still just a chat app though. Unfortunately I sometimes get this error:
E 0:07:36:0830 WebSocketServer.gd:168 @ _connect_pending(): Not enough response headers, got: 3, expected >= 4.
<C++ Error> Condition "len < 4" is true. Returning: false
<C++ Source> modules/websocket/wsl_peer.cpp:154 @ _parse_client_request()
<Stack Trace> WebSocketServer.gd:168 @ _connect_pending()
WebSocketServer.gd:138 @ poll()
WebSocketServer.gd:209 @ _process()
I haven’t changed the WebSocketClient.gd, so can someone tell me why my client might not be sending enough response headers please?