2881099 / csredis

.NET Core or .NET Framework 4.0+ client for Redis and Redis Sentinel (2.8) and Cluster. Includes both synchronous and asynchronous clients.
MIT License
2.01k stars 414 forks source link

内网环境下Status unavailable, waiting for recovery. Connect to server timeout #516

Open murongqingsi opened 2 months ago

murongqingsi commented 2 months ago

【异常信息】:【xxxxx:6379/6】Status unavailable, waiting for recovery. Connect to server timeout 【堆栈调用】: at CSRedis.Internal.ObjectPool.ObjectPool 1.GetFree(Boolean checkAvailable) at CSRedis.Internal.ObjectPool.ObjectPool 1.Get(Nullable 1 timeout) at CSRedis.CSRedisClient.GetAndExecuteT at CSRedis.CSRedisClient.ExecuteScalarT at CSRedis.CSRedisClient.Set(String key, Object value, Int32 expireSeconds, Nullable 1 exists) 【详细原因】:CSRedis.Internal.IO.RedisSocketException: Connect to server timeout at CSRedis.Internal.IO.RedisSocket.Connect(EndPoint endpoint, Int32 timeout) at CSRedis.Internal.RedisConnector.Connect(Int32 timeout) at CSRedis.RedisClient.Connect(Int32 timeout) at CSRedis.RedisClientPool.Return(Object`1 obj, Exception exception, Boolean isRecreate)

murongqingsi commented 2 months ago

连接字符串:xxxx:6379,password=xxx,poolsize=10

2881099 commented 2 months ago

连接超时

murongqingsi commented 2 months ago

并发又不大,为啥还会连接超时呢