1005
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.

このコードが表示される場合

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.

解決方法

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.

比較対象

ガイド

用語集