Repository navigation
Open
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.
Description
Is it an issue related to Adaptive Cards?
No response
Is this an accessibility issue?
No response
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
No response
Which area does this issue affect?
No response
Which theme pack does this issue affect?
I did not test it on other theme packs
What is the public URL for the website?
Please describe the bug
When running sample for directline to speech get this error:
Access to fetch at 'https://webchat-mockbot-streaming.azurewebsites.net/speechservices/token' from origin 'https://microsoft.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Do you see any errors in console log?
yes, this one:
Access to fetch at 'https://webchat-mockbot-streaming.azurewebsites.net/speechservices/token' from origin 'https://microsoft.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
and:
POST https://webchat-mockbot-streaming.azurewebsites.net/speechservices/token net::ERR_FAILED 500 (Internal Server Error)
and:
TypeError: Failed to fetch
at fetchCredentials (a.direct-line-speech/:42:29)
at lj (webchat.js:2:3531402)
at fj (webchat.js:2:3531974)
at Object.R2 [as createDirectLineSpeechAdapters] (webchat.js:2:3995682)
at a.direct-line-speech/:57:47
at a.direct-line-speech/:70:9How to reproduce the issue?
- Just open the sample: https://microsoft.github.io/BotFramework-WebChat/03.speech/a.direct-line-speech/
- Open browser devtools
What do you expect?
Working sample
What actually happened?
Blank page, no errors displayed on sample:
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
Additional context
No response
Metadata
Metadata
Assignees
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.
Activity