“/”应用程序中的服务器错误。

由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SocketException (0x274c): 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。]
   Pipelines.Sockets.Unofficial.Internal.Throw.Socket(Int32 errorCode) +58
   Pipelines.Sockets.Unofficial.SocketAwaitableEventArgs.GetResult() +64
   Pipelines.Sockets.Unofficial.<DoReceiveAsync>d__73.MoveNext() +855
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.IO.Pipelines.PipeCompletion.ThrowLatchedException() +14
   System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) +67
   System.IO.Pipelines.Pipe.GetReadAsyncResult() +213
   StackExchange.Redis.<ReadFromPipe>d__111.MoveNext() +1236

[RedisConnectionException: SocketFailure (ReadSocketError/TimedOut, last-recv: 20) on 192.168.45.3:6379/Subscription, Idle/Faulted, last: PING, origin: ReadFromPipe, outstanding: 1, last-read: 79s ago, last-write: 18s ago, keep-alive: 60s, state: ConnectedEstablished, mgr: 9 of 10 available, in: 0, in-pipe: 0, out-pipe: 0, last-heartbeat: 0s ago, last-mbeat: 0s ago, global: 0s ago, v: 2.2.4.27433]

[RedisConnectionException: No connection is active/available to service this operation: GET BlackList-TabExists; 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。, mc: 1/1/0, mgr: 10 of 10 available, clientName: WIN-RQJRCPE56G3, IOCP: (Busy=0,Free=1000,Min=48,Max=1000), WORKER: (Busy=1,Free=32766,Min=48,Max=32767), v: 2.2.4.27433]
   StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl(Message message, ResultProcessor`1 processor, ServerEndPoint server) +377
   StackExchange.Redis.RedisBase.ExecuteSync(Message message, ResultProcessor`1 processor, ServerEndPoint server) +101
   StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags) +148
   CollectorCode.CacheHelper.RedisHelper.StringGet(String key, RedisFolderEnum folder, RedisDBEnum db) +252
   CollectorCode.Tools.MyCache.Get(String cacheKey) +54
   CollectorCode.BLL.BlackList.TabExists() +27
   CollectorCode.BLL.BlackList..ctor() +69
   CollectorCode.MySet.UseripBlack(String userUa, Boolean FlowSkip) +313
   WebCollector.Controllers.HomeController.List(Int32 id) +49
   lambda_method(Closure , ControllerBase , Object[] ) +141
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.Async.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +70
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0() +80
   System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass3_6.<BeginInvokeAction>b__4() +50
   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3930.0