admin管理员组文章数量:1024641
I created an Azure Bot using the Node.js steps in the docs
The bot worked when using the emulator. In image below, the left side screen (white) is bot emulator. Right side is VS Code running the bot code (npm start
step):
Then I followed the Deploy to Azure part but the bot doesn't work. I get a blank screen when I use "Test in Web Chat":
I see internal server error
in the webchat channel logs
As I am using an existing resource group. I used the deployUsingExistingResourceGroup
deployment scripts. I created new app service, app service plan and bot.
App deployment values
{
"$schema": ".json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appServiceName": {
"value": "testbotcliappservicemultitenant"
},
"existingAppServicePlanName": {
"value": ""
},
"existingAppServicePlanLocation": {
"value": ""
},
"newAppServicePlanName": {
"value": "testbotcliappserviceplanmultitenant"
},
"newAppServicePlanLocation": {
"value": "swedencentral"
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"appType": {
"value": "MultiTenant"
},
"appId": {
"value": "99.....9"
},
"appSecret": {
"value": "i..E"
},
"UMSIName": {
"value": ""
},
"UMSIResourceGroupName": {
"value": ""
},
"tenantId": {
"value": ""
}
}
}
Azure Bot deployment values
{
"$schema": ".json#",
"contentVersion": "1.0.0.0",
"parameters": {
"azureBotId": {
"value": "testbotclibotidmultitenant"
},
"azureBotSku": {
"value": "S1"
},
"azureBotRegion": {
"value": "global"
},
"botEndpoint": {
"value": ";
},
"appType": {
"value": "MultiTenant"
},
"appId": {
"value": "99...9"
},
"UMSIName": {
"value": ""
},
"UMSIResourceGroupName": {
"value": ""
},
"tenantId": {
"value": ""
}
}
}
What I might be doing wrong? How do I debug the issue?
I created an Azure Bot using the Node.js steps in the docs
The bot worked when using the emulator. In image below, the left side screen (white) is bot emulator. Right side is VS Code running the bot code (npm start
step):
Then I followed the Deploy to Azure part but the bot doesn't work. I get a blank screen when I use "Test in Web Chat":
I see internal server error
in the webchat channel logs
As I am using an existing resource group. I used the deployUsingExistingResourceGroup
deployment scripts. I created new app service, app service plan and bot.
App deployment values
{
"$schema": ".json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appServiceName": {
"value": "testbotcliappservicemultitenant"
},
"existingAppServicePlanName": {
"value": ""
},
"existingAppServicePlanLocation": {
"value": ""
},
"newAppServicePlanName": {
"value": "testbotcliappserviceplanmultitenant"
},
"newAppServicePlanLocation": {
"value": "swedencentral"
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"appType": {
"value": "MultiTenant"
},
"appId": {
"value": "99.....9"
},
"appSecret": {
"value": "i..E"
},
"UMSIName": {
"value": ""
},
"UMSIResourceGroupName": {
"value": ""
},
"tenantId": {
"value": ""
}
}
}
Azure Bot deployment values
{
"$schema": ".json#",
"contentVersion": "1.0.0.0",
"parameters": {
"azureBotId": {
"value": "testbotclibotidmultitenant"
},
"azureBotSku": {
"value": "S1"
},
"azureBotRegion": {
"value": "global"
},
"botEndpoint": {
"value": ";
},
"appType": {
"value": "MultiTenant"
},
"appId": {
"value": "99...9"
},
"UMSIName": {
"value": ""
},
"UMSIResourceGroupName": {
"value": ""
},
"tenantId": {
"value": ""
}
}
}
What I might be doing wrong? How do I debug the issue?
本文标签: botframeworkAzure Bot servicecreated using Bot SDKnot workingStack Overflow
版权声明:本文标题:botframework - Azure Bot service, created using Bot SDK, not working - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1743841441a2039058.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论