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.
Спецификация
Сравнить с
Руководства
Debugging CORS Errors: A Developer's Guide
Debugging & Troubleshooting
Debugging WebSocket Disconnections
Debugging & Troubleshooting
WebSocket Close Codes: Why Your Connection Dropped
Real-Time Protocols
WebSocket Authentication Patterns
Real-Time Protocols
WebSocket vs Server-Sent Events: Choosing the Right Protocol
Real-Time Protocols
WebRTC Signaling with SIP and WebSocket
Real-Time Protocols
gRPC Streaming vs REST Polling: Real-Time Data Delivery
Real-Time Protocols
MQTT Protocol: Lightweight Messaging for IoT and Real-Time Systems
Real-Time Protocols
WebSocket Performance Tuning
Performance & Optimization
RFC 6455: WebSocket Protocol Deep Dive
Protocol Deep Dives
RFC 9114: HTTP/3 Protocol Deep Dive
Protocol Deep Dives
QUIC Protocol: The Transport Layer Behind HTTP/3
Protocol Deep Dives
TLS 1.3: Faster, Simpler, More Secure
Protocol Deep Dives
Migrating from WebSocket to Server-Sent Events
Migration & Upgrades
Reverse Proxy Configuration: Nginx, Caddy, and HAProxy
Production Infrastructure
Connection Draining: Graceful Shutdown Without Dropping Requests
Production Infrastructure
API Gateway Patterns: Architecture and Use Cases
API Gateway Patterns
API Gateway Request Routing: Path, Header, and Content-Based
API Gateway Patterns
Request and Response Transformation at the API Gateway
API Gateway Patterns
CORS Handling at the API Gateway
API Gateway Patterns
API Security Testing: OWASP ZAP, Burp Suite, and Automated Scanning
Testing & Mocking
Глоссарий
GraphQL
CORS (Cross-Origin Resource Sharing)
Port Number
Latency
NAT (Network Address Translation)
Socket
Bandwidth
Backpressure
Thundering Herd
Request-Response Model
RFC (Request for Comments)
Protocol Upgrade
Multiplexing
Message Framing
Full-Duplex
WebSocket Frame
WebRTC (Web Real-Time Communication)
Signaling
ICE Candidate
WebSocket Subprotocol
WebSocket Ping/Pong
WebSocket Close Code
STUN (Session Traversal Utilities for NAT)
TURN (Traversal Using Relays around NAT)
SDP (Session Description Protocol)
MQTT (Message Queuing Telemetry Transport)
STOMP (Simple Text Oriented Messaging Protocol)
RTP (Real-time Transport Protocol)
Codec Negotiation