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.

Debug site shows microphone, site deployed to Azure does not

See original GitHub issue

Version

Cdn latest (4.7.1)

Describe the bug

Launching a Virtual Assistant template webchat in debug from Visual Studio shows the cognitive speech services microphone and works.

Deploying the page to Azure and opening it does not show the microphone and in console we have a warning:

webchat.js:2 web-speech-cognitive-services: This browser does not support WebRTC and it will not work with Cognitive Services Speech Services.

Steps to reproduce

launch page with webchat and cognitive speech services enabled from Visual Studio debug (chrome) and check speech works

deploy the page to Azure and check it doesn’t work

Expected behavior

Cognitive speech recognition should be enabled work either in development and production.

Additional context

Same browser (Chrome) in both cases. I compared the page source code from both environments and they are identical, only the Azure deployed one gives the warning and cognitive speech is not enabled.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
corinagumcommented, Jan 28, 2020

This note is unrelated to speech: @rvallireply, you can remove language: 'it-IT' from your renderWebChat function. language was a documentation mistake that has now been modified in our docs. locale is the correct prop. Sorry for the confusion!!

2reactions
compulimcommented, Jan 28, 2020

Most browsers disabled microphone support on insecure HTTP site.

Please browse your website with HTTPS.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot with Visual Studio - Azure App Service
Learn how to troubleshoot an App Service app by using remote debugging, tracing, and logging tools that are built in to Visual Studio...
Read more >
Deploying and debugging UWP apps - Microsoft Learn
This article guides you through the steps to target various deployment and debugging targets.
Read more >
Introduction to Remote Debugging on Azure Web Sites
Web developers can create, publish and debug Azure-hosted websites all from a single development environment. The integration of Visual Studio ...
Read more >
Debugging an Azure cloud service or virtual machine
However, some errors might occur only when you run a cloud service in Azure itself. You can debug these errors if you enable...
Read more >
Troubleshooting snapshot debugging - Visual Studio (Windows)
Navigate to your App Service's Kudu site (that is, yourappservice.scm.azurewebsites.net) and navigate to Debug Console. · Agent logs are stored ...
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