Skip to content Skip to sidebar Skip to footer

Websocket Connection Is Closed: Code = 1006

I am connecting to a websocket client and subscribing to some streams. But I keep on getting this error ''WebSocket connection is closed: code = 1006 (connection closed abnormally

Solution 1:

1006 is a reserved value and MUST NOT be set as a status code in a Closecontrol frame by an endpoint.

It is designated for use in applications expecting a status code to indicate that the connection was closed abnormally, e.g., without sending or receiving a Closecontrol frame.

Post a Comment for "Websocket Connection Is Closed: Code = 1006"