microsoft / microsoft/BotFramework-DirectLineJS

networkInformation: Switching network type, then switching back again, results in RECONNECT_REJECTED

オープン
#416 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
199
フォーク
133
PR マージ指標
30日以内にマージされた PR はありません

説明

Version: v0.15.5

Steps to reproduce:
  1. Within the networkInformation object, set the type to "wifi". Wait for connection to resume as expected.
  2. Within the networkInformation object, set the type to "cellular". Wait for connection to resume as expected.
  3. Within the networkInformation object, set the type to "wifi".

Then, Observe:

  1. 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$
  2. The webchat ui is disabled, while displaying an "Unable to Connect" error message.

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

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

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