apollographql / apollographql/graphql-subscriptions
Weird Apollo server error-could not connect to endpoint
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
I have defined my schema for query Messages, resolver and mutation, also the subscription. Followed the docs for Apollo server subscription but it keeps giving the same error.
I tried to use the Subscribe server from the docs but nothing works
please see here the code and further explanation of this apollo server subscriptions issue:
https://stackoverflow.com/questions/65642947/weird-apollo-server-error-could-not-connect-to-endpoint
Contributor guide
Research direction
Start with the Stack Overflow report linked in the issue and compare the described schema, resolver, mutation, and subscription setup with the Apollo Server subscription documentation. Reproduce the “could not connect to endpoint” error and determine what information or project change is needed for the subscription endpoint to connect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100