[.NET SDK] Code not working in deployment mode
Bot Info
- SDK Platform: .NET
- Active Channels: Direct Line
- Deployment Environment: < Azure App Service and local development with Emulator >
Issue Description:
Our bot is continously deployed via a bitbucket repo..it was working great until last friday..then we had to change some luis keys. after updating and syncing the latest code our bot is just not replying anything. The code works perfectly fine in the emulator...but once it is up in continous deployment it just stops responding (i.e: it shows the welcome message but doesn't respond to anything after that).
it is strange as the same code is working fine locally on emulator. I am totally confused. i have checked the LUIS endpoint, it is active..and have given the correct license keys in the code. Has anyone else faced a similar problem??plz help asap.
Can you copy-paste the section of the code where you use the license keys in the code? Are you plain-text adding the keys to your bot or are you using environmental variables? If the latter, did you update the environment variables in Azure App Service?
This is my web config file. And as I said before the code is running fine locally i.e via the emulator. Once I push it into continous deployment, it just stops responding.
`xml version="1.0" encoding="utf-8"?>
configuration appSettings add key="MicrosoftAppId" value="XXXXXXXXXXXXXXXXXXXXXXXXXX" add key="MicrosoftAppPassword" value="XXXXXXXXXXXXXXXXXXXX" add key="MicrosoftSpeechApiKey" value="XXXXXXXXXXXXXXXXXXXXXXX" add key="LuisAppId" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" add key="LuisAPIKey" value="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" add key="LuisAPIHostName" value="westus.api.cognitive.microsoft.com"
As of now all our bots that are configured for continous deployment via BitBucket are not working...none of them. I completely confused as to what went wrong..someone plz help
Are these migration bots or are these new bots?
I don't know what that means. All the bots have been already migrated to the azure portal long before 31st march. And they were working fine.
Can you please let us know if the issue still persists?
Closing, no response.