Export to GitHub

redis - issue #213

Protocol error, got ' ' as initial reply byte


Posted on Mar 29, 2010 by Happy Ox

What steps will reproduce the problem? 1. About 3-4 hours of intensive work 2. Then any request returns the same exception

What is the expected output? What do you see instead? I got exception "Protocol error, got ' ' as initial reply byte"

What version of the product are you using? On what operating system? 1.2.6.

Please provide any additional information below.

After some hours working. Redis starts throwing exceptions on any request.

Protocol error, got '<' as initial reply byte Protocol error, got ' ' as initial reply byte

Is there any log for redis. How can I solve that?

Comment #1

Posted on Mar 29, 2010 by Grumpy Dog

Hello, that's not a Redis issue probably, but a redis-rb one. Maybe are you using redis- rb mixed with threads?

Comment #2

Posted on Mar 29, 2010 by Happy Ox

How can I know if I use redis-rb with threads? In gems I found this:

redis-store (0.3.7) ezmobius-redis (0.1)

Comment #3

Posted on Mar 29, 2010 by Massive Elephant

ezmobius-redis 0.1 is a super old version of the redis-rb client. Please uninstall that and just do this:

sudo gem install redis

that will get redis 0.2.0 from gemcutter which is much more up to date and will probably fix your issue. Thanks

Comment #4

Posted on Mar 29, 2010 by Happy Ox

redis 0.2.0 doesn't work together with redis-store. Will try redis 0.1.2.

Comment #5

Posted on Aug 27, 2010 by Grumpy Dog

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Medium