Background JedisConnectionException: Unexpected end of stream #3577
Unanswered
eric-martin
asked this question in
Q&A
Replies: 4 comments 2 replies
-
Try the latest from Jedis 3.x release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same error with 3.9.0 and 3.10.0 |
Beta Was this translation helpful? Give feedback.
2 replies
-
Sorry, couldn't help. BTW, my understanding is that this error also happens with 3.3.0. It just isn't logging those errors. |
Beta Was this translation helpful? Give feedback.
0 replies
-
i am getting same error, created one thread in jedis community - #3723 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Jedis v3.8.0 (Spring Boot 2.7.x)
Redis v5.3.3
We are getting this error 20x a minute (10 idle connections, eviction every 30s) after upgrading Jedis:
redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream. at redis.clients.jedis.util.RedisInputStream.ensureFill(RedisInputStream.java:202) at redis.clients.jedis.util.RedisInputStream.readByte(RedisInputStream.java:43) at redis.clients.jedis.Protocol.process(Protocol.java:165) at redis.clients.jedis.Protocol.read(Protocol.java:230) at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:352) at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:270) at redis.clients.jedis.BinaryJedis.ping(BinaryJedis.java:384) at redis.clients.jedis.JedisFactory.validateObject(JedisFactory.java:214) at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:745) at org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.run(BaseGenericObjectPool.java:160) at org.apache.commons.pool2.impl.EvictionTimer$WeakRunner.run(EvictionTimer.java:113) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
Normal operations are working fine (read/write to the cache).
This error doesn't happen with Jedis v3.3.0 (Spring Boot 2.4) against the same Redis instance.
This error also doesn't happen with Jedis v3.3.0 against a Redis v6.0.9 instance.
Anything to try besides upgrading Redis?
Beta Was this translation helpful? Give feedback.
All reactions