cluster work ok.
redis-trib.rb check 127.0.0.1:6380 is ok
$redis = new RedisCluster(NULL,Array('127.0.0.1:6380','127.0.0.1:6381'), 1.5, 1.5, true,'mypassword');
var_dump($obj_cluster);
Uncaught exception 'RedisClusterException' with message 'Couldn't map cluster keyspace using any provided seed
Does using redis-cli -c -p 6380 work as expected (e.g. getting and setting keys is fine?)
Hi
My bug was closed as a duplicate of this one.
In my case i can connect to the redis cluster with redis-cli, so the cluster seems to work.
@michael-grunder redis-cli -c -p 6380 work is ok
Hi,
Are you sure that you are passing the correct password? Another thing you can try is to create a non cluster connection and make sure you are able to communicate with a specific node via a Redis object.
Hi,
I've run into similar problem here. I have a redis cluster that has been set up in kubernetes. I created a NodePort for accessing the cluster. redis-cli -c works perfectly. I tried connecting my application to the redis cluster so that my application can use the redis cluster for storing user session data. It's unsuccessful and return the same error as the issue above had.
php version is 5.6.40
php-redis version 4.2.0
thanks.
Most helpful comment
Hi,
I've run into similar problem here. I have a redis cluster that has been set up in kubernetes. I created a NodePort for accessing the cluster. redis-cli -c works perfectly. I tried connecting my application to the redis cluster so that my application can use the redis cluster for storing user session data. It's unsuccessful and return the same error as the issue above had.
php version is 5.6.40
php-redis version 4.2.0
thanks.