{"action":"created","issue":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/942","labels_url":"https://api.github.com/repos/xetorthio/jedis/issues/942/labels{/name}","comments_url":"https://api.github.com/repos/xetorthio/jedis/issues/942/comments","events_url":"https://api.github.com/repos/xetorthio/jedis/issues/942/events","html_url":"https://github.com/xetorthio/jedis/issues/942","id":66985470,"number":942,"title":"Jedis.ttl + cannot be cast to java.lang.Long","user":{"login":"nykolaslima","id":1128572,"avatar_url":"https://avatars.githubusercontent.com/u/1128572?v=3","gravatar_id":"","url":"https://api.github.com/users/nykolaslima","html_url":"https://github.com/nykolaslima","followers_url":"https://api.github.com/users/nykolaslima/followers","following_url":"https://api.github.com/users/nykolaslima/following{/other_user}","gists_url":"https://api.github.com/users/nykolaslima/gists{/gist_id}","starred_url":"https://api.github.com/users/nykolaslima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nykolaslima/subscriptions","organizations_url":"https://api.github.com/users/nykolaslima/orgs","repos_url":"https://api.github.com/users/nykolaslima/repos","events_url":"https://api.github.com/users/nykolaslima/events{/privacy}","received_events_url":"https://api.github.com/users/nykolaslima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-07T20:41:31Z","updated_at":"2015-04-08T01:15:03Z","closed_at":null,"body":"I'm accessing my Redis server through a slow network and I got this error when calling `jedis.ttl(key)`;\r\n```\r\njava.lang.ClassCastException: [B cannot be cast to java.lang.Long\r\n\tat redis.clients.jedis.Connection.getIntegerReply(Connection.java:207)\r\n\tat redis.clients.jedis.Jedis.ttl(Jedis.java:287)\r\n```\r\n\r\nMaybe Redis answered a bad response and we couldn't deal with it."},"comment":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/comments/90773019","html_url":"https://github.com/xetorthio/jedis/issues/942#issuecomment-90773019","issue_url":"https://api.github.com/repos/xetorthio/jedis/issues/942","id":90773019,"user":{"login":"nykolaslima","id":1128572,"avatar_url":"https://avatars.githubusercontent.com/u/1128572?v=3","gravatar_id":"","url":"https://api.github.com/users/nykolaslima","html_url":"https://github.com/nykolaslima","followers_url":"https://api.github.com/users/nykolaslima/followers","following_url":"https://api.github.com/users/nykolaslima/following{/other_user}","gists_url":"https://api.github.com/users/nykolaslima/gists{/gist_id}","starred_url":"https://api.github.com/users/nykolaslima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nykolaslima/subscriptions","organizations_url":"https://api.github.com/users/nykolaslima/orgs","repos_url":"https://api.github.com/users/nykolaslima/repos","events_url":"https://api.github.com/users/nykolaslima/events{/privacy}","received_events_url":"https://api.github.com/users/nykolaslima/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T01:15:03Z","updated_at":"2015-04-08T01:15:03Z","body":"But it still looks as an issue, right?\nOn Tue, Apr 7, 2015 at 6:17 PM Jungtaek Lim <notifications@github.com>\nwrote:\n\n> Indeed. It was not broken response since we built a response with byte[],\n> but maybe not Integer reply.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/xetorthio/jedis/issues/942#issuecomment-90735440>.\n>\n"}}