apollographql / apollographql/fullstack-tutorial

Add Keep-Alive to keep the subscription WebSocket open

Ouverte
#240 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
1.2k
Forks
808
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Aucun fichier source ni test n’est identifié. Commencez par reproduire l’échec dans le Playground lié, puis suivez le endpoint WebSocket de la subscription et la durée de vie de sa connexion. Le travail est terminé lorsque le WebSocket de la subscription reste ouvert pendant l’utilisation continue du Playground, au lieu de finir par signaler une erreur de connexion.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
graphql, node.js, typescript
Domaine
api, backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.