microsoft / microsoft/BotFramework-DirectLineJS
Unhandled exception when receiving websocket error
オープン
@compulim がすでに取り組んでいます。
2020年8月11日 から。
Bot Services
customer-replied-to
customer-reported
- 主要言語
- TypeScript
- スター
- 199
- フォーク
- 133
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It happens occasionally when the websocket connection returns 400.
Can be easily reproduced by providing a non-working domain:
var directLine = new DirectLine({
secret: <bot-secret>,
domain: 'https://europe.directline.botframework.com/v3/directline'
});
Trace:
Error: Unexpected server response: 400
at ClientRequest.req.on (E:\Project\node_modules\ws\lib\websocket.js:559:5)
at ClientRequest.emit (events.js:159:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:550:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:115:23)
at TLSSocket.socketOnData (_http_client.js:439:20)
at TLSSocket.emit (events.js:159:13)
at addChunk (_stream_readable.js:265:12)
at readableAddChunk (_stream_readable.js:252:11)
at TLSSocket.Readable.push (_stream_readable.js:209:10)
at TLSWrap.onread (net.js:608:20)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。