Asynchronous 服务巴士;服务器没有提供有意义的回复;这可能是由于会话过早关闭造成的”;

Asynchronous 服务巴士;服务器没有提供有意义的回复;这可能是由于会话过早关闭造成的”;,asynchronous,azure,servicebus,Asynchronous,Azure,Servicebus,我遵循此实现从服务总线接收消息: 问题是,有时我会遇到这个错误,我不知道我能做些什么来解决这个问题 Microsoft.ServiceBus.Messaging.MessagingCommunicationException was unhandled by user code HResult=-2146233088 Message=Error during communication with Service Bus. Check the connection information,

我遵循此实现从服务总线接收消息:

问题是,有时我会遇到这个错误,我不知道我能做些什么来解决这个问题

Microsoft.ServiceBus.Messaging.MessagingCommunicationException was unhandled by user code
  HResult=-2146233088
  Message=Error during communication with Service Bus. Check the connection information, then retry.
  Source=Microsoft.ServiceBus
  IsTransient=true
  StackTrace:
    Server stack trace: 
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult result, IEnumerable`1& messages)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.ReceiveAsyncResult.<GetAsyncSteps>b__27(ReceiveAsyncResult thisPtr, IAsyncResult a)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    Exception rethrown at [0]: 
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.OnEndTryReceive(IAsyncResult result, IEnumerable`1& messages)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.OperationComplete(IAsyncResult result)
       at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
    Exception rethrown at [1]: 
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.End(IAsyncResult result, T& output)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.End[T](IAsyncResult result, T& output)
       at Microsoft.ServiceBus.Messaging.MessageReceiver.EndTryReceive(IAsyncResult result, IEnumerable`1& messages)
       at Microsoft.ServiceBus.Messaging.MessageReceiver.EndReceive(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.SubscriptionClient.EndReceive(IAsyncResult result)
       at Azure.WorkerCommandProcessor.WorkerRole.<>c__DisplayClass17.<messageHandler>b__10(IAsyncResult ar) in d:\TFS\DEV\Azure\Azure.Development\Azure.WorkerCommandProcessor\WorkerRole.cs:line 247
       at Microsoft.Practices.TransientFaultHandling.RetryPolicy.<>c__DisplayClass7.<ExecuteAction>b__4(IAsyncResult ar)
       at Microsoft.Practices.TransientFaultHandling.RetryPolicy.<>c__DisplayClass10`1.<>c__DisplayClass12.<ExecuteAction>b__c()
       at Microsoft.Practices.TransientFaultHandling.RetryPolicy.<>c__DisplayClass10`1.<ExecuteAction>b__d(Action a)
  InnerException: System.ServiceModel.CommunicationObjectFaultedException
       HResult=-2146233087
       Message=Internal Server Error: The server did not provide a meaningful reply; this might be caused by a premature session shutdown..TrackingId:bb1281ab-2334-4fa3-88bb-eadce71b0d37, Timestamp:07-01-2013 10:46:52
       Source=Microsoft.ServiceBus
       StackTrace:
         Server stack trace: 
         Exception rethrown at [0]: 
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.DuplexCorrelationAsyncResult.End(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<GetAsyncSteps>b__4(RequestAsyncResult thisPtr, IAsyncResult r)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         Exception rethrown at [1]: 
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.RequestAsyncResult.<>c__DisplayClass17.<GetAsyncSteps>b__a(RequestAsyncResult thisPtr, IAsyncResult r)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         Exception rethrown at [2]: 
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<GetAsyncSteps>b__4(RequestAsyncResult thisPtr, IAsyncResult r)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         Exception rethrown at [3]: 
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult result, IEnumerable`1& messages)
       InnerException: 
Microsoft.ServiceBus.Messaging.MessagingCommunicationException未由用户代码处理
HResult=-2146233088
消息=与服务总线通信期间出错。请检查连接信息,然后重试。
Source=Microsoft.ServiceBus
IsTransient=true
堆栈跟踪:
服务器堆栈跟踪:
在Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult结果,IEnumerable`1&messages)中
在Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.ReceiveAsyncResult.b_u27(ReceiveAsyncResult thisPtr,IAsyncResult a)
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
在[0]处重试异常:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult AsyncResult)
位于Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.OnEndTryReceive(IAsyncResult结果,IEnumerable`1&messages)
在Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.OperationComplete(IAsyncResult结果)
位于Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult结果)
[1]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.End(IAsyncResult结果,T&output)
在Microsoft.ServiceBus.Messaging.OpenOnceManager.End[T](IAsyncResult结果,T&output)
在Microsoft.ServiceBus.Messaging.MessageReceiver.EndTryReceive(IAsyncResult结果,IEnumerable`1和messages)
位于Microsoft.ServiceBus.Messaging.MessageReceiver.EndReceive(IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.SubscriptionClient.EndReceive(IAsyncResult结果)
在Azure.WorkerCommandProcessor.WorkerRole.c_uuu中,在d:\TFS\DEV\Azure\Azure.Development\Azure.WorkerCommandProcessor\WorkerRole.cs中显示Class17.b_uuuuu10(IAsyncResult ar):第247行
在Microsoft.Practices.TransientFaultHandling.RetryPolicy.c__DisplayClass7.b___4(IAsyncResult ar)
在Microsoft.Practices.TransientFaultHandling.RetryPolicy.c_uuuDisplayClass10`1.c_uuuDisplayClass12.b_uuuC()
在Microsoft.Practices.TransientFaultHandling.RetryPolicy.c__DisplayClass10`1.b_;d(操作a)
InnerException:System.ServiceModel.CommunicationObjectFaultedException
HResult=-2146233087
Message=内部服务器错误:服务器未提供有意义的回复;这可能是由于会话过早关闭造成的..TrackingId:bb1281ab-2334-4fa3-88bb-eadce71b0d37,时间戳:07-01-2013 10:46:52
Source=Microsoft.ServiceBus
堆栈跟踪:
服务器堆栈跟踪:
在[0]处重试异常:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.DuplexCorrelationAsyncResult.End(IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.b_u4(RequestAsyncResult thisPtr,IAsyncResult r)
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
[1]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult AsyncResult)
位于Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannel工厂'1.RedirectContainerSessionChannel.RequestAsyncResult.c_u显示Class17.b_uA(RequestAsyncResult thisPtr,IAsyncResult r)
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
[2]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult AsyncResult)
位于Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannel工厂'1.RedirectContainerSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.b_u4(RequestAsyncResult thisPtr,IAsyncResult r)
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
[3]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult AsyncResult)
位于Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageReceiver.EndReceiveCommand(IAsyncResult结果,IEnumerable`1&messages)中
内部异常:

该错误很可能表示连接的某些部分超时。这可能是您的客户端、azure负载平衡器或实际承载消息队列的服务总线机器

对于这种暂时性错误,建议