-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JedisConnectionException: Unexpected end of stream #932
Comments
|
windows版本下的2.6的版本出现相同的错误,配置了client-output-buffer-limit 为不限制,不好使!好其他招没 |
@krestor ? |
it didn't work for me. client-output-buffer-limit normal 0 0 0 |
You should check that there's a chance for Redis closes the connection. |
It did not work for me too. Any other solutions anyone could find? |
@pavnii do you have a reproducible test case? |
On my side I had some similar issue with a complete different cause. I select database 1 in my code on my JedisConnection and the REDIS is running in a VM. However when I select 0 the exception warns me about setting configuration like this: CONFIG SET protected-mode no or setup an authentication When I do set the config it solves the issue for both database 0 and 1. Hope this will help. |
It did not work for me too. And my config is "client-output-buffer-limit" ,"normal 0 0 0 slave 268435456 67108864 60 pubsub 33554432 8388608 60" . In my case, i use smembers to get a key which have 700w data . So i want to know ,what cause this problem. |
@jameBoy this can also happen when client’s timeout is smaller than server's timeout |
Hi i am also facing the same issue. We have three server nodes one is master, slave, and another one is sentinel server node. i am trying with following code
here is my redis server version and maven dependencies
It seems there is no problem with the timeouts and if you want the configuration files for the master, slave and sentinel nodes. I will update here. Thanks. |
Repeatable exception and for the life of me, I cannot find something I'm doing wrong.
Running redis version
2.8.19
onLinux 3.16.0-33-generic #44-Ubuntu SMP Thu Mar 12 12:19:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Java version:
Run the redis consumer followed by the producer of the project here: https://github.com/Climax777/message-queue-bench
The text was updated successfully, but these errors were encountered: