WebSocket
1005 No Status Received
A reserved value that indicates no status code was present in the Close frame. This code must not be set by an endpoint when sending a Close frame.
When You See This Code
The peer closed the connection with a Close frame that contained no status code payload. Your WebSocket library surfaces 1005 as a sentinel to indicate the absence of a code.
How to Fix
This is an internal indicator, not a wire protocol value. If you see it frequently, the remote peer may have a bug where it sends empty Close frames — check the peer's implementation.