当前位置:网站首页>org.redisson.client.RedisResponseTimeoutException: Redis server response timeout (3000 ms)错误解决
org.redisson.client.RedisResponseTimeoutException: Redis server response timeout (3000 ms)错误解决
2022-07-01 01:01:00 【融极】
概述
错误现象
org.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], channel: [id: 0x4d120152, L:/10.255.2.30:52607 - R:172.16.0.211/172.16.0.211:6379]
at org.redisson.command.RedisExecutor$3.run(RedisExecutor.java:362)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:682)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:757)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:485)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
错误原因
客户端长时间未使用,服务端会断开
解决方案
redisson添加配置
#连接间隔 心跳
pingConnectionInterval: 1000
config.useSingleServer().setPingConnectionInterval(1000);
参考
org.redisson.client.RedisResponseTimeoutException: Redis server response timeout (3000 ms)错误解决
边栏推荐
- 医疗HIS行业短信发送解决方案
- dc_ Study and summary of labs--lab1
- Uniapp official component clicking item is invalid, solution
- [simulation] 922 Sort Array By Parity II
- 微生物安全與健康,什麼是生物處理?
- 使用 C# 创造 ASCII 艺术
- Thinking brought by strictmode -strictmode principle (5)
- gin 配置文件
- Use of typora
- Looksrare team's "cash out" caused disturbance
猜你喜欢

Microbiological health, why is food microbiological testing important

Understanding and application of Qt5 layout in creation

工作八年的程序员,却拿着毕业三年的工资,再不开窍就真晚了...

迪赛智慧数——其他图表(平行坐标图):2021年应届专业就业情况

医疗HIS行业短信发送解决方案

neo4j安装、运行以及项目的构建和功能实现

Ks009 implementation of pet management system based on SSH

Working for eight years as a programmer, but with a salary of three years after graduation, it's too late to be enlightened again

Necessary tools for testing - postman practical tutorial

微生物健康,食品微生物检测为什么很重要
随机推荐
Typora的使用
3dsmax plug-in development traversal node object and object acquisition and inode transformation matrix description
Mysql database foundation: process control
PHP crawls data through third-party plug-ins
MFC TCP通信服务端客户端Demo备忘vs2019
Open3d point cloud bounding box
流批一体在京东的探索与实践
数据探索电商平台用户行为流失分析
TypeError: Argument ‘angle‘ can not be treated as a double
元宇宙为 VR/AR 带来的新机会
New opportunities for vr/ar brought by metauniverse
亲测有效,快速创建JMeter桌面快捷方式
图灵奖得主LeCun指明AI未来的出路在于自主学习,这家公司已踏上征途
Strictmode analysis activity leakage -strictmode principle (3)
微生物健康,食品微生物检测为什么很重要
Test essential tool - postman practical tutorial
Zero of DC learning notes -- overview and basic process introduction
QT5-布局在创作中的理解应用
Necessary tools for testing - postman practical tutorial
Gin configuration file