Redis server response timeout (3000 ms) occured after 3 retry attempts. Command: (EXISTS), params: [XXXX], channel: [id: 0xXXXX, L:/XXXXX.45.128:44772 - R:10.122.67.XX/10.122.67.56:6379]X
rg.redisson.client.RedisResponseTimeoutException: Redis server response timeout (3000 ms) occured after 3 retry attempts. Command: (HEXISTS), params: [com.dinsmooth.storehbase.schedule:entryTaskDelay, 1f15dcac-22b6-4865-92a5-a6452e6ae5c3:154],
redis报错,原因客户端长时间未使用,服务端会断开
解决办法:redisson添加配置 setPingConnectionInterval(1000);
config.useSingleServer().setPassword(redisPwd).setAddress(“redis://”+redisHost+":"+redisPort).setPingConnectionInterval(1000);
添加后,重启服务,访问正常