networkInformation: Switching network type, then switching back again, results in RECONNECT_REJECTED
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- networking
Research direction
Reproduce the sequence in v0.15.5 by changing the networkInformation type from wifi to cellular and back to wifi. Start at the reconnectSaga$ location shown in the error and trace the network-type transition handling. Done means the second switch back to wifi reconnects without RECONNECT_REJECTED and the Web Chat UI does not become disabled.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 199
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/BotFramework-DirectLineJS
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/BotFramework-DirectLineJS#432 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/BotFramework-DirectLineJS#424 · 3 comments ·
-
bug
microsoft/BotFramework-DirectLineJS#421 · 3 comments · 1 assignee ·
All issues in microsoft/BotFramework-DirectLineJS
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·