ERR Protocol error: invalid bulk length

1,123 views
Skip to first unread message

Sairam M P

unread,
Nov 5, 2015, 6:01:29 AM11/5/15
to Redis DB
Hi,

We are using jedis-2.5.1 with redis-2.4.8. Often we get the below error for our get / setex commands. We have 1 GB  of data and around 30 requests fails in an hour with this error. The keys we fetch has values in redis. 

Whether is this an jedis / redis compatibility issue  ?? or Is there any related bug in redis-2.4.8 ??  Google doesn't help much. Any help will be appreciated. 

redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: invalid bulk length
	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.getBinaryBulkReply(Connection.java:204) 
at redis.clients.jedis.BinaryJedis.get(BinaryJedis.java:120)


-Sairam. 

Reply all
Reply to author
Forward
0 new messages