![](/img/trans.png)
[英]MS Teams Get Roster returns "The bot is not part of the conversation roster."
[英]MS Teams Bot: test in web chat is unauthorized for Teams conversation bot from BotBuilder-Samples
我使用了机器人频道注册和 ngrok。 我已经替换了 .env 文件中的 MicrosoftAppId 和 MicrosoftAppPassword(client secret)。 我还在清单中编辑了应用程序 ID。 But when I try to test the bot in web chat, it's giving me unauthorized with this error: JwtTokenExtractor.getIdentity:err: FetchError: request to https://login.botframework.com/v1/.well-known/openidconfiguration failed,原因:连接ETIMEDOUT
当我在本地模拟器中测试它时它可以工作。 请帮我。
我刚刚对其进行了测试,它对我有用,我所做的只是创建一个机器人通道注册,将消息传递端点https://xxxxxxa6ab9.ngrok.io/api/messages 放入,然后将应用程序 reg secret 和 appid 放入。 env 并运行了两件事。
听起来您可能有防病毒/防火墙阻止了您的 ngrok 或机器人与外部之间的某些通信。 make sure you turn off third party firewalls and such, and just to confirm, you need 2 command windows to run this, one window to run ngrok and a separate window to run the npm start.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.