{"action":"created","issue":{"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/179","labels_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/179/comments","events_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/179/events","html_url":"https://github.com/StackExchange/StackExchange.Redis/issues/179","id":63607978,"number":179,"title":"Redis Cluster MOVED exception","user":{"login":"superlogical","id":287641,"avatar_url":"https://avatars.githubusercontent.com/u/287641?v=3","gravatar_id":"","url":"https://api.github.com/users/superlogical","html_url":"https://github.com/superlogical","followers_url":"https://api.github.com/users/superlogical/followers","following_url":"https://api.github.com/users/superlogical/following{/other_user}","gists_url":"https://api.github.com/users/superlogical/gists{/gist_id}","starred_url":"https://api.github.com/users/superlogical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superlogical/subscriptions","organizations_url":"https://api.github.com/users/superlogical/orgs","repos_url":"https://api.github.com/users/superlogical/repos","events_url":"https://api.github.com/users/superlogical/events{/privacy}","received_events_url":"https://api.github.com/users/superlogical/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-23T02:50:49Z","updated_at":"2015-03-25T20:07:56Z","closed_at":"2015-03-25T20:07:56Z","body":"I have a 5 node cluster setup, I followed the Redis cluster tutorial here: http://redis.io/topics/cluster-tutorial\r\n\r\nI have the following nodes:\r\n\r\n10.53.10.193:7000 (master)\r\n10.53.10.193:7001 (master)\r\n10.53.10.193:7002 (master)\r\n10.53.10.193:7003 (slave)\r\n10.53.10.193:7004 (slave)\r\n10.53.10.193:7005 (slave)\r\n\r\nI get this exception for one of my keys, but not for the other.\r\n\r\n````\r\n[RedisServerException: MOVED 7789 127.0.0.1:7001]\r\n   StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl(Message message, ResultProcessor`1 processor, ServerEndPoint server) in c:\\TeamCity\\buildAgent\\work\\3ae0647004edff78\\StackExchange.Redis\\StackExchange\\Redis\\ConnectionMultiplexer.cs:1836\r\n   StackExchange.Redis.RedisBase.ExecuteSync(Message message, ResultProcessor`1 processor, ServerEndPoint server) in c:\\TeamCity\\buildAgent\\work\\3ae0647004edff78\\StackExchange.Redis\\StackExchange\\Redis\\RedisBase.cs:81\r\n   StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in c:\\TeamCity\\buildAgent\\work\\3ae0647004edff78\\StackExchange.Redis\\StackExchange\\Redis\\RedisDatabase.cs:873\r\n`````\r\n\r\nThese are the keys on the different nodes:\r\n\r\n\r\nIt doesn't have any trouble reading this key\r\n````\r\n127.0.0.1:7000> keys *\r\n1) \"{sample_f1mot2n5pbz25zolvd1gayuy}_Data\"\r\n2) \"{sample_f1mot2n5pbz25zolvd1gayuy}_Internal\"\r\n````\r\n\r\n\r\nBut it has trouble with this key:\r\n````\r\n127.0.0.1:7001> keys *\r\n1) \"{sample_ihowwbhgu523f0vjkefvacbv}_Data\"\r\n2) \"{sample_ihowwbhgu523f0vjkefvacbv}_Internal\"\r\n````\r\n\r\nI think it might have something to do with this issue here:\r\nhttps://github.com/StackExchange/StackExchange.Redis/issues/57\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/comments/86199077","html_url":"https://github.com/StackExchange/StackExchange.Redis/issues/179#issuecomment-86199077","issue_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/179","id":86199077,"user":{"login":"superlogical","id":287641,"avatar_url":"https://avatars.githubusercontent.com/u/287641?v=3","gravatar_id":"","url":"https://api.github.com/users/superlogical","html_url":"https://github.com/superlogical","followers_url":"https://api.github.com/users/superlogical/followers","following_url":"https://api.github.com/users/superlogical/following{/other_user}","gists_url":"https://api.github.com/users/superlogical/gists{/gist_id}","starred_url":"https://api.github.com/users/superlogical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superlogical/subscriptions","organizations_url":"https://api.github.com/users/superlogical/orgs","repos_url":"https://api.github.com/users/superlogical/repos","events_url":"https://api.github.com/users/superlogical/events{/privacy}","received_events_url":"https://api.github.com/users/superlogical/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T20:07:56Z","updated_at":"2015-03-25T20:07:56Z","body":"Haha @mgravell you've actually already explained the problem I was running into on your blog! \r\n\r\nhttp://blog.marcgravell.com/2014/02/playing-with-redis-cluster-for-non.html\r\n\r\n> Now you should be fully setup and configured, ready to follow the tutorial. Note that you probably want to use the non-loopback ip when configuring the cluster, so that external clients don't get confused by MOVED replies:\r\n\r\n$ ./redis-trib.rb create --replicas 1 192.168.0.15:7000 192.168.0.15:7001 192.168.0.15:7002 192.168.0.15:7003 192.168.0.15:7004 192.168.0.15:7005"}}