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.

Cognitive Speech not working in West Europe

See original GitHub issue

Screenshots

image

Version

I use 4.7.1, but it doesn’t work on 4.6.0 too.

"<meta name="botframework-directlinespeech:version" content="4.7.1">
<meta name="botframework-webchat:bundle:variant" content="full-es5">
<meta name="botframework-webchat:bundle:version" content="4.7.1">
<meta name="botframework-webchat:core:version" content="4.7.1">
<meta name="botframework-webchat:ui:version" content="4.7.1">"

Describe the bug

When I click on the microphone this error occurs.

On 19.12.2019 everything worked fine and when I tried on 20.12.2019 WITHOUT changing anything at the code it wouldn’t work.

This is how I implement the Cognitive Speech Service:

<script>
webSpeechPonyfillFactory = window.WebChat.createCognitiveServicesSpeechServicesPonyfillFactory({
			//	credentials: {
						region: 'westeurope',
						subscriptionKey: 'XXXXX'
			//		}
			})
			window.WebChat.renderWebChat({
				directLine: window.WebChat.createDirectLine({
				//	token: token
					secret: 'XXXXXXXX',
					
				}),
				webSpeechPonyfillFactory: webSpeechPonyfillFactory,
				// disable timestamp
				groupTimestamp: false,
					
				//set language
				locale: 'en-US',
					
			}, 
				document.getElementById('webchat'));
			
         
      </script>

Expected behavior

It should recognize my voice and translate it to text.

Additional context

My bot runs on C#, but I tried on a JS-Bot too, same Error. WebSockets are enabled in the BotConfig.

[Bug]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
compulimcommented, Jan 16, 2020

Although you may not using LUIS in your bot, Direct Line channel do provides a LUIS ID and requires Web Chat to pass it to Cognitive Services. The ID is called “LUIS reference grammar ID”.

Even in your case, you are not using LUIS, Direct Line channel still send us the LUIS ID, so we still pass it to Cognitive Services. And I believe Cognitive Services has some issues handling LUIS ID in West Europe region.

We have contacted Cognitive Services team and they are investigating the issue.

2reactions
wehnicdecommented, Jan 22, 2020

Closing this issue as it is working now. Thanks for the investigation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Speech service supported regions - Azure - Microsoft Learn
A list of available regions and endpoints for the Speech service, including speech-to-text, ... Europe, West Europe, westeurope 1,2,3,4,5.
Read more >
Microsoft Azure Cognitive Speech to Text - node.js
I have created an azure Speech Cognitive resource in the region westeurope and verified the key is correct. Now I am using the...
Read more >
Does recreational ecstasy use cause long-term cognitive ...
What should we tell ecstasy users? Findings from animal studies suggest that long-term cognitive problems are associated with MDMA exposure, and clear parallels ......
Read more >
Teach Azure to Speak with Azure Cognitive Services Text to ...
If this sounds like a hard problem to solve, it is. However, Microsoft Azure offers the Speech service to help teach computers to...
Read more >
Connected Speech and Language in Mild Cognitive ...
Thus, quantifying memory difficulties and language problems ... and one study used the Picnic Scene from the Western Aphasia Battery (Kertesz, 1982; Fig....
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