使用Windows Azure Service Bus时出现CommunicationObjectAbortedException主题

时间:2018-09-04 07:24:34

标签: c# azure azure-servicebus-topics

使用Azure Service Bus时出现以下异常。 我根据订阅的主题将WebJob构建为ServiceBusTrigger 有人熟悉吗?

  

System.OperationCanceledException:无法执行该操作   因为该实体已关闭或中止。 ->   System.ServiceModel.CommunicationObjectAbortedException:内部   服务器错误:服务器未提供有意义的回复;这个   可能是由于会话过早关闭引起的。   TrackingId:xxxxxxxxx,时间戳:5/3/2018   晚上10:02:33   Microsoft.ServiceBus.Common.AsyncResult.End [TAsyncResult](IAsyncResult   结果)   Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.EndRequest(IAsyncResult   结果)   Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory 1.RequestSessionChannel.RequestAsyncResult.<>c.b__9_3(RequestAsyncResult thisPtr, IAsyncResult r) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult 1.StepCallback(IAsyncResult   结果)---从上一个异常发生的位置开始的堆栈结束跟踪   被扔了---   Microsoft.ServiceBus.Common.AsyncResult.End [TAsyncResult](IAsyncResult   结果),位于Microsoft.ServiceBus.Common.AsyncResult 1.End(IAsyncResult asyncResult) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory 1.RequestSessionChannel.EndRequest(IAsyncResult   结果)   Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory 1.RedirectContainerSessionChannel.RequestAsyncResult.<>c__DisplayClass8_1.b__4(RequestAsyncResult thisPtr, IAsyncResult r) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult 1.StepCallback(IAsyncResult   结果)---从上一个异常发生的位置开始的堆栈结束跟踪   被扔了---   Microsoft.ServiceBus.Common.AsyncResult.End [TAsyncResult](IAsyncResult   结果),位于Microsoft.ServiceBus.Common.AsyncResult 1.End(IAsyncResult asyncResult) at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory 1.RedirectContainerSessionChannel.EndRequest(IAsyncResult   结果)   Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory 1.RequestSessionChannel.RequestAsyncResult.<>c.b__9_3(RequestAsyncResult thisPtr, IAsyncResult r) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult 1.StepCallback(IAsyncResult   结果)---从上一个异常发生的位置开始的堆栈结束跟踪   被扔了---   Microsoft.ServiceBus.Common.AsyncResult.End [TAsyncResult](IAsyncResult   结果),位于Microsoft.ServiceBus.Common.AsyncResult 1.End(IAsyncResult asyncResult) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory 1.RequestSessionChannel.EndRequest(IAsyncResult   结果)   Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult   结果,IEnumerable 1& messages) --- End of inner exception stack trace --- at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult result, IEnumerable 1&条消息)位于   Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.ReceiveAsyncResult。<> c.b__12_5(ReceiveAsyncResult   thisPtr,IAsyncResult a)位于   Microsoft.ServiceBus.Messaging.IteratorAsyncResult 1.StepCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.OnEndTryReceive(IAsyncResult result, IEnumerable 1&消息),网址为   Microsoft.ServiceBus.Messaging.MessageReceiver.RetryReceiveAsyncResult。<> c.b__15_3(RetryReceiveAsyncResult   thisPtr,IAsyncResult r)位于   Microsoft.ServiceBus.Messaging.IteratorAsyncResult 1.StepCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.ServiceBus.Messaging.MessageReceiver.RetryReceiveAsyncResult.TryReceiveEnd(IAsyncResult r, IEnumerable 1&消息),网址为   Microsoft.ServiceBus.Messaging.MessageReceiver.EndTryReceive(IAsyncResult   结果,即IEnumerable 1& messages) at Microsoft.ServiceBus.Messaging.MessageReceiver.EndReceive(IAsyncResult result) at Microsoft.ServiceBus.Messaging.MessageReceivePump.PumpAsyncResult.<>c.b__7_3(PumpAsyncResult thisPtr, IAsyncResult r) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult 1.StepCallback(IAsyncResult   结果)

0 个答案:

没有答案