MS Bot Framework:500内部服务器错误 [英] MS Bot Framework : 500 internal server error

查看:230
本文介绍了MS Bot Framework:500内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个简单的bot - OOTB bot模板,没有任何自定义,可以计算输入中的字符数。它在当地工作正常。但是当发布到Azure并在网络聊天中测试时,它显示错误消息"抱歉,我的机器人代码有问题
"。


并且在频道错误上,我get" 有一个将此消息发送到您的机器人时出错:HTTP状态代码InternalServerError "


在启用应用洞察时,发现以下错误: 


\" error \":\" invalid_client \",\" error_description \":\" AADSTS7000216:'client_assertion','client_secret'或'request'是必需的对于'client_credentials'授权类型。\\\\\
Trace ID:a8058ac3-ce7c-4923-bfe6-ab74f5b11600 \\\\\\ nCorrelation
ID:95b4cafc-2d2e-4632 -98c0-f92976fb5e50 \\\\\\ n时间戳:2019-02-26 09:03:10Z\\ \\","\"错误_codes \ ":[7000216],\" timestamp \":\" 2019-02-26 09:03:10Z \",\" trace_id \":\" a8058ac3-ce7c-4923-bfe6-ab74f5b11600 \",\" correlation_id \":\" 95b4cafc-2d2e-4632-98c0-f92976fb5e50 \"}



我已更新到最新的Identity Token JWT并仍面临上述问题。



请帮忙!




如果这有助于您解决问题,请将其标记为已回答

解决方案

您好,


请访问以下论坛获取内部错误:























< td style =""> Bot Framework SDK问题/建议




< td style ="">

提交
问题
到Bot Framework文档GitHub repo。






支持类型 联系
社区支持 可以在
Stack Overflow
上发布问题使用 botframework 标记。请注意,Stack Overflow有一些指导原则,例如要求描述性标题,完整简明的问题陈述以及重现问题的足够详细信息。功能请求
或过于宽泛的问题是偏离主题的;新用户应访问
Stack Overflow帮助中心
以获取更多详细信息。
社区聊天组 Gitter.IM
使用机器人 通过他们的出版商电子邮件联系机器人开发人员
使用<上的问题标签a href ="https://github.com/Microsoft/BotBuilder-v3/"target ="_ blank"style ="">
GitHub repo
文档问题


I Developed a simple bot - OOTB bot template without any customization which counts number of characters in input. It works fine locally. But when published to Azure and Tested on web chat, it shows error message "sorry, my bot code is having an issue ".

And on Channels error, i get "There was an error sending this message to your bot: HTTP status code InternalServerError"

On enabling app insights, found below error : 

\"error\":\"invalid_client\",\"error_description\":\"AADSTS7000216: 'client_assertion', 'client_secret' or 'request' is required for the 'client_credentials' grant type.\\r\\nTrace ID: a8058ac3-ce7c-4923-bfe6-ab74f5b11600\\r\\nCorrelation ID: 95b4cafc-2d2e-4632-98c0-f92976fb5e50\\r\\nTimestamp: 2019-02-26 09:03:10Z\",\"error_codes\":[7000216],\"timestamp\":\"2019-02-26 09:03:10Z\",\"trace_id\":\"a8058ac3-ce7c-4923-bfe6-ab74f5b11600\",\"correlation_id\":\"95b4cafc-2d2e-4632-98c0-f92976fb5e50\"}

I had updated to latest Identity Token JWT and still facing above issue.

Please help!


If this helped you resolve your issue, please mark it Answered

解决方案

Hi,

Please go to following forums for Internal Error:

Support type Contact
Community support Questions can be posted at Stack Overflow using the botframework tag. Please note that Stack Overflow has guidelines such as requiring a descriptive title, a complete and concise problem statement, and sufficient details to reproduce your issue. Feature requests or overly broad questions are off-topic; new users should visit the Stack Overflow Help Center for more details.
Community chat group Gitter.IM
Using a bot Contact the bot's developer through their publisher e-mail
Bot Framework SDK issues/suggestions Use the issues tab on the GitHub repo
Documentation issues

Submit an issue to the Bot Framework documentation GitHub repo.


这篇关于MS Bot Framework:500内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆