Expected behavior
Successfully send the command
Actual behavior
Get Unexpected end of stream exception.
Steps to reproduce:
This scenario happens from time to time. The command sometimes succeeds, and sometimes fails.
The Redis is running along side on my local laptop, so no network issue (conceivably) here.
Jedis jedis = new Jedis();
jedis.set("events/city/rome", "32,15,223,828");
Exception is thrown:
redis.clients.jedis.util.RedisInputStream/ensureFill (RedisInputStream.java:205)
redis.clients.jedis.util.RedisInputStream/readByte (RedisInputStream.java:46)
redis.clients.jedis.Protocol/process (Protocol.java:126)
redis.clients.jedis.Protocol/read (Protocol.java:192)
redis.clients.jedis.Connection/readProtocolWithCheckingBroken (Connection.java:316)
redis.clients.jedis.Connection/getOne (Connection.java:298)
redis.clients.jedis.Connection/executeCommand (Connection.java:123)
redis.clients.jedis.Jedis/set (Jedis.java:4871)
demo/eval13826 (NO_SOURCE_FILE:38)
I used tcpdump and found out no packet is sent to redis from the testing program.
Redis / Jedis Configuration
Jedis version:
4.2.3
Redis version:
7.0.4
Java version:
zulu-17
Expected behavior
Successfully send the command
Actual behavior
Get
Unexpected end of streamexception.Steps to reproduce:
This scenario happens from time to time. The command sometimes succeeds, and sometimes fails.
The Redis is running along side on my local laptop, so no network issue (conceivably) here.
Exception is thrown:
I used tcpdump and found out no packet is sent to redis from the testing program.
Redis / Jedis Configuration
Jedis version:
4.2.3
Redis version:
7.0.4
Java version:
zulu-17