项目使用了redission,运行一段时间后发现后台报错,redission ping失败,报错信息如下:

2023-01-17 18:37:50.829 ERROR 8136 --- [isson-timer-4-1] o.r.c.handler.PingConnectionHandler      : Unable to send PING command over channel: [id: 0x280809f8, L:/192.168.3.124:51699 ! R:192.168.3.206/192.168.3.206:6379]

org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://192.168.3.206:6379]

    at org.redisson.client.RedisConnection.lambda$async$0(RedisConnection.java:244) ~[redisson-3.17.4.jar:3.17.4]

    at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672) ~[netty-common-4.1.51.Final.jar:4.1.51.Final]

    at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747) ~[netty-common-4.1.51.Final.jar:4.1.51.Final]

    at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472) ~[netty-common-4.1.51.Final.jar:4.1.51.Final]

    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.51.Final.jar:4.1.51.Final]

    at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]

参考文档:

Redisson : Command execution timeout for command: (PING)报错解决_LXH0305的博客-CSDN博客

结论:应该是官方bug,当前版本是 3.17.4,升级到  3.17.6版本以上。

精彩链接

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: