microsoft / microsoft/BotFramework-DirectLineJS
networkInformation: Switching network type, then switching back again, results in RECONNECT_REJECTED
Aperta
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 199
- Fork
- 133
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci la sequenza in v0.15.5 cambiando il tipo di networkInformation da wifi a cellular e poi di nuovo a wifi. Inizia dalla posizione reconnectSaga$ mostrata nell’errore e traccia la gestione della transizione del tipo di rete. L’attività è completata quando il secondo passaggio a wifi si riconnette senza RECONNECT_REJECTED e la Web Chat UI non viene disabilitata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- networking
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100