graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.75k stars 731 forks source link

Can't connect to subscription endpoint on desktop app #1109

Open zhaoyi0113 opened 4 years ago

zhaoyi0113 commented 4 years ago

I am using Graphql Playground 1.8.10 version on Mac OS. It works fine when I send query to my graphql server. But it can't find the subscription endpoint URL when I send a subscription event.

In below screenshot, the url I used is http://localhost:8080/quote but the error message says Could not connect to websocket endpoint ws://localhost:8080. Please check if the endpoint url is correct.. It seems it uses localhost:8080 which doesn't exist. It works fine for query only happens on subscription.

image

SameerChorge94 commented 4 years ago

+1 Any update on this issue? Same issue is reproduced using express-server and nexus-prisma.

liuxiaopiao commented 4 years ago

any update on this? met the same problem

V1os commented 4 years ago

any update on this? i get the same problem

c10b10 commented 3 years ago

+1