WebSocket

1015 TLS Handshake Failure

A reserved value indicating the connection was closed because the TLS handshake failed. This code must not be set by an endpoint in a Close frame.

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

The wss:// (WebSocket Secure) connection failed during the TLS negotiation — commonly due to an expired certificate, untrusted CA, or TLS version mismatch.

Cách khắc phục

Verify the server's TLS certificate is valid and not expired. Ensure both client and server support compatible TLS versions (TLS 1.2+). Check that intermediate certificates are properly chained.

Thông số kỹ thuật

Xem RFC / Thông số kỹ thuật →

Hướng dẫn

Thuật ngữ