WCF,requestContext已中止

WCF,requestContext已中止,wcf,requestcontext,Wcf,Requestcontext,我们有一个wcf服务,发送大量数据进行计算。代码是标准化的。 采用wsHttpBinding作为通信协议,建立了可靠的会话。 该异常偶尔发生。我捕捉到了踪迹并引发了异常wcf,wihch没有关于根本原因的线索 例外 System.ServiceModel.CommunicationObjectAbortedException: requestContext has been aborted。 The stack trace 在 System.ServiceModel.Channels.Re

我们有一个wcf服务,发送大量数据进行计算。代码是标准化的。 采用wsHttpBinding作为通信协议,建立了可靠的会话。 该异常偶尔发生。我捕捉到了踪迹并引发了异常wcf,wihch没有关于根本原因的线索

例外

System.ServiceModel.CommunicationObjectAbortedException: requestContext has been aborted。

The stack trace  
在 System.ServiceModel.Channels.RequestContextBase.ThrowIfInvalidReply()
在 System.ServiceModel.Channels.RequestContextBase.Reply(Message message, TimeSpan timeout)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.Reply(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage9(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage8(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
在 System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
在 System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
在 System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
在 System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
在 System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result)
在 System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
在 System.ServiceModel.Diagnostics.TraceUtility.<>c__DisplayClass4.<CallbackGenerator>b__2(AsyncCallback callback, IAsyncResult result)
在 System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
在 System.Runtime.InputQueue`1.AsyncQueueReader.Set(Item item)
在 System.Runtime.InputQueue`1.Dispatch()
在 System.ServiceModel.Channels.ReliableReplySessionChannel.ProcessSequencedMessage(RequestContext context, String action, WsrmSequencedMessageInfo info)
在 System.ServiceModel.Channels.ReliableReplySessionChannel.ProcessRequest(RequestContext context, WsrmMessageInfo info)
在 System.ServiceModel.Channels.ReliableReplySessionChannel.ProcessDemuxedRequest(RequestContext context, WsrmMessageInfo info)
在 System.ServiceModel.Channels.ReliableReplyListenerOverReply.ProcessSequencedItem(ReliableReplySessionChannel reliableChannel, RequestContext context, WsrmMessageInfo info)
在 System.ServiceModel.Channels.ReliableListenerOverDatagram`4.HandleReceiveComplete(TItem item, TInnerChannel channel)
在 System.ServiceModel.Channels.ReliableListenerOverDatagram`4.OnTryReceiveComplete(IAsyncResult result)
在 System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
在 System.ServiceModel.Diagnostics.TraceUtility.<>c__DisplayClass4.<CallbackGenerator>b__2(AsyncCallback callback, IAsyncResult result)
在 System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
在 System.Runtime.InputQueue`1.AsyncQueueReader.Set(Item item)
在 System.Runtime.InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)
在 System.Runtime.InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread)
在 System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread)
在 System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived(HttpRequestContext context, Action callback)
在 System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)
在 System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
在 System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
在 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
</StackTrace>
System.ServiceModel.CommunicationObjectAbortedException:requestContext已中止
堆栈跟踪
在 System.ServiceModel.Channels.RequestContextBase.ThrowIfInvalidReply()
在 System.ServiceModel.Channel.RequestContextBase.Reply(消息消息,TimeSpan超时)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.Reply(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage9(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage8(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&;rpc)
在 System.ServiceModel.Dispatcher.MessageRpc.Process(布尔isOperationContextSet)
在 System.ServiceModel.Dispatcher.ChannelHandler.DispatchedReleasePump(RequestContext请求,布尔cleanThread,OperationContext currentOperationContext)
在 System.ServiceModel.Dispatcher.ChannelHandler.HandlerRequest(RequestContext请求,OperationContext currentOperationContext)
在 System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult结果)
在 System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult结果)
在 System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult结果)
在 System.ServiceModel.Diagnostics.Traceuty.c__DisplayClass4.CallbackGeneratorb__2(异步回调,IAsyncResult结果)
在 System.Runtime.AsyncResult.Complete(布尔值同步完成)
在 System.Runtime.InputQueue`1.AsyncQueueReader.Set(项)
在 System.Runtime.InputQueue`1.Dispatch()
在 System.ServiceModel.Channels.ReliableReplySessionChannel.ProcessSequencedMessage(RequestContext上下文、字符串操作、WsrmSequencedMessageInfo信息)
在 System.ServiceModel.Channels.ReliableReplySessionChannel.ProcessRequest(RequestContext上下文,WsrmMessageInfo)
在 System.ServiceModel.Channel.ReliableReplySessionChannel.ProcessDemuxedRequest(请求上下文,WsrmMessageInfo信息)
在 System.ServiceModel.Channel.ReliableReplyListenerOverReply.ProcessSequencedItem(ReliableReplySessionChannel reliableChannel,RequestContext上下文,WsrmMessageInfo)
在 System.ServiceModel.channel.ReliableListenerOverDatagram`4.HandlerReceiveComplete(TItem项,TInnerChannel)
在 System.ServiceModel.Channels.ReliableListenerOverdata`4.OnTryReceiveComplete(IAsyncResult结果)
在 System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult结果)
在 System.ServiceModel.Diagnostics.Traceuty.c__DisplayClass4.CallbackGeneratorb__2(异步回调,IAsyncResult结果)
在 System.Runtime.AsyncResult.Complete(布尔值同步完成)
在 System.Runtime.InputQueue`1.AsyncQueueReader.Set(项)
在 System.Runtime.InputQueue`1.EnqueueAndDispatch(项项项,布尔值canDispatchOnThisThread)
在 System.Runtime.InputQueue`1.EnqueueAndDispatch(T项,操作dequeuedCallback,布尔canDispatchOnThisThread)
在 System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType项、Action dequeuedCallback、Boolean canDispatchOnThisThread)
在 System.ServiceModel.Channel.HttpChannelListener.HttpContextReceived(HttpRequestContext上下文,操作回调)
在 System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHTTPPrequestAsyncResult)
在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandlerRequest()
在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(对象状态)
在 System.Runtime.IOThreadScheduler.ScheduledOrlApped.IOCallback(UInt32错误代码,UInt32个字节,NativeOverlapped*NativeOverlapped)
在 System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32错误,UInt32字节读取,NativeOverlapped*NativeOverlapped)
在 System.Threading.\u IOCompletionCallback.PerformiCompletionCallback(UInt32错误代码,UInt32字节,本机重叠*pOVERLAP)

这是否会导致任何类型的故障?事件日志中是否有任何其他信息?这使通道处于故障状态,则客户端无法发送消息。