1002
WebSocket

1002 Protocol Error

An endpoint is terminating the connection because it received data that violates the WebSocket protocol specification.

Khi bạn thấy mã này

The WebSocket frame format is invalid — a malformed header, incorrect masking, or a reserved opcode was used. This usually indicates a broken client or proxy.

Cách khắc phục

Check that both client and server strictly follow RFC 6455 framing rules. Inspect intermediary proxies that may be corrupting WebSocket frames.

So sánh với

Hướng dẫn

Tình huống gỡ lỗi

Đặc tả

Hướng dẫn quyết định

Thuật ngữ