Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用redis的时候偶然出现无法链接的情况 #167

Open
zxz524 opened this issue Mar 13, 2022 · 2 comments
Open

使用redis的时候偶然出现无法链接的情况 #167

zxz524 opened this issue Mar 13, 2022 · 2 comments

Comments

@zxz524
Copy link

zxz524 commented Mar 13, 2022

System.Exception: 【127.0.0.1:6379/5】状态不可用,等待后台检查程序恢复方可使用。Connection was not opened ---> CSRedis.RedisClientException: Connection was not opened at CSRedis.Internal.IO.RedisIO.GetOrThrow[T](T obj) at CSRedis.Internal.IO.RedisIO.get_Stream() at CSRedis.Internal.IO.RedisIO.Write(Byte[] data) at CSRedis.Internal.RedisConnector.Call[T](RedisCommand1 command)
at CSRedis.RedisClient.Write[T](RedisCommand1 command) at CSRedis.RedisClient.Ping() at CSRedis.RedisClientPool.Return(Object1 obj, Exception exception, Boolean isRecreate)
--- End of inner exception stack trace ---
at CSRedis.Internal.ObjectPool.ObjectPool1.getFree(Boolean checkAvailable) at CSRedis.Internal.ObjectPool.ObjectPool1.Get(Nullable1 timeout) at CSRedis.CSRedisClient.GetAndExecute[T](RedisClientPool pool, Func2 handler, Int32 jump, Int32 errtimes)
at CSRedis.CSRedisClient.ExecuteScalar[T](String key, Func3 hander) at CSRedis.CSRedisClient.HMGet[T](String key, String[] fields) at Microsoft.Extensions.Caching.Redis.CSRedisCache.GetAndRefresh(String key, Boolean getData) at Microsoft.Extensions.Caching.Redis.CSRedisCache.Get(String key) at Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions.GetString(IDistributedCache cache, String key) at Jason.ApiAdmin.CheckSignAttribute.OnActionExecuting(ActionExecutingContext filterContext) in D:\Visual Studio 2019\Projects\HuNiuKuaiKe\src\Jason.ApiAdmin\Filters\对外接口签名校验\CheckSignAttribute.cs:line 148

@remixjc
Copy link

remixjc commented Oct 19, 2022

你这个一般是Redis的问题

@zxz524
Copy link
Author

zxz524 commented Oct 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants