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

Command execution timeout for command: (PING) #4451

Closed
WLP-Lxr opened this issue Jul 29, 2022 · 6 comments
Closed

Command execution timeout for command: (PING) #4451

WLP-Lxr opened this issue Jul 29, 2022 · 6 comments
Labels

Comments

@WLP-Lxr
Copy link

WLP-Lxr commented Jul 29, 2022

redisson version: 3.17.0
redis version: 6.2.4
reids cluster: master 20 slaves 40
redis config:
connectTimeout: 5000
timeout: 1000
retryAttempts: 3
retryInterval: 100
slaveConnectionMinimumIdleSize: 5
slaveConnectionPoolSize: 10
masterConnectionMinimumIdleSize: 1
masterConnectionPoolSize: 5
idleConnectionTimeout: 10000
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
scanInterval: 30000
threads: 0
nettyThreads: 16
transportMode: NIO

I always receive this error with same servers :

ERROR org.redisson.client.handler.PingConnectionHandler - Unable to send PING command over channel: [id: 0x100dcad5, L:XXXX / - R:XXXX]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://XXXXX]
at org.redisson.client.RedisConnection.lambda$async$0(RedisConnection.java:245)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:680)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:755)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:483)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

My older redisson version is 3.16.7,I tried to upgrade the redisson version to 3.17.0 ,But it can't solve this problem.

@mrniko
Copy link
Member

mrniko commented Jul 29, 2022

Can you share full stacktrace?

@WLP-Lxr
Copy link
Author

WLP-Lxr commented Jul 30, 2022

Can you share full stacktrace?

Sry,It seems only be displayed this
image

@ultramagnus94
Copy link

ultramagnus94 commented Aug 22, 2022

it's the same for me (redisson v3.17.0, redis v7.0.4), even after that my application tried to connect back again to redis

@lee-create
Copy link

it's the same for me (redisson v3.17.5, redis v6.2.7), I suspect there is a problem here。
image

@mrniko
Copy link
Member

mrniko commented Aug 23, 2022

It might be connected to #4441

@lee-create
Copy link

它可能连接到#4441
OK,I see,thanks。

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

No branches or pull requests

4 participants