redis.clients.jedis.exceptions.JedisDataException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • ERR Protocol error: invalid bulk length
    via by Sairam M P,
  • migrate bug
    via GitHub by wylyeak
    ,
    • redis.clients.jedis.exceptions.JedisDataException: ERR only (P)SUBSCRIBE / (P)UNSUBSCRIBE / PING / QUIT allowed in this context at redis.clients.jedis.Protocol.processError(Protocol.java:113) at redis.clients.jedis.Protocol.process(Protocol.java:131) at redis.clients.jedis.Protocol.read(Protocol.java:200) at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:285) at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:184) at redis.clients.jedis.Jedis.configSet(Jedis.java:2797) at org.eclipse.leshan.server.demo.cluster.RedisClientRegistry$1.run(RedisClientRegistry.java:67) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 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