PHPMessage: RedisException: MOVED #25
-
I have an AWS elasticahce redis cluster with 1 shard containing 1 primary & 1 replica define( 'WP_REDIS_PASSWORD', 'password' ); I get PHP message: RedisException: MOVED 16313 error with this & the plugin toggles between error state & connected state. If i try to use the endpoint given in the MOVED error above, the redis settings page throws 504 Any pointers on what the right config is would be helpful |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You need to use the cluster configuration, not |
Beta Was this translation helpful? Give feedback.
-
@tillkruss could you please give me an example of the cluster configuration? define( 'WP_REDIS_CLUSTER', ['tcp://abc-dev-redis-0001-001.wmkt-stg-redis.acd.use1.cache.amazonaws.com:6379']); above is not working either |
Beta Was this translation helpful? Give feedback.
-
@tillkruss AWS only gives a cluster configuration endpoint but it would never tell us what is a primary node. what do I add into WP_REDIS_CLUSTER array? what if the primary changes? |
Beta Was this translation helpful? Give feedback.
-
Disable cluster mode on AWS, or use the correct endpoint. It works tons of people are using Elasticache. If you need 1:1 support, we offer that over at Object Cache Pro. |
Beta Was this translation helpful? Give feedback.
You need to use the cluster configuration, not
WP_REDIS_HOST
.