• Resolved lblake

    (@lblake)


    I cannot connect to an AWS Valkey cache with the plugin. I can connect with the username and password and endpoint with AWS-cli. I can also connect with the php script as attached in document root. All credentials and endpoint are the same in wp-config.php as attached. Any help appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    @lblake which version of PhpRedis are you using?

    Looks like AI hallucinated to me, the correct constant is WP_REDIS_SSL_CONTEXT.

    Thread Starter lblake

    (@lblake)

    I changed the constant. Phpinfo indicates Redis Version 6.2.0. I have tried: define(‘WP_REDIS_CLIENT’, ‘predis’); Getting: CROSSLOT Keys in request doesn’t hash to the same slot Thx.

    Plugin Author Till Krüss

    (@tillkruess)

    Disable cluster mode in AWS.

    Thread Starter lblake

    (@lblake)

    It’s a serverless valkey cache. No option for cluster mode to not be enabled. Any work around?

    Plugin Author Till Krüss

    (@tillkruess)

    You’ll have to treat the connections as a cluster. It’s documented in the README.

    Thread Starter lblake

    (@lblake)

    If it’s define( ‘WP_REDIS_CLUSTER’, + URI string – then I don’t know how to get the node addresses.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.