Skip to content

Websocket keeps throwing connection failed #387

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

You must be logged in to vote

It should connect to the websocket, since using the Web Socket (old protocol) from the Apollo Client Docs, it connects just fine.

As stated in the readme disclaimer, this library is not compatible with the deprecated subscriptions-transport-ws.

Please make sure that your server is running graphql-ws too, or is implementing the current GraphQL over WebSocket Protocol.

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
Converted from issue

This discussion was converted from issue #386 on August 12, 2022 10:32.