Object Cache Settings - Redis connection issue

#1
Environment
- WHM/Cpanel CENTOS 7.8 v88.0.12
- Litespeed v. 5.4.8 (build 1)

In WHM/Cpanel, Im trying to leverage object cache in the Litespeed Cache (WordPress - Redis Extension). However, when trying to connect to a Digital Ocean Managed Redis DB, I get Connection Test: Failed.

I should mention:
1. Litespeed Object Cache connects OK when using Memcached localhost.
2. I can connect OK to the DO Managed Redis DB when using another WordPress plugin (Redis Object Cache), so firewall/port, i.e. should not be an issue. Link to the Redis Object Cache plugin: https://wordpress.org/plugins/redis-cache/

These are my WP Config Redis settings I use to connect to my DO Managed Redis DB, when using the Redis Object Cache, plugin):
define('WP_CACHE', true ) ;
define('WP_REDIS_USER', 'XXXXXX');
define('WP_REDIS_DATABASE', 0);
define('WP_REDIS_PASSWORD', 'XXXXXX');
define('WP_REDIS_PORT', 25061);
define('WP_REDIS_HOST', XXXXXX');
define('WP_REDIS_SCHEME', 'tls');
define('WP_REDIS_BACKEND_DB', 0);

Can this be an protocol/scheme thing?
 
Last edited:
Top