首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >Redis server response timeout (3000 ms) occured after 3 retry attempts. Command: (EXISTS), params: [

Redis server response timeout (3000 ms) occured after 3 retry attempts. Command: (EXISTS), params: [

作者头像
工藤学编程
发布2025-12-22 08:53:02
发布2025-12-22 08:53:02
90
举报

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);

添加后,重启服务,访问正常

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2025-12-09,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档