-
Expected Behaviour Actual Behaviour Line 834 in 63881c3 Further Information My workaround now is to send a 4499 instead of 4401, which is bad semantics. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey there! The close code 4401 indicates that the client tried subscribing before the handshake's finished (before receiving a ConnectionAck message), meaning there's something wrong with the implementation of the client and should therefore not be retried.
You may be confusing 4401 (Unauthorized) with 4403 (Forbidden), where the latter means that the implementation is OK but the user is not allowed to do something. |
Beta Was this translation helpful? Give feedback.
Hey there! The close code 4401 indicates that the client tried subscribing before the handshake's finished (before receiving a ConnectionAck message), meaning there's something wrong with the implementation of the client and should therefore not be retried.
GraphQL over WebSocket spec
You may be confusing 4401 (Unauthorized) with 4403 (Forbidden), where the latter means that the implementation is OK but the user is not allowed to do something.