Graphql-playground: Can't connect to subscription endpoint on desktop app

Created on 1 Dec 2019  路  4Comments  路  Source: graphql/graphql-playground

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

Most helpful comment

any update on this? i get the same problem

All 4 comments

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

any update on this? met the same problem

any update on this? i get the same problem

+1

Was this page helpful?
0 / 5 - 0 ratings