Redis connection failed MOVED 8402 X.X.X.X:6379

sajal

Active member
We have moved our site to AWS and purchased Redis instance, we're using Redis as back-end cache.

But we get following error when cache is enabled:

An exception occurred: MOVED 8402 X.X.X.X:6379 in library/Redis/lib/Credis/Client.php on line 1062

Any idea?
 
Last edited:
Seems that the AWS instance is cluster, anyone knows how to do cluster configuration?

Atm, we do use:

$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
);

I think we need to configure it as cluster, any ideas?
 
You need to change the 127.0.0.1 in your config.php file to the cluster endpoint.

Also make sure that the security groups allow communication over that port.
 
Top Bottom