StackExchange.Redis icon indicating copy to clipboard operation
StackExchange.Redis copied to clipboard

StackExchange.Redis.RedisServerException: Endpoint 127.0.0.1:7200 serving hashslot 12448 is not reachable at this point of time. Please check connectTimeout value. If it is low, try increasing it to give the ConnectionMultiplexer a chance to recover from the network disconnect. IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=9,Free=32758,Min=4,Max=32767), Local-CPU: 0%

Open yswenli opened this issue 9 years ago • 9 comments

image

image

Execute hexist command in cluster appear this error.

I set the connection time for 30 seconds,and this problem will still appear

StackExchange.Redis.dll v1.2.0

and i set the connection time for 180 seconds,and this problem will still appear

ERROR 2017-02-04 15:41:12,686 [logerror] |No IP Adress|main:|Params: |ErrDesc: Endpoint 10.205.204.174:7200 serving hashslot 12448 is not reachable at this point of time. Please check connectTimeout value. If it is low, try increasing it to give the ConnectionMultiplexer a chance to recover from the network disconnect. IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=7,Free=32760,Min=4,Max=32767), Local-CPU: 0% 在 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisDatabase.HashExists(RedisKey key, RedisValue hashField, CommandFlags flags) 在 MessageProxyTest.StackExchangeTest.ChannelMappingOperationTest.IsInChannel(String channelID, String imUserID) 在 MessageProxyTest.Program.<>c.

b__0_0(Int32 i) StackExchange.Redis.RedisServerException: Endpoint 10.205.204.174:7200 serving hashslot 12448 is not reachable at this point of time. Please check connectTimeout value. If it is low, try increasing it to give the ConnectionMultiplexer a chance to recover from the network disconnect. IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=7,Free=32760,Min=4,Max=32767), Local-CPU: 0% 在 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisDatabase.HashExists(RedisKey key, RedisValue hashField, CommandFlags flags) 在 MessageProxyTest.StackExchangeTest.ChannelMappingOperationTest.IsInChannel(String channelID, String imUserID) 在 MessageProxyTest.Program.<>c.
b__0_0(Int32 i)

ERROR 2017-02-04 15:41:12,701 [logerror] |No IP Adress|main:|Params: |ErrDesc: SocketClosed on HEXISTS 在 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisDatabase.HashExists(RedisKey key, RedisValue hashField, CommandFlags flags) 在 MessageProxyTest.StackExchangeTest.ChannelMappingOperationTest.IsInChannel(String channelID, String imUserID) 在 MessageProxyTest.Program.<>c.

b__0_0(Int32 i) StackExchange.Redis.RedisConnectionException: SocketClosed on HEXISTS 在 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) 在 StackExchange.Redis.RedisDatabase.HashExists(RedisKey key, RedisValue hashField, CommandFlags flags) 在 MessageProxyTest.StackExchangeTest.ChannelMappingOperationTest.IsInChannel(String channelID, String imUserID) 在 MessageProxyTest.Program.<>c.
b__0_0(Int32 i)

yswenli avatar Feb 03 '17 08:02 yswenli

show me your connectTimeout set file

billsquall avatar Feb 04 '17 07:02 billsquall

This is a redis cluster environment configuration problem that has been resolved

yswenli avatar Feb 06 '17 13:02 yswenli

Hi @yswenli I am curious what your cluster environment configuration issue was?

dpenton avatar Feb 20 '17 21:02 dpenton

Hi @yswenli I hava same problem of redis cluster. Can you let me know how to fix this? Thanks.

ArvinHsieh avatar Mar 08 '17 03:03 ArvinHsieh

This is the node configuration problem, the specific reasons unknown; I was a re configured a cluster to solve this problem

yswenli avatar Mar 08 '17 08:03 yswenli

We have tried reconfiguring the nodes, using cluster reset commands yet no luck. Could you please suggest/help ?

sinivenugopal avatar Apr 26 '17 12:04 sinivenugopal

config set no-appendfsync-on-rewrite no

i change the configration of no-appendfsync-on-rewrite to solve this problem

foreverhot1019 avatar Jan 12 '18 05:01 foreverhot1019

@foreverhot1019 where do you need to set no-appendfsync-on-rewrite to no? i am having similar problem - some keys get trough and some not.

Mirzakan avatar Oct 23 '19 08:10 Mirzakan

@Mirzakan can you please share workaround if you have sorted the issue, i am facing the same issue.

zeerehmat avatar Apr 01 '24 07:04 zeerehmat