【问题标题】:Microsoft Bot is not responding in either Teams nor the Bot EmulatorMicrosoft Bot 在 Teams 和 Bot Emulator 中均未响应
【发布时间】:2021-01-08 08:29:55
【问题描述】:

我有:

  • 在 localhost 上运行的相应 Web-App。
  • 在 Bot Framework 中活动的 MS 团队的开放通道,始终显示“正在运行”(没有问题)。
  • 从 git 下载了一个带有一些预设机器人命令的 VS19 项目。

但是,当我通过 ngrok 托管应用程序并尝试通过团队联系机器人时,会显示带有命令的下拉菜单,但机器人不会回复任何一个。 使用机器人模拟器时,它也不会对任何消息做出反应(见下文)。

You said:
hello

Restart conversation from here
You said:
help

Restart conversation from here
Connectivity Status: Connected
Suggested Actions Container: Is empty

[10:03:51]Connecting to bot on https://localhost:3979/api/messages
[10:03:51]Emulator listening on http://[::]:58187
[10:03:52]-> conversationUpdate
[10:03:52]ngrok listening on https://67fe6eb30077.ngrok.io
[10:03:52]ngrok traffic inspector:http://127.0.0.1:4040
[10:03:52]Will bypass ngrok for local addresses
[10:03:52]POST400directline/conversations/<conversationId>/activities
[10:03:58]-> message hello

【问题讨论】:

标签: botframework microsoft-teams


【解决方案1】:

由于我无法解决问题,我重新开始了注册过程,这次是使用我们的租户帐户。除了导致 AADSTS700016-Error 服务器端之外,它并没有太大变化。经过一番研究,我偶然发现了this 文章,该文章解释了该问题,但也显示了解决方案,即在注册清单中设置“signInAudience”:“AzureADandPersonalMicrosoftAccount”。由于某种原因,此选项不适用于我的应用程序,因此我将其设置为“signInAudience”:“AzureADMultipleOrgs”,这暂时解决了该问题。

【讨论】:

    猜你喜欢
    • 2023-03-11
    • 1970-01-01
    • 1970-01-01
    • 2017-11-05
    • 2020-12-17
    • 2021-09-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多