apollographql / apollographql/graphql-subscriptions

Websocket endpoint issue

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
129
PR merge metrics
No merged PRs in 30d

Description

If my endpoint like this **http://domain_url:4000/graphql**, then everything working fine.
And i changed my endpoint to **http://domain_url/graphql** then i'm facing issue like : "**Could not connect to websocket endpoint ws://domain_url/graphql. Please check if the endpoint url is correct.**" . I'm using centOS for reverse proxy. Is anything needed for graphql subscription ?? kindly guide me for the subscription server setup .

Contributor guide

Open the contributing guide

Research direction

Start by comparing the working endpoint on port 4000 with the failing endpoint behind the CentOS reverse proxy, focusing on the GraphQL subscription WebSocket connection. Verify the subscription server setup and confirm that ws://domain_url/graphql connects successfully through the proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.