microsoft / microsoft/BotFramework-DirectLineJS
networkInformation: Switching network type, then switching back again, results in RECONNECT_REJECTED
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 199
- フォーク
- 133
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Version: v0.15.5
Steps to reproduce:
- Within the networkInformation object, set the type to "wifi". Wait for connection to resume as expected.
- Within the networkInformation object, set the type to "cellular". Wait for connection to resume as expected.
- Within the networkInformation object, set the type to "wifi".
Then, Observe:
- After attempting a reconnection to "wifi" for the second time, a DIRECT_LINE/RECONNECT_REJECTED error is thrown, with a payload of:
Error: Failed to reconnect. DirectLineJS returned 4.\n at reconnectSaga$ - The webchat ui is disabled, while displaying an "Unable to Connect" error message.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
networkInformation のタイプを wifi から cellular に変更し、再び wifi に戻して、v0.15.5 のシーケンスを再現します。エラーに示されている reconnectSaga$ の位置から開始し、ネットワークタイプの遷移処理を追跡します。2 回目の wifi への切り替えで RECONNECT_REJECTED が発生せずに再接続され、Web Chat UI が無効にならなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100