apollographql / apollographql/fullstack-tutorial

Add Keep-Alive to keep the subscription WebSocket open

Open
#240 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
808
PR merge metrics
No merged PRs in 30d

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](https://user-images.githubusercontent.com/6403886/98381728-92f30180-204a-11eb-9e33-d0ec305c743b.png)

(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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.