{"action":"created","issue":{"url":"https://api.github.com/repos/taskrabbit/node-resque/issues/187","repository_url":"https://api.github.com/repos/taskrabbit/node-resque","labels_url":"https://api.github.com/repos/taskrabbit/node-resque/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/taskrabbit/node-resque/issues/187/comments","events_url":"https://api.github.com/repos/taskrabbit/node-resque/issues/187/events","html_url":"https://github.com/taskrabbit/node-resque/issues/187","id":203351004,"number":187,"title":"Connection error with Elastic Cache Redis","user":{"login":"pranesh-maruthavanan-q4","id":20676544,"avatar_url":"https://avatars0.githubusercontent.com/u/20676544?v=3","gravatar_id":"","url":"https://api.github.com/users/pranesh-maruthavanan-q4","html_url":"https://github.com/pranesh-maruthavanan-q4","followers_url":"https://api.github.com/users/pranesh-maruthavanan-q4/followers","following_url":"https://api.github.com/users/pranesh-maruthavanan-q4/following{/other_user}","gists_url":"https://api.github.com/users/pranesh-maruthavanan-q4/gists{/gist_id}","starred_url":"https://api.github.com/users/pranesh-maruthavanan-q4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranesh-maruthavanan-q4/subscriptions","organizations_url":"https://api.github.com/users/pranesh-maruthavanan-q4/orgs","repos_url":"https://api.github.com/users/pranesh-maruthavanan-q4/repos","events_url":"https://api.github.com/users/pranesh-maruthavanan-q4/events{/privacy}","received_events_url":"https://api.github.com/users/pranesh-maruthavanan-q4/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-26T11:40:45Z","updated_at":"2017-03-11T05:13:21Z","closed_at":"2017-03-11T05:13:20Z","body":"Facing  an error \"Reply Error: MOVED 10.0.0.1 6379 \"  when I attempt to connect with below code.  Appreciate your help  on this issue.\r\n\r\nWe are using AWS ElastiCache - Clustered Redis ( 3 Shards with 3 Replicas for each shard). Redis version is 3.2.\r\n\r\nvar Redis = require('ioredis');\r\nvar NR = require('node-resque');\r\nvar redisConn = new Redis('redis://xxxxxx.clustercfg.usw2.cache.amazonaws.com:6379');\r\nvar connectionDetails = { redis: redisConn }\r\nvar queue = new NR.queue({ connection: connectionDetails }, jobs);\r\nqueue.on('error', function(error){ console.log(error); });\r\n\r\nSame code works  for non cluster mode in elastic cache. ( single shard with 3 replicas)\r\n"},"comment":{"url":"https://api.github.com/repos/taskrabbit/node-resque/issues/comments/285843229","html_url":"https://github.com/taskrabbit/node-resque/issues/187#issuecomment-285843229","issue_url":"https://api.github.com/repos/taskrabbit/node-resque/issues/187","id":285843229,"user":{"login":"evantahler","id":303226,"avatar_url":"https://avatars2.githubusercontent.com/u/303226?v=3","gravatar_id":"","url":"https://api.github.com/users/evantahler","html_url":"https://github.com/evantahler","followers_url":"https://api.github.com/users/evantahler/followers","following_url":"https://api.github.com/users/evantahler/following{/other_user}","gists_url":"https://api.github.com/users/evantahler/gists{/gist_id}","starred_url":"https://api.github.com/users/evantahler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evantahler/subscriptions","organizations_url":"https://api.github.com/users/evantahler/orgs","repos_url":"https://api.github.com/users/evantahler/repos","events_url":"https://api.github.com/users/evantahler/events{/privacy}","received_events_url":"https://api.github.com/users/evantahler/received_events","type":"User","site_admin":false},"created_at":"2017-03-11T05:13:20Z","updated_at":"2017-03-11T05:13:20Z","body":"Closing due to lack of response"}}
{"actor":{"display_login":"evantahler"}}