我看到一个奇怪的问题,我无法追查。我看到这个错误与我在生产环境中调用的第三方API有很大关系。它是一个关键的API,但错误似乎没有引起任何问题,IE:这个调用似乎是成功的。此错误仅显示在NewRelic中。我们还记录文件的异常,文件中没有错误!我试图在我的开发环境中重现这个问题,但还没有看到它发生。
System.ServiceModel.FaultException:无法处理请求 堆栈跟踪 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime 操作,ProxyRpc& rpc)at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway,ProxyOperationRuntime操作,Object [] ins, 对象[]出局,TimeSpan超时)at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway,ProxyOperationRuntime操作,Object [] ins, 对象[]出局) System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime operation)at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime operation)
这个堆栈跟踪有什么奇怪的,我不会在堆栈顶部看到ThrowIfFaultUnderstood。而且由于即使我在NewRelic中看到错误,调用似乎也很成功,但我对如何找到根本原因感到困惑。