Skip to content

When the value of json. set is relatively large, jedis returns timeout #5986

@chao6118

Description

@chao6118

Describe the bug
When storing large JSON values using jedisPooled.jsonSet, a timeout exception occurs. The exception type is JedisConnectionException with root cause SocketTimeoutException: Read timed out.

To Reproduce
Steps to reproduce the behavior:

Prepare a large JSON value (e.g., containing extensive nested data or large strings)

Use JedisPooled instance to call jsonSet method to insert the record

Wait for the operation to complete

See timeout exception after some time

Expected behavior
Should be able to store large JSON values normally without timeout exceptions.

Screenshots
N/A

Environment (please complete the following information):

OS: Ubuntu 20.04

Kernel: # Command: uname -a (output not provided)

Containerized?: Docker

Dragonfly Version: v1.34.2

public class DD {

public static void main(String s[]) {
    JedisPooled jedisPooled = null;
    try {
        int dbIndex = 0;

        ConnectionPoolConfig connectionPoolConfig = new ConnectionPoolConfig();
        //最大连接
        connectionPoolConfig.setMaxTotal(4);
        //最大空闲
        connectionPoolConfig.setMaxIdle(4);
        //最小空闲
        connectionPoolConfig.setMinIdle(4);

        String dddd = "{\"page\":{\"pageIndex\":1,\"pageSize\":5000,\"total\":1,\"totalPage\":1},\"list\":[{\"view\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<bpmn:definitions xmlns:bpmn=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL\\\" xmlns:bpmndi=\\\"http://www.omg.org/spec/BPMN/20100524/DI\\\" xmlns:dc=\\\"http://www.omg.org/spec/DD/20100524/DC\\\" xmlns:zeebe=\\\"http://camunda.org/schema/zeebe/1.0\\\" xmlns:di=\\\"http://www.omg.org/spec/DD/20100524/DI\\\" xmlns:modeler=\\\"http://camunda.org/schema/modeler/1.0\\\" targetNamespace=\\\"http://bpmn.io/schema/bpmn\\\" exporter=\\\"Camunda Modeler\\\" exporterVersion=\\\"5.16.0\\\" modeler:executionPlatform=\\\"Camunda Cloud\\\" modeler:executionPlatformVersion=\\\"8.3.0\\\">\\n <bpmn:process id=\\\"onClick-page_lcfbxiqq-button_9976a\\\" isExecutable=\\\"true\\\">\\n <bpmn:startEvent id=\\\"StartEvent_1\\\">\\n <bpmn:outgoing>Flow_05a9zzk</bpmn:outgoing>\\n </bpmn:startEvent>\\n <bpmn:serviceTask id=\\\"node_9q6sjq\\\" name=\\\"自动获取表单数据\\\" zeebe:modelerTemplate=\\\"GetFormDataAutoAction\\\">\\n <bpmn:extensionElements>\\n <zeebe:taskDefinition type=\\\"GetFormDataAutoAction\\\" retries=\\\"0\\\" />\\n </bpmn:extensionElements>\\n <bpmn:incoming>Flow_05a9zzk</bpmn:incoming>\\n <bpmn:outgoing>Flow_1wl4bek</bpmn:outgoing>\\n </bpmn:serviceTask>\\n <bpmn:sequenceFlow id=\\\"Flow_05a9zzk\\\" sourceRef=\\\"StartEvent_1\\\" targetRef=\\\"node_9q6sjq\\\" />\\n <bpmn:serviceTask id=\\\"node_57qe6y\\\" name=\\\"调用接口\\\" zeebe:modelerTemplate=\\\"InvokeApiAction\\\">\\n <bpmn:extensionElements>\\n <zeebe:taskDefinition type=\\\"InvokeApiAction\\\" retries=\\\"0\\\" />\\n </bpmn:extensionElements>\\n <bpmn:incoming>Flow_1wl4bek</bpmn:incoming>\\n <bpmn:outgoing>Flow_1fwxzti</bpmn:outgoing>\\n </bpmn:serviceTask>\\n <bpmn:sequenceFlow id=\\\"Flow_1wl4bek\\\" sourceRef=\\\"node_9q6sjq\\\" targetRef=\\\"node_57qe6y\\\" />\\n <bpmn:exclusiveGateway id=\\\"Gateway_03r4yn4\\\">\\n <bpmn:incoming>Flow_1fwxzti</bpmn:incoming>\\n <bpmn:outgoing>Flow_1gul43x</bpmn:outgoing>\\n <bpmn:outgoing>Flow_04ip05h</bpmn:outgoing>\\n </bpmn:exclusiveGateway>\\n <bpmn:sequenceFlow id=\\\"Flow_1fwxzti\\\" sourceRef=\\\"node_57qe6y\\\" targetRef=\\\"Gateway_03r4yn4\\\" />\\n <bpmn:endEvent id=\\\"Event_14o8ze4\\\">\\n <bpmn:incoming>Flow_0mfaize</bpmn:incoming>\\n </bpmn:endEvent>\\n <bpmn:sequenceFlow id=\\\"Flow_1gul43x\\\" sourceRef=\\\"Gateway_03r4yn4\\\" targetRef=\\\"node_ffaiql\\\" />\\n <bpmn:serviceTask id=\\\"node_ffaiql\\\" name=\\\"通知提醒\\\" zeebe:modelerTemplate=\\\"ShowMessageAction\\\">\\n <bpmn:extensionElements>\\n <zeebe:taskDefinition type=\\\"ShowMessageAction\\\" retries=\\\"0\\\" />\\n </bpmn:extensionElements>\\n <bpmn:incoming>Flow_1gul43x</bpmn:incoming>\\n <bpmn:outgoing>Flow_0mfaize</bpmn:outgoing>\\n </bpmn:serviceTask>\\n <bpmn:sequenceFlow id=\\\"Flow_0mfaize\\\" sourceRef=\\\"node_ffaiql\\\" targetRef=\\\"Event_14o8ze4\\\" />\\n <bpmn:serviceTask id=\\\"f_m9xw8l\\\" name=\\\"通知提醒\\\" zeebe:modelerTemplate=\\\"ShowMessageAction\\\">\\n <bpmn:extensionElements>\\n <zeebe:taskDefinition type=\\\"ShowMessageAction\\\" retries=\\\"0\\\" />\\n </bpmn:extensionElements>\\n <bpmn:incoming>Flow_04ip05h</bpmn:incoming>\\n </bpmn:serviceTask>\\n <bpmn:sequenceFlow id=\\\"Flow_04ip05h\\\" sourceRef=\\\"Gateway_03r4yn4\\\" targetRef=\\\"f_m9xw8l\\\" />\\n </bpmn:process>\\n <bpmndi:BPMNDiagram id=\\\"BPMNDiagram_1\\\">\\n <bpmndi:BPMNPlane id=\\\"BPMNPlane_1\\\" bpmnElement=\\\"onClick-page_lcfbxiqq-button_9976a\\\">\\n <bpmndi:BPMNShape id=\\\"node_9q6sjq_di\\\" bpmnElement=\\\"node_9q6sjq\\\">\\n <dc:Bounds x=\\\"300\\\" y=\\\"190\\\" width=\\\"100\\\" height=\\\"80\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNShape id=\\\"_BPMNShape_StartEvent_2\\\" bpmnElement=\\\"StartEvent_1\\\">\\n <dc:Bounds x=\\\"179\\\" y=\\\"142\\\" width=\\\"36\\\" height=\\\"36\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNShape id=\\\"node_57qe6y_di\\\" bpmnElement=\\\"node_57qe6y\\\">\\n <dc:Bounds x=\\\"560\\\" y=\\\"190\\\" width=\\\"100\\\" height=\\\"80\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNShape id=\\\"Gateway_03r4yn4_di\\\" bpmnElement=\\\"Gateway_03r4yn4\\\" isMarkerVisible=\\\"true\\\">\\n <dc:Bounds x=\\\"825\\\" y=\\\"205\\\" width=\\\"50\\\" height=\\\"50\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNShape id=\\\"Event_14o8ze4_di\\\" bpmnElement=\\\"Event_14o8ze4\\\">\\n <dc:Bounds x=\\\"1032\\\" y=\\\"102\\\" width=\\\"36\\\" height=\\\"36\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNShape id=\\\"node_ffaiql_di\\\" bpmnElement=\\\"node_ffaiql\\\">\\n <dc:Bounds x=\\\"900\\\" y=\\\"80\\\" width=\\\"100\\\" height=\\\"80\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNShape id=\\\"f_m9xw8l_di\\\" bpmnElement=\\\"f_m9xw8l\\\">\\n <dc:Bounds x=\\\"990\\\" y=\\\"290\\\" width=\\\"100\\\" height=\\\"80\\\" />\\n </bpmndi:BPMNShape>\\n <bpmndi:BPMNEdge id=\\\"Flow_05a9zzk_di\\\" bpmnElement=\\\"Flow_05a9zzk\\\">\\n <di:waypoint x=\\\"215\\\" y=\\\"160\\\" />\\n <di:waypoint x=\\\"258\\\" y=\\\"160\\\" />\\n <di:waypoint x=\\\"258\\\" y=\\\"230\\\" />\\n <di:waypoint x=\\\"300\\\" y=\\\"230\\\" />\\n </bpmndi:BPMNEdge>\\n <bpmndi:BPMNEdge id=\\\"Flow_1wl4bek_di\\\" bpmnElement=\\\"Flow_1wl4bek\\\">\\n <di:waypoint x=\\\"400\\\" y=\\\"230\\\" />\\n <di:waypoint x=\\\"560\\\" y=\\\"230\\\" />\\n </bpmndi:BPMNEdge>\\n <bpmndi:BPMNEdge id=\\\"Flow_1fwxzti_di\\\" bpmnElement=\\\"Flow_1fwxzti\\\">\\n <di:waypoint x=\\\"660\\\" y=\\\"230\\\" />\\n <di:waypoint x=\\\"825\\\" y=\\\"230\\\" />\\n </bpmndi:BPMNEdge>\\n <bpmndi:BPMNEdge id=\\\"Flow_1gul43x_di\\\" bpmnElement=\\\"Flow_1gul43x\\\">\\n <di:waypoint x=\\\"850\\\" y=\\\"205\\\" />\\n <di:waypoint x=\\\"850\\\" y=\\\"120\\\" />\\n <di:waypoint x=\\\"900\\\" y=\\\"120\\\" />\\n </bpmndi:BPMNEdge>\\n <bpmndi:BPMNEdge id=\\\"Flow_0mfaize_di\\\" bpmnElement=\\\"Flow_0mfaize\\\">\\n <di:waypoint x=\\\"1000\\\" y=\\\"120\\\" />\\n <di:waypoint x=\\\"1032\\\" y=\\\"120\\\" />\\n </bpmndi:BPMNEdge>\\n <bpmndi:BPMNEdge id=\\\"Flow_04ip05h_di\\\" bpmnElement=\\\"Flow_04ip05h\\\">\\n <di:waypoint x=\\\"850\\\" y=\\\"255\\\" />\\n <di:waypoint x=\\\"850\\\" y=\\\"330\\\" />\\n <di:waypoint x=\\\"990\\\" y=\\\"330\\\" />\\n </bpmndi:BPMNEdge>\\n </bpmndi:BPMNPlane>\\n </bpmndi:BPMNDiagram>\\n</bpmn:definitions>\\n\",\"data\":{\"id\":\"onClick-page_lcfbxiqq-button_9976a\",\"name\":\"\",\"showName\":\"\",\"steps\":[{\"id\":\"StartEvent_1\",\"stepCategory\":0,\"nextId\":[\"Flow_05a9zzk\"],\"config\":{\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":{\"type\":\"string\"},\"id\":\"StartEvent_1\",\"guid\":\"StartEvent_1\",\"name\":\"StartAction\",\"data\":{\"data\":{\"type\":\"string\"}}},\"name\":\"StartAction\"},{\"id\":\"node_9q6sjq\",\"stepCategory\":1,\"nextId\":[\"Flow_1wl4bek\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":{\"type\":\"object\",\"properties\":{}},\"id\":\"node_9q6sjq\",\"guid\":\"node_9q6sjq\",\"name\":\"GetFormDataAutoAction\",\"data\":{\"baseCom\":\"\",\"com_container\":[\"page_lcfbxiqq~pack_modal_kzhew\"],\"auto_prefix\":\"v_\",\"comIds\":[],\"not_in_comIds\":[]}},\"name\":\"GetFormDataAutoAction\"},{\"id\":\"node_57qe6y\",\"stepCategory\":1,\"nextId\":[\"Flow_1fwxzti\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":{\"type\":\"object\",\"properties\":{\"response_body\":{\"title\":\"请求返回结果\",\"type\":\"object\",\"properties\":{\"message_data\":{\"type\":\"object\",\"properties\":{}},\"code\":{\"type\":\"number\"},\"data\":{\"type\":\"object\",\"properties\":{\"page\":{\"type\":\"object\",\"properties\":{\"pageIndex\":{\"type\":\"number\"},\"pageSize\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"},\"totalPage\":{\"type\":\"number\"}}},\"list\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"REALM_ID\":{\"type\":\"string\"},\"EMAIL_CONSTRAINT\":{\"type\":\"string\"},\"EMAIL\":{\"type\":\"string\"},\"LAST_NAME\":{\"type\":\"string\"},\"FIRST_NAME\":{\"type\":\"string\"},\"EMAIL_VERIFIED\":{\"type\":\"boolean\"},\"SERVICE_ACCOUNT_CLIENT_LINK\":{\"type\":\"string\"},\"NOT_BEFORE\":{\"type\":\"number\"},\"USERNAME\":{\"type\":\"string\"},\"ENABLED\":{\"type\":\"boolean\"},\"ID\":{\"type\":\"string\"},\"CREATED_TIMESTAMP\":{\"type\":\"number\"},\"FEDERATION_LINK\":{\"type\":\"string\"}}}}}},\"v_post_data\":{\"type\":\"object\",\"properties\":{\"lastName\":{\"type\":\"string\"},\"username\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"enabled\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"}}},\"status_code\":{\"type\":\"enum\",\"title\":\"状态码\"}}},\"id\":\"node_57qe6y\",\"guid\":\"node_57qe6y\",\"name\":\"InvokeApiAction\",\"data\":{\"api\":\"l4uonyft\",\"req_body_from\":2,\"requestInfo\":{\"adapter\":null,\"app_id\":\"x3eo2mmjnh\",\"cache\":null,\"category\":null,\"content_type\":\"3\",\"create_time\":\"2025-09-12 14:44:27\",\"create_user_id\":null,\"guid\":\"l4uonyft\",\"headers\":[],\"id\":1830,\"method\":\"POST\",\"model_id\":null,\"modify_time\":\"2025-09-12 22:36:41\",\"modify_user_id\":\"1f1cc3d5-18c8-4bed-97ef-95f8fed1f028\",\"name\":\"中台相关-kc-用户-创建\",\"note\":null,\"params\":[],\"pathParams\":null,\"realm\":\"master\",\"ref_model_id\":null,\"ref_process\":\"master_172omb21oq_center-kc-user-create\",\"ref_table\":null,\"ref_template\":null,\"ref_type\":null,\"request_body\":[{\"key\":\"v_lastName\",\"value\":{\"type\":4,\"value\":\"sss\"},\"note\":\"\",\"type\":\"string\",\"enable\":true},{\"key\":\"v_username\",\"value\":{\"type\":4,\"value\":\"ssss%E8%AF%95%E8%AF%95\"},\"note\":\"\",\"type\":\"string\",\"enable\":true},{\"key\":\"v_enabled\",\"value\":{\"type\":4,\"value\":\"true\"},\"note\":\"\",\"type\":\"string\",\"enable\":true},{\"key\":\"v_email\",\"value\":{\"type\":4,\"value\":\"555%401.com\"},\"note\":\"\",\"type\":\"string\",\"enable\":true}],\"response_body\":{\"type\":\"object\",\"properties\":{\"message_data\":{\"type\":\"object\",\"properties\":{}},\"code\":{\"type\":\"number\"},\"data\":{\"type\":\"object\",\"properties\":{\"page\":{\"type\":\"object\",\"properties\":{\"pageIndex\":{\"type\":\"number\"},\"pageSize\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"},\"totalPage\":{\"type\":\"number\"}}},\"list\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"REALM_ID\":{\"type\":\"string\"},\"EMAIL_CONSTRAINT\":{\"type\":\"string\"},\"EMAIL\":{\"type\":\"string\"},\"LAST_NAME\":{\"type\":\"string\"},\"FIRST_NAME\":{\"type\":\"string\"},\"EMAIL_VERIFIED\":{\"type\":\"boolean\"},\"SERVICE_ACCOUNT_CLIENT_LINK\":{\"type\":\"string\"},\"NOT_BEFORE\":{\"type\":\"number\"},\"USERNAME\":{\"type\":\"string\"},\"ENABLED\":{\"type\":\"boolean\"},\"ID\":{\"type\":\"string\"},\"CREATED_TIMESTAMP\":{\"type\":\"number\"},\"FEDERATION_LINK\":{\"type\":\"string\"}}}}}},\"v_post_data\":{\"type\":\"object\",\"properties\":{\"lastName\":{\"type\":\"string\"},\"username\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"enabled\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"}}},\"status_code\":\"{}\",\"type\":1,\"url\":\"/proccess/start/master_172omb21oq_center-kc-user-create\",\"use_domain\":true,\"version\":\"master\"},\"var_value\":{\"type\":1,\"value\":{\"type\":3,\"value\":\"node_9q6sjq\",\"map\":\"\"}}}},\"name\":\"InvokeApiAction\"},{\"id\":\"node_ffaiql\",\"stepCategory\":1,\"nextId\":[\"Flow_0mfaize\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"node_ffaiql\",\"guid\":\"node_ffaiql\",\"name\":\"ShowMessageAction\",\"data\":{\"type\":\"success\",\"message\":{\"type\":4,\"value\":\"创建成功\",\"dataType\":\"string\"}}},\"name\":\"ShowMessageAction\"},{\"id\":\"f_m9xw8l\",\"stepCategory\":1,\"nextId\":[],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"f_m9xw8l\",\"guid\":\"f_m9xw8l\",\"name\":\"ShowMessageAction\",\"data\":{\"type\":\"warn\",\"message\":{\"type\":4,\"value\":\"创建失败\",\"dataType\":\"string\"}}},\"name\":\"ShowMessageAction\"},{\"id\":\"Gateway_03r4yn4\",\"stepCategory\":2,\"nextId\":[\"Flow_1gul43x\",\"Flow_04ip05h\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"Gateway_03r4yn4\",\"guid\":\"Gateway_03r4yn4\",\"name\":\"SwitchAction\",\"data\":{}},\"name\":\"SwitchAction\"},{\"id\":\"Event_14o8ze4\",\"stepCategory\":-1,\"nextId\":[],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"Event_14o8ze4\",\"guid\":\"Event_14o8ze4\",\"name\":\"EndAction\",\"data\":{\"value\":{\"type\":4,\"value\":\"\"}}},\"name\":\"EndAction\"}],\"edges\":[{\"id\":\"Flow_05a9zzk\",\"from\":[\"StartEvent_1\"],\"nextId\":[\"node_9q6sjq\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"Flow_05a9zzk\",\"guid\":\"Flow_05a9zzk\",\"name\":\"SwitchActionLine\",\"data\":{}}},{\"id\":\"Flow_1wl4bek\",\"from\":[\"node_9q6sjq\"],\"nextId\":[\"node_57qe6y\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"Flow_1wl4bek\",\"guid\":\"Flow_1wl4bek\",\"name\":\"SwitchActionLine\",\"data\":{}}},{\"id\":\"Flow_1fwxzti\",\"from\":[\"node_57qe6y\"],\"nextId\":[\"Gateway_03r4yn4\"],\"config\":{}},{\"id\":\"Flow_1gul43x\",\"from\":[\"Gateway_03r4yn4\"],\"nextId\":[\"node_ffaiql\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"Flow_1gul43x\",\"guid\":\"Flow_1gul43x\",\"name\":\"SwitchActionLine\",\"data\":{\"data\":[{\"id\":0,\"operator\":\"and\",\"order\":1,\"pid\":-1,\"is_leaf\":false},{\"id\":8736,\"pid\":0,\"field\":{\"type\":1,\"value\":{\"type\":3,\"value\":\"node_57qe6y~response_body~code\",\"map\":\"\"}},\"operator\":\"==\",\"value\":{\"type\":4,\"value\":\"0\",\"dataType\":\"int\"},\"is_leaf\":true,\"key\":8736,\"order\":1,\"children\":[]}]}}},{\"id\":\"Flow_0mfaize\",\"from\":[\"node_ffaiql\"],\"nextId\":[\"Event_14o8ze4\"],\"config\":{}},{\"id\":\"Flow_04ip05h\",\"from\":[\"Gateway_03r4yn4\"],\"nextId\":[\"f_m9xw8l\"],\"config\":{\"category\":\"\",\"type\":1,\"hasOutput\":false,\"inputs\":[],\"outputs\":[],\"id\":\"Flow_04ip05h\",\"guid\":\"Flow_04ip05h\",\"name\":\"SwitchActionLine\",\"data\":{\"data\":[{\"id\":0,\"operator\":\"and\",\"order\":1,\"pid\":-1,\"is_leaf\":false},{\"id\":4344,\"pid\":0,\"field\":{\"type\":1,\"value\":{\"type\":3,\"value\":\"node_57qe6y~response_body~code\",\"map\":\"\"}},\"operator\":\"!=\",\"value\":{\"type\":4,\"value\":\"0\",\"dataType\":\"int\"},\"is_leaf\":true,\"key\":4344,\"order\":1,\"children\":[]}]}}}]},\"guid\":\"onClick-page_lcfbxiqq~button_9976a\",\"id\":9324}]}";

        jedisPooled = new JedisPooled(connectionPoolConfig, "192.168.114.23", 6379, 5000, "", dbIndex);

        jedisPooled.jsonSet("acfc", Path2.of("$"), dddd);

    } catch (Exception e) {
        jedisPooled.close();
        e.printStackTrace();
    } finally {
        jedisPooled.close();
    }
}

}

Additional context

Running DragonflyDB using: docker run --network=host --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly:v1.34.2

The issue occurs specifically with large JSON values; smaller values work fine

Timeout happens during the read operation from the socket

redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
at redis.clients.jedis.util.RedisInputStream.ensureFill(RedisInputStream.java:262)
at redis.clients.jedis.util.RedisInputStream.readByte(RedisInputStream.java:55)
at redis.clients.jedis.Protocol.process(Protocol.java:131)
at redis.clients.jedis.Protocol.read(Protocol.java:221)
at redis.clients.jedis.Connection.protocolRead(Connection.java:430)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:443)
at redis.clients.jedis.Connection.getOne(Connection.java:416)
at redis.clients.jedis.Connection.executeCommand(Connection.java:212)
at redis.clients.jedis.executors.DefaultCommandExecutor.executeCommand(DefaultCommandExecutor.java:24)
at redis.clients.jedis.UnifiedJedis.executeCommand(UnifiedJedis.java:265)
at redis.clients.jedis.UnifiedJedis.jsonSet(UnifiedJedis.java:4220)
at cn.wind.rdemo.DD.main(DD.java:36)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/java.io.InputStream.read(InputStream.java:218)
at redis.clients.jedis.util.RedisInputStream.ensureFill(RedisInputStream.java:256)
... 11 more

May be related to DragonflyDB's handling of large payloads or network buffer sizes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions