Skip to main content

HTTP errors when connecting

Errors before the WebSocket opens are JSON: {"error":"<code>"}, sometimes with extra fields. Allow up to 30 s for the opening handshake before treating a connect as failed.

Stream errors

Close codes

End reasons

The reason in final:
Last modified on November 23, 2026