Command execution timeout for command: (SENTINEL SENTINELS)
See original GitHub issueExpected behavior
Actual behavior
2020-12-10 21:24:49.614 ERROR 12300 --- [isson-timer-4-1] o.r.c.SentinelConnectionManager : Can't execute SENTINEL commands on /192.168.1.101:26379
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (SENTINEL SENTINELS), params: [mymaster], Redis client: [addr=redis://192.168.1.101:26379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:207) ~[redisson-3.14.0.jar:3.14.0]
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:680) ~[netty-all-4.1.42.Final.jar:4.1.42.Final]
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:755) ~[netty-all-4.1.42.Final.jar:4.1.42.Final]
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:483) ~[netty-all-4.1.42.Final.jar:4.1.42.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.42.Final.jar:4.1.42.Final]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151]
Steps to reproduce or test case 项目启动之后报错 Spring boot version 2.2.0.RELEASE
Redis version 5.0.5
Redisson version 3.13.6跟3.14.0
Redisson configuration
sentinelServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 10000
timeout: 5000
retryAttempts: 3
retryInterval: 3000
subscriptionsPerConnection: 1
clientName: null
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
slaveConnectionMinimumIdleSize: 5
slaveConnectionPoolSize: 10
masterConnectionMinimumIdleSize: 5
masterConnectionPoolSize: 10
readMode: "SLAVE"
sentinelAddresses:
- "redis://192.168.1.100:26379"
- "redis://192.168.1.101:26379"
- "redis://192.168.1.102:26379"
masterName: "mymaster"
password: "xxx"
database: 0
threads: 0
nettyThreads: 0
codec: !<org.redisson.codec.JsonJacksonCodec> {}
transportMode: "NIO"
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Command execution timeout for command: (AUTH), params ...
Today, I have added connection pool and time out configuration. Now the spring boot application is connecting to redis 5 out of 10...
Read more >org.redisson.client.redistimeoutexception command execution ...
org.redisson.client.redistimeoutexception command execution timeout for command (sentinel sentinels)技术、学习、经验文章掘金开发者社区搜索结果。
Read more >Sentinel Client Reference — aioredis 1.0.0 documentation
Execute Sentinel command. coroutine discover (timeout=0.2)¶. Discover Sentinels and all monitored services within given timeout.
Read more >Lettuce Reference Guide
The timeout defaults to 60 seconds and may be changed in the RedisClient or for each connection. Synchronous methods will throw a ...
Read more >Redis Sentinel Documentation
This delay is the failover-timeout you can configure in sentinel.conf . This means that Sentinels will not try to failover the same master...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
各种设置都不能完全搞定, 降低版本亲测有效 Lower the version, use 3.11.6, 3.12.4 降低 redisson-spring-boot-starter 版本, 使用 3.11.6, 3.12.4
Fixed in https://github.com/redisson/redisson/issues/3404