本文介绍了看到System.ServiceModel.FaultException`1 System.TimeOutException First Chance Exceptions的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 自启用第一次机会异常以来,我们一直在看>来自Service Bus的AppInsights中的1M异常都具有与下面粘贴的类似的详细信息。此问题似乎不会影响性能或功能。在本地运行时,启动后不久就可以看到这个异常。 如果我能提供任何其他有助于诊断此问题的信息,请告诉我。 操作期间发生了超时。 TrackingId:f7d66218-3e33-4466-937f-e79345cc6c83_G1_B10,SystemTracker:mt1-sbx-184-sea-servicebus:主题:controldeletecachedpushmessagesfromblob | DeleteCachedPushMessagesFromBlob,时间戳:2019-04-18T21:56:06 System.ServiceModel.FaultException`1 [[System.ServiceModel.ExceptionDetail,System.ServiceModel,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089]]: at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement + DuplexRequestSessionChannel.ThrowIfFaultMessage(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement + DuplexRequestSessionChannel.HandleMessageReceived(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement + DuplexRequestSessionChannel.EndRequest(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement + ReconnectChannelFactory`1 + RequestSessionChannel + RequestAsyncResult +<> c。< GetAsyncSteps> b__9_3(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral, PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult`1.End(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement + ReconnectChannelFactory`1 + RequestSessionChannel.EndRequest(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement + RedirectContainerChannelFactory`1 + RedirectContainerSessionChannel + RequestAsyncResult +<> c__DisplayClass8_1。< GetAsyncSteps> b__4(Microsoft.ServiceBus,Version = 3.0.0.0, Culture = neutral ,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult`1.End(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement + RedirectContainerChannelFactory`1 + RedirectContainerSessionChannel.EndRequest(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement + ReconnectChannelFactory`1 + RequestSessionChannel + RequestAsyncResult +<> c。< GetAsyncSteps> b__9_3(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral, PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End(Microsoft.ServiceBus,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35)解决方案 A TimeoutException 表示用户启动的操作正在进行的比操作超时更长。 您应该检查 ServicePointManager.DefaultConnectionLimit 属性,达到此限制也会导致 TimeoutException 。 对于更多详细信息,请按照 服务总线消息异常 Since enabling first chance exceptions, we've been seeing > 1M exceptions in AppInsights from Service Bus all with details similar to those pasted below. This issue does not seem to be impacting performance or functionality. When running locally, this exception can be seen shortly after startup.Please let me know if there's any other information I can provide that would help in diagnosing this issue.A timeout has occurred during the operation. TrackingId:f7d66218-3e33-4466-937f-e79345cc6c83_G1_B10, SystemTracker:mt1-sbx-184-sea-servicebus:Topic:controldeletecachedpushmessagesfromblob|DeleteCachedPushMessagesFromBlob, Timestamp:2019-04-18T21:56:06 System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement+DuplexRequestSessionChannel.ThrowIfFaultMessage (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement+DuplexRequestSessionChannel.HandleMessageReceived (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement+DuplexRequestSessionChannel.EndRequest (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement+ReconnectChannelFactory`1+RequestSessionChannel+RequestAsyncResult+<>c.<GetAsyncSteps>b__9_3 (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult`1.End (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement+ReconnectChannelFactory`1+RequestSessionChannel.EndRequest (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement+RedirectContainerChannelFactory`1+RedirectContainerSessionChannel+RequestAsyncResult+<>c__DisplayClass8_1.<GetAsyncSteps>b__4 (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult`1.End (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement+RedirectContainerChannelFactory`1+RedirectContainerSessionChannel.EndRequest (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement+ReconnectChannelFactory`1+RequestSessionChannel+RequestAsyncResult+<>c.<GetAsyncSteps>b__9_3 (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.ServiceBus.Common.AsyncResult.End (Microsoft.ServiceBus, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) 解决方案 A TimeoutException indicates that a user-initiated operation is taking longer than the operation timeout.You should check the value of the ServicePointManager.DefaultConnectionLimit property, as hitting this limit can also cause a TimeoutException. For more details, follow Service Bus message exceptions. 这篇关于看到System.ServiceModel.FaultException`1 System.TimeOutException First Chance Exceptions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-18 14:58