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.
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 saysCould not connect to websocket endpoint ws://localhost:8080. Please check if the endpoint url is correct.
. It seems it useslocalhost:8080
which doesn't exist. It works fine for query only happens on subscription.