question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebSocket handshake/connection faild to cognitiveservices in webchat-es5.js

See original GitHub issue
webchat-es5.js:79 WebSocket connection to 'wss://westeurope.stt.speech.microsoft.com/speech/recognition/interactive/cognitiveservices/v1?language=en&format=detailed&Authorization=eyJhb...gDo9A-M&X-ConnectionId=C7C387E721614770B0325717B41A6309' failed: Error during WebSocket handshake: Unexpected response code: 400
Open @ webchat-es5.js:79

In few chrome is working but in few chrome browser its failing not sure how to resolve this.

(Edited by @compulim for formatting and removing sensitive content)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
rhureycommented, Mar 28, 2019

Sorry the result message didn’t contain enough information to diagnose the failure.

The language specified in all three requests isn’t a supported language code.

The language specified needs to be from the support list of languages you can find at https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support.

While the value is case insensitive, the speech service does require the 4 letter language code.

1reaction
Akkilzcommented, Mar 25, 2019

its es5.js, typo issue, i will check the network tab and share you the analysis details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebChat - Direct Line Speech adapter error: WebSocket ...
I'm trying to voice enable the bot, however I keep getting Websocket connection error. I have the echo-bot running on the server side....
Read more >
Getting started with SignalR using ASP.NET Core and Angular
This article shows how to setup a first SignalR Hub in ASP.NET Core 2.2 and use it with an Angular client. SignalR was...
Read more >
Web App Sample - Websocket handshake failure - MSDN
You created your app using a Linux app service. It appears that web sockets isn't available for Linux. Re-create your app service using...
Read more >
Books: WebSocket - Edward Betts
Once a successful handshake occurs between the server and the client, a two-way communication channel is established, and both the client and server...
Read more >
RxJS in Action.pdf
Error handling with RxJS 182. PART 3 MASTERING RXJS 209. 8 □. Heating up observables 211. 9 □. Toward testable, reactive programs 245....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found