Skip to content

Errors Initiating connection to subscription service: It was most likely caused due to an unsupported subprotocol "graphql-ws" requested by the client.graphql-ws implements exclusively the "graphql-transport-ws" subprotocol, please make sure that the client implements it too #237

Answered by enisdenjo
Efosaok asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, as the server error suggest, your client is somewhere still using the subscriptions-transport-ws. No need to downgrade, the graphql-transport-ws subprotocol is used in all versions of this library - please update to the latest version.

Can you share (or check) more of your client-side code? Is this the only client? Do you use any GraphQL playground tools (like GraphQL Playground, Altair or GraphiQL)? You must have a subscriptions-transport-ws instance lurking somewhere.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@mrparkersson
Comment options

@enisdenjo
Comment options

@mrparkersson
Comment options

@enisdenjo
Comment options

@mrparkersson
Comment options

Answer selected by Efosaok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #236 on September 16, 2021 08:10.