apollographql / apollographql/graphql-subscriptions

Weird Apollo server error-could not connect to endpoint

Open
#241 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.