Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add Keep-Alive to keep the subscription WebSocket open

Open
#240 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
graphql, node.js, typescript
Domain
api, backend

Research direction

No source file or test is identified. Start by reproducing the failure in the linked Playground and trace the subscription WebSocket endpoint and its connection lifetime. Done means the subscription WebSocket remains open during continued Playground use instead of eventually reporting a connection error.

Written by the indexing model from the issue text.

Description

Summary
Playground fails with an error after playing with subscriptions.

Version
Not applicable

Description
In step 11. of the Apollo tutorial for Android (1), playing with the Subscription in the Playground (2) stopped working after some time with this error:

{
  "error": "Could not connect to websocket endpoint wss://apollo-fullstack-tutorial.herokuapp.com/graphql. Please check if the endpoint url is correct."
}

apollo_android_step11_subscription_playground_failure

(1) https://www.apollographql.com/docs/android/tutorial/11-subscriptions/
(2) https://apollo-fullstack-tutorial.herokuapp.com/

Let me know if you need further information.

Dominant language
TypeScript
Stars
1.2k
Forks
808
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apollographql/fullstack-tutorial

All issues in apollographql/fullstack-tutorial

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.