jredis icon indicating copy to clipboard operation
jredis copied to clipboard

Connection re-established but last request not processed

Open yheart opened this issue 14 years ago • 1 comments

When I updated the jredis , I got the error when JRedisService reconnected .

The Exception info is as follow:

ERROR - -1 read count in readLine() while reading response line. ERROR - PROBLEM: serviceRequest() -- ClientRuntimeException => Unexpected EOF (read -1) in readLine. Command: ZCARD org.jredis.connector.ConnectionReset: Connection re-established but last request not processed: Unexpected EOF (read -1) in readLine. Command: ZCARD at org.jredis.ri.alphazero.connection.SynchConnection.serviceRequest(SynchConnection.java:154) at org.jredis.ri.alphazero.JRedisService.serviceRequest(JRedisService.java:180) at org.jredis.ri.alphazero.JRedisSupport.zcard(JRedisSupport.java:872)

yheart avatar Dec 25 '10 10:12 yheart

Version mismatch, most likely. 1.0 RC2 is for Redis 1.2.n. master branch in git is for the 2.0.

Always take a look at the revision info file in the root of the source distro. It notes which precise version of redis it was tested against. It is very possible that 2.n version is lagging behind Redis as I've been very busy past couple of months with work.

alphazero avatar Jan 11 '11 04:01 alphazero