Botframework 无法发送的活动的高级重试逻辑

Botframework 无法发送的活动的高级重试逻辑,botframework,microsoft-teams,azure-bot-service,Botframework,Microsoft Teams,Azure Bot Service,有一个月的时间,我的机器人在打磨或接收团队活动时开始超时。我已经在github上打开了一个bot框架 我正在创造一个新的问题,因为所有类似的问题都是指对话的开始或直接渠道,而不是团队。 我随机收到502错误网关,无法找到根本原因。 到目前为止,在与机器人的30次对话中,有2次发生了这种情况。 这两个错误发生在对话的中间,在完全相同的瀑布步骤中,而BOT显示带有用户按钮的英雄卡。 机器人第一次发送英雄卡时,用户单击按钮,但随后出现错误。下面是堆栈跟踪和应用程序洞察屏幕截图 Microsoft.Bo

有一个月的时间,我的机器人在打磨或接收团队活动时开始超时。我已经在github上打开了一个bot框架

我正在创造一个新的问题,因为所有类似的问题都是指对话的开始或直接渠道,而不是团队。 我随机收到502错误网关,无法找到根本原因。 到目前为止,在与机器人的30次对话中,有2次发生了这种情况。 这两个错误发生在对话的中间,在完全相同的瀑布步骤中,而BOT显示带有用户按钮的英雄卡。

机器人第一次发送英雄卡时,用户单击按钮,但随后出现错误。下面是堆栈跟踪和应用程序洞察屏幕截图

Microsoft.Bot.Schema.ErrorResponseException: 在Microsoft.Bot.Connector.Conversations+d_u10.MoveNext(Microsoft.Bot.Connector,版本=4.6.3.0,区域性=中立,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Connector.ConversationsExtensions+d__17.MoveNext(Microsoft.Bot.Connector,版本=4.6.3.0,区域性=中立,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Builder.BotFrameworkAdapter+d__28.MoveNext(Microsoft.Bot.Builder,版本=4.6.3.0,区域性=中立,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Builder.TurnContext+c_uuuuDisplayClass22_0+d.MoveNext(Microsoft.Bot.Builder,版本=4.6.3.0,区域性=中性,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Builder.TelemetryLoggerMiddleware+c_uuDisplayClass7_0+d.MoveNext(Microsoft.Bot.Builder,版本=4.6.3.0,区域性=中立,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Builder.TurnContext+d_u21.MoveNext(Microsoft.Bot.Builder,版本=4.6.3.0,区域性=中立,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Builder.Dialogs.TextPrompt+d_u1.MoveNext(Microsoft.Bot.Builder.Dialogs,版本=4.6.3.0,区域性=中性,PublicKeyToken=31bf3856ad364e35) 在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e) 在Microsoft.Bot.Builder.Dialogs.Prompt
1+d\u 5.MoveNext(Microsoft.Bot.Builder.Dialogs,版本=4.6.3.0,区域性=中立,PublicKeyToken=31bf3856ad364e35)
在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(System.Private.CoreLib,版本=4.0.0.0,区域性=中立,PublicKeyToken=7cec85d7bea7798e)
在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Private.CoreLib,版本=4.0.0.0,区域性=neutral,PublicKeyToken=7cec85d7bea7798e)
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Private.CoreLib,Version=4.0.0.0,Culture=neutral,P