gpt4 book ai didi

azure - 错误: The bot's MSA appId or password is incorrect

转载 作者:行者123 更新时间:2023-12-02 03:23:18 29 4
gpt4 key购买 nike

您好,我正在 Bot 框架中工作,因为当我将机器人发布到 azure 后在本地机器人模拟器中测试机器人时,我遇到了问题,并且在机器人模拟器中我提供了已发布的 url 和 Microsoft appid 以及微软机器人模拟器的 secret 。当我连接到 azure 时,它​​显示如下问题。

Command failed: 4294967295 System.AggregateException: One or more errors occurred. ---> System.Exception: Couldn't acquire lock, is another instance running at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.<CheckForUpdate>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) at Squirrel.Update.Program.Main(String[] args) ---> (Inner Exception #0) System.Exception: Couldn't acquire lock, is another instance running at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut) at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.<CheckForUpdate>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Update.Program.<CheckForUpdate>d__8.MoveNext()<--- {} 

POST 401 [对话更新]

POST 401 [conversationUpdate]

Error: The bot's MSA appId or password is incorrect.

Edit your bot's MSA info

POST 401 [conversationUpdate]

Error: The bot's MSA appId or password is incorrect.

Edit your bot's MSA info

enter image description here

我删除了应用程序 ID 和密码,并尝试在本地运行它,然后它可以正常工作。

我在互联网上进行了研究,但找不到任何解决方案可以解决我的问题。请帮忙。

提前致谢

最佳答案

您可以尝试在机器人模拟器中使用http://localhost:3979/api/Messages,但不要输入任何类型的ID和密码,并将其从您的web.xml中删除。配置

如下图所示:

enter image description here enter image description here

然后按 ctrl+f5 然后尝试。它将开始在您的本地环境中工作。

要进行远程调试,您需要使用 ngork。

如果您需要更多说明,请告诉我。

关于azure - 错误: The bot's MSA appId or password is incorrect,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47881545/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com