{"action":"opened","issue":{"url":"https://api.github.com/repos/phpredis/phpredis/issues/781","repository_url":"https://api.github.com/repos/phpredis/phpredis","labels_url":"https://api.github.com/repos/phpredis/phpredis/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/phpredis/phpredis/issues/781/comments","events_url":"https://api.github.com/repos/phpredis/phpredis/issues/781/events","html_url":"https://github.com/phpredis/phpredis/issues/781","id":145401033,"number":781,"title":"RedisCluster not working with authentication","user":{"login":"hayageek","id":2642670,"avatar_url":"https://avatars.githubusercontent.com/u/2642670?v=3","gravatar_id":"","url":"https://api.github.com/users/hayageek","html_url":"https://github.com/hayageek","followers_url":"https://api.github.com/users/hayageek/followers","following_url":"https://api.github.com/users/hayageek/following{/other_user}","gists_url":"https://api.github.com/users/hayageek/gists{/gist_id}","starred_url":"https://api.github.com/users/hayageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayageek/subscriptions","organizations_url":"https://api.github.com/users/hayageek/orgs","repos_url":"https://api.github.com/users/hayageek/repos","events_url":"https://api.github.com/users/hayageek/events{/privacy}","received_events_url":"https://api.github.com/users/hayageek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-02T18:26:18Z","updated_at":"2016-04-02T18:26:18Z","closed_at":null,"body":"RedisCluster failing with the below exception,when authentication is enabled in cluster nodes. Without authentication it is working fine.\r\n\r\n\"Couldn't map cluster keyspace using any provided seed\"\r\n\r\nMy CLUSTER configuration:  5 masters - 5 slaves.\r\n`````\r\n259ed1cb1464e18a0d78e0b5cd2508f1515c3d70 127.0.0.1:30008 slave e9f7025a104dea09450499724b0fc4666041868c 0 1459621282616 8 connected\r\n661bf499994b4eb1b63cc968854babc063d00dad 127.0.0.1:30007 slave e747386840efb277f179ffd2231800557c027b89 0 1459621282616 7 connected\r\n7f1e59d0fd813f2c18a8617721ad4c0508c967e0 127.0.0.1:30010 slave cdf758b8c947d4fc1d937bfde65e869c275c6153 0 1459621282514 10 connected\r\ne9f7025a104dea09450499724b0fc4666041868c 127.0.0.1:30003 master - 0 1459621282616 3 connected 6554-9829\r\ndfc91638a5cfd55937bad830818019791aa895f7 127.0.0.1:30009 slave 537ef63ac1b64374e2b7c58550771e9f09148948 0 1459621282616 9 connected\r\n1656d3cfff7869aff63e7d344de7ad34ef3eed94 127.0.0.1:30001 master - 0 1459621282616 1 connected 0-3276\r\n537ef63ac1b64374e2b7c58550771e9f09148948 127.0.0.1:30004 myself,master - 0 0 4 connected 9830-13106\r\n0fe962751eec934c1fbc640df5968ccf9a25eec5 127.0.0.1:30006 slave 1656d3cfff7869aff63e7d344de7ad34ef3eed94 0 1459621282616 6 connected\r\ne747386840efb277f179ffd2231800557c027b89 127.0.0.1:30002 master - 0 1459621282616 2 connected 3277-6553\r\ncdf758b8c947d4fc1d937bfde65e869c275c6153 127.0.0.1:30005 master - 0 1459621282616 5 connected 13107-16383\r\n````\r\n\r\nI am able to connect to nodes using redis-client with AUTH. Below is the PHP code which gives exception\r\n\r\n$obj_cluster = new \\RedisCluster(NULL, [\"127.0.0.1:30001\",\"127.0.0.1:30002\",\"127.0.0.1:30003\",\"127.0.0.1:30004\",\"127.0.0.1:30005\"]);\r\n$obj_cluster->auth('ravi');  //ravi is the password.\r\n$obj_cluster->setOption(RedisCluster::OPT_SLAVE_FAILOVER, RedisCluster::FAILOVER_ERROR);\r\n\r\n"}}