WebSocket

1010 Mandatory Extension

The client is terminating the connection because the server did not negotiate one or more expected extensions in the handshake response.

Когда вы видите этот код

The client requested a required WebSocket extension (e.g., permessage-deflate compression) during the handshake, but the server did not include it in its response.

Как исправить

Enable the required extension on the server, or update the client to make the extension optional. Check the Sec-WebSocket-Extensions header in the handshake response.

Спецификация

Просмотреть RFC / Спецификацию →

Руководства

Глоссарий