redis.clients.jedis.exceptions.JedisDataException

tip

Redis has some limitations of various bulk length, the length of args of the API command MSET can't be bigger than 1024*1024, set a limiter on how big your list is to avoid this.

tip

You're experiencing issue #124 in spring session: https://goo.gl/CgfzZ2. You can use the workaround described here: https://goo.gl/pnn7Cc or check the bug page mentioned for disscussion about it!

tip

Add your password property to the block in your Tomcat context.xml with JediShardInfo.setPassword(redisPassword)

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 1358#235300996
    via GitHub by xetorthio
    ,
  • ERR Protocol error: invalid bulk length
    via by Sairam M P,
  • migrate bug
    via GitHub by wylyeak
    ,
    • redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: expected '$', got ' ' at redis.clients.jedis.Protocol.processError(Protocol.java:117) at redis.clients.jedis.Protocol.process(Protocol.java:151) at redis.clients.jedis.Protocol.read(Protocol.java:205) at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297) at redis.clients.jedis.Connection.getIntegerReply(Connection.java:222) at redis.clients.jedis.Jedis.hset(Jedis.java:606) at me.FlawlezZ.FlawlordBasedSan.redis.JedisManager.hset(JedisManager.java:38) at me.FlawlezZ.FlawlordChaRPGSan.data.Characters$JedisCharacter.read(Characters.java:43) at me.FlawlezZ.FlawlordChaRPGSan.data.mongo.MongoCharacter.readCharacter(MongoCharacter.java:34) at me.FlawlezZ.FlawlordChaRPGSan.data.mongo.MongoCharacter.lambda$loadCharacter$0(MongoCharacter.java:43) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    aldrinleal
    3676 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    29 more bugmates