Skip to content

many connection_init #498

Closed Answered by enisdenjo
baonv-acbs-com-vn asked this question in Q&A
Discussion options

You must be logged in to vote

If the server receives more than one ConnectionInit message at any given time, the server will close the socket with the event 4429: Too many initialisation requests.

GraphQL over WebSocket spec

If the client sent multiple, the server would've terminated the connection immediately. So this is not happening. The screenshots you provided showcase two separate WS connections (see the selection on the left), each connection has only one connection_init message.

You're most likely instantiating multiple graphql-ws clients.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by enisdenjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants