{"action":"created","issue":{"url":"https://api.github.com/repos/debasishg/scala-redis/issues/141","labels_url":"https://api.github.com/repos/debasishg/scala-redis/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/debasishg/scala-redis/issues/141/comments","events_url":"https://api.github.com/repos/debasishg/scala-redis/issues/141/events","html_url":"https://github.com/debasishg/scala-redis/issues/141","id":89403543,"number":141,"title":"RedisClientPool with timeout causing continuous protocol errors.","user":{"login":"howardlu0106","id":12958349,"avatar_url":"https://avatars.githubusercontent.com/u/12958349?v=3","gravatar_id":"","url":"https://api.github.com/users/howardlu0106","html_url":"https://github.com/howardlu0106","followers_url":"https://api.github.com/users/howardlu0106/followers","following_url":"https://api.github.com/users/howardlu0106/following{/other_user}","gists_url":"https://api.github.com/users/howardlu0106/gists{/gist_id}","starred_url":"https://api.github.com/users/howardlu0106/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howardlu0106/subscriptions","organizations_url":"https://api.github.com/users/howardlu0106/orgs","repos_url":"https://api.github.com/users/howardlu0106/repos","events_url":"https://api.github.com/users/howardlu0106/events{/privacy}","received_events_url":"https://api.github.com/users/howardlu0106/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-18T21:33:59Z","updated_at":"2015-12-22T20:09:18Z","closed_at":null,"body":"I'm currently using 3.0, creating a single RedisClientPool with timeout.  It looks like when the timeout error occurs, the pool is consistently in a bad state even when the hits to redis dramatically decreases.  Error below:\r\n\r\nProtocol error: Got (v,[B@75106b5c) as initial reply byte\r\njava.lang.Exception: Protocol error: Got (v,[B@75106b5c) as initial reply byte\r\n\tat com.redis.Reply$$anonfun$7.applyOrElse(RedisProtocol.scala:105)\r\n\tat com.redis.Reply$$anonfun$7.applyOrElse(RedisProtocol.scala:103)\r\n\tat scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)\r\n\tat com.redis.Reply$$anonfun$5.applyOrElse(RedisProtocol.scala:75)\r\n\tat com.redis.Reply$$anonfun$5.applyOrElse(RedisProtocol.scala:75)\r\n\tat scala.PartialFunction$OrElse.apply(PartialFunction.scala:167)\r\n\tat com.redis.Reply$class.receive(RedisProtocol.scala:124)\r\n\tat com.redis.RedisClient.receive(RedisClient.scala:94)\r\n\tat com.redis.R$class.asList(RedisProtocol.scala:151)\r\n\tat com.redis.RedisClient.asList(RedisClient.scala:94)\r\n\tat com.redis.Operations$$anonfun$keys$1.apply(Operations.scala:50)\r\n\tat com.redis.Operations$$anonfun$keys$1.apply(Operations.scala:50)\r\n\tat com.redis.Redis$class.send(RedisClient.scala:22)\r\n\tat com.redis.RedisClient.send(RedisClient.scala:94)\r\n\tat com.redis.Operations$class.keys(Operations.scala:50)\r\n\tat com.redis.RedisClient.keys(RedisClient.scala:94)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/debasishg/scala-redis/issues/comments/166717916","html_url":"https://github.com/debasishg/scala-redis/issues/141#issuecomment-166717916","issue_url":"https://api.github.com/repos/debasishg/scala-redis/issues/141","id":166717916,"user":{"login":"onilton","id":725676,"avatar_url":"https://avatars.githubusercontent.com/u/725676?v=3","gravatar_id":"","url":"https://api.github.com/users/onilton","html_url":"https://github.com/onilton","followers_url":"https://api.github.com/users/onilton/followers","following_url":"https://api.github.com/users/onilton/following{/other_user}","gists_url":"https://api.github.com/users/onilton/gists{/gist_id}","starred_url":"https://api.github.com/users/onilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onilton/subscriptions","organizations_url":"https://api.github.com/users/onilton/orgs","repos_url":"https://api.github.com/users/onilton/repos","events_url":"https://api.github.com/users/onilton/events{/privacy}","received_events_url":"https://api.github.com/users/onilton/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T20:09:18Z","updated_at":"2015-12-22T20:09:18Z","body":"I forgot to add, we are using a redisClientPool.\r\n\r\n`val redisPool = new com.redis.RedisClientPool(redisHost, redisPort, timeout = 20000)`"}}