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.

On this page

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.

Compare With

Guides

Glossary

Frequently Asked Questions

What is 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 do you see WebSocket 1005 No Status Received?

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 WebSocket 1005 No Status Received?

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.