-
Notifications
You must be signed in to change notification settings - Fork 4.9k
DLS Client Error when connecting experimental Core Bot to Azure #1759
Description
Github issues for C#
Experimental CoreBot
Environment
C# .NET Core
Sample information
- Sample type: /experimental/directline-speech/csharp_dotnetcore/13.core-bot/
- Sample language: dotnetcore
- Sample name: 13.core-bot
Describe the bug
The steps followed to deploy this bot can be found in the following link
Experimental Core Bot Sample throws an error in Direct Line Speech Client after deploying to Azure.

This error is only encountered when the Core Bot is deployed to Azure and is tested using the DLS Client.
Running and testing the Core Bot locally using the Bot Emulator does not result in a error.
In order to resolve the issue
- Navigate to CoreBot/Cards/welcomeCard.json -> on Line 23, change isSubtle from 'yes' to true.
- Redeploy Bot and reconnect DLS Client using DLS Secret Key and Cognitive Services Speech API key.
- Error should be resolved.
To Reproduce
Steps to reproduce the behavior:
- Go to 'CoreBot/Cards/welcomeCard.json'
- If 'isSubtle' is true, change it to 'yes'
- Reconnect DLS Client
- Error shown in DLS Client
Expected behavior
Upon DLS connection to CoreBot, an Adaptive Card is expected to be displayed.
Due to the parsing error in either the Bot or the DLS Client, an error is thrown on connection.
Once the isSubtle in welcomeCard.json field is changed, the error is resolved and the Adaptive Card is displayed.
Screenshots
Error Field
Fixed Error Field
Additional context
This is the link to the Adaptive Cards API
isSubtle must be a Boolean, although it is not a required field, an incorrect value causes an error in the deployed version (no error in the locally run version)
Additional Issues are related to the Bot Emulator and Bot Channels Registration Web Chat.
The deployed bot does not run in the Bot Emulator or the Web Chat.
https://[botname].azurewebsites.net/api/messages
returns a http 500 error in the Emulator
[bug]

