-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting WebSocket connection to 'ws://localhost:7080/query' failed on connecting graphql-ws client with gqlgen golang server #185
Comments
Hey there! A close event code If you are talking about this You should maybe open an issue on their side since only they can resolve this. |
@enisdenjo , yeah i have used this gqlgen only but here in L65 of above github link it's written this |
The subprotocol of the new GraphQL over WebSocket Protocol is |
@enisdenjo , thanks for helping, i was really frustated since last two days for this. I'll try subscriptions-transport-ws with this |
Sure thing, glad I could help. Best of luck! |
The comment is a bit confusing. Do you mean that graphql-ws is using the graphql-transport-ws protocol, and the package name was formerly subscriptions-transport-ws? When the client sends protocol information to the server, what should the value be? graphql-ws or graphql-transport-ws? It looks like at one point graphql-ws used a different protocol before using graphql-transport-was? (We're trying to troubleshoot issues around our gqlgen based server). |
Yes, the subprotocol of the new GraphQL over WebSocket Protocol is
No,
No, it was always |
Screenshot
Expected Behaviour
Should have connected with server but failed
Actual Behaviour
but instead it give WebSocket connection to 'ws://localhost:7080/query' failed
Debug Information
Issue mentioned on stackoverflow
https://stackoverflow.com/questions/67675102/getting-websocket-connection-to-ws-localhost7080-query-failed-on-connecting
The text was updated successfully, but these errors were encountered: