Microsoft Chatbot Framework 为 Facebook Messenger 返回 HTTP 状态代码 InternalServerError

Microsoft Chatbot Framework returning HTTP status code InternalServerError for Facebook messenger

我已经将 Microsoft Chatbot Framework 聊天机器人部署为 Web App Bot。它在模拟器中工作,它在 Azure 中的 Webchat 测试中工作,但是当我尝试从 Facebook messsenger 使用它时,我得到了:

There was an error sending this message to your bot: HTTP status code InternalServerError

有没有办法获取更详细的日志?我打开了 Application Insights,但仍然找不到任何东西。

谢谢

我遇到了类似的问题。我在我的机器人中快速实现了 NLOG(基本实现很简单),并将所有错误日志和一些附加事件写入文本日志。这对我帮助很大。

希望这对您有所帮助: https://github.com/NLog/NLog/wiki/Tutorial