Apollo-Server-Koa 2 Subscription not working #1465
Labels
📚 good-first-issue
Issues that are more approachable for first-time contributors.
📝 documentation
Focuses on changes to the documentation (docs)
🌹 has-reproduction
❤ Has a reproduction in Glitch, CodeSandbox or Git repository.
I have repo setup just like in the documentation:
https://github.com/tanekim77/apollo-server-koa-2-subscription-not-working
Yarn start will start the server.
if I query
"subscription{
postAdded{
author
}
}"
it says "Could not connect to websocket endpoint ws://localhost:4000/graphql. Please check if the endpoint url is correct."
What am I doing wrong?
Thanks in advance
The text was updated successfully, but these errors were encountered: