Home > Net >  Read redis is unusual, what is the problem, and solution, initial lookup is said redis timeout,
Read redis is unusual, what is the problem, and solution, initial lookup is said redis timeout,

Time:10-28

SendReceive exception information: T/T (Byte [] [], System. Func ` 1 [T], System. The Action ` 1 [System. Func ` 1 [T]], Boolean) Exceeded the timeout of 00:00:02 Manmanbuy. Redis in ServiceStack. Redis. RedisNativeClient. SendReceive [T] (Byte [] [] cmdWithBinaryArgs, Func ` 1 fn, Action ` 1 completePipelineFn, Boolean sendWithoutRead)
In ServiceStack. Redis. RedisNativeClient. SendExpectLong (Byte [] [] cmdWithBinaryArgs)
In ServiceStack. Redis. RedisClient. Either ContainsKey (String key)
In Manmanbuy. QA. Core. Service. RedisHelper. Get (String key)
In Manmanbuy. QA. Core. The Repository. QA_CommentRepository. GetQACommentsAnswerOne (Int32 id)
In Manmanbuy. QA. Core. The Repository. QA_AnswerRepository. & lt;> C__DisplayClass23_1. & lt; GetQuestionAnswerList> B__0 (QA_Answer p)
In the System. Linq. Enumerable. WhereSelectListIterator ` 2. MoveNext ()
In the System. Collections. Generic. List ` 1.. Ctor (IEnumerable collection ` 1)
In the System. The Linq. Enumerable. ToList [TSource] (IEnumerable ` 1 source)

CodePudding user response:

By CMD, you can connect to redis

CodePudding user response:

reference 1st floor is nu month god reply:
by CMD, you can connect to redis?
can't

CodePudding user response:

refer to the second floor hair more reply:
Quote: refer to 1st floor is nu month god reply:
by CMD, you can connect to redis?
not
I only have a redis helper classes encapsulate good

CodePudding user response:

refer to the second floor hair more reply:
Quote: refer to 1st floor is nu month god reply:
by CMD, you can connect to redis?
not

First take a look at redis service opened

CodePudding user response:

You follow this thread, look at the back of the links and test, try
https://blog.csdn.net/hanjun0612/article/details/52680477