Support » Plugin: Redis Object Cache » Not connected error

  • Resolved tambergirn

    (@tambergirn)


    I added the following in wp-config.php but still, the plugin is showing not connected.

    define(‘WP_REDIS_HOST’, ‘redis’);
    define(‘WP_CACHE’, true);

    Here is my diagnostics:

    
    Status: Not connected
    Client: PhpRedis (v5.3.3)
    Drop-in: Valid
    Disabled: No
    Ping: 
    Connection Exception: Connection refused (RedisException)
    Errors: [
        "Connection refused"
    ]
    PhpRedis: 5.3.3
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 7.4.15
    Plugin Version: 2.0.17
    Redis Version: Unknown
    Multisite: No
    Filesystem: Working
    Global Prefix: "wp_"
    Blog Prefix: "wp_"
    WP_REDIS_PREFIX: "2r-zS8$Hwa[WvD5j%9j;[V`
    m76N*4)gKZoDb.|:)d0l0?{-{]jDQnEc!x^WCpmHV"
    WP_CACHE_KEY_SALT: "2r-zS8$Hwa[WvD5j%9j;[V`m76N*4)gKZoDb.|:)d0l0?{-{]jDQnEc!x^WCpmHV"
    Global Groups: [
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache"
    ]
    Ignored Groups: [
        "counts",
        "plugins",
        "themes",
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache",
        "blog_meta"
    ]
    Unflushable Groups: []
    Drop-ins: [
        "maintenance.php v by ",
        "Redis Object Cache Drop-In v2.0.17 by Till Krüss"
    ]
    
    • This topic was modified 2 weeks ago by tambergirn.
    • This topic was modified 2 weeks ago by Yui. Reason: please use CODE button for code formatting
Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Hi!

    WP_CACHE is unrelated to this plugin, or object caching in general.

    “Connection refused” leads me to believe that you DO NOT have Redis Server running. If you do, then your container is unable to connect to your redis container.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.