apollographql / apollographql/fullstack-tutorial

Add Keep-Alive to keep the subscription WebSocket open

オープン
#240 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.2k
フォーク
808
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

ソースファイルもテストも特定されていません。まず、リンク先の Playground で失敗を再現し、subscription WebSocket エンドポイントとその接続の存続期間を追跡してください。Playground を継続して使用している間、subscription WebSocket が開いたままになり、最終的に接続エラーを報告しないことが完了条件です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql, node.js, typescript
領域
api, backend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。