• Resolved jeroenvanderheiden

    (@jeroenvanderheiden)


    Hi,

    Issues getting Redis active.

    Redis activated, php 7.4
    wp-config file set-up correct (according settings webhost) but getting below error

    Status: Niet verbonden
    Client: PhpRedis (v5.3.2)
    Drop-in: Valid
    Disabled: No
    Ping: 
    Connection Exception: php_network_getaddresses: getaddrinfo failed: Name or service not known (RedisException)
    Errors: [
        "php_network_getaddresses: getaddrinfo failed: Name or service not known"
    ]
    PhpRedis: 5.3.2
    Relay: Not loaded
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 7.4.27
    Plugin Version: 2.0.23
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: null
    Filesystem: Working
    Global Prefix: "wp_"
    Blog Prefix: "wp_"
    WP_REDIS_HOST: "local.host"
    WP_REDIS_PORT: "7293"
    WP_REDIS_DATABASE: "0"
    WP_REDIS_PASSWORD: ????????
    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: [
        "advanced-cache.php v by ",
        "Redis Object Cache Drop-In v2.0.23 by Till Krüss"
    ]

    The page I need help with: [log in to see the link]

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

    (@tillkruess)

    PHP can’t resolve local.host on port 7293. Try removing the dot from it, or using 127.0.0.1.

    Thread Starter jeroenvanderheiden

    (@jeroenvanderheiden)

    Thanks for the quick response, both options gave back:

    Status: Niet verbonden
    Client: PhpRedis (v5.3.2)
    Drop-in: Valid
    Disabled: No
    Ping: 
    Connection Exception: Connection refused (RedisException)
    Errors: [
        "Connection refused"
    ]
    PhpRedis: 5.3.2
    Relay: Not loaded
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 7.4.27
    Plugin Version: 2.0.23
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: null
    Filesystem: Working
    Global Prefix: "wp_"
    Blog Prefix: "wp_"
    WP_REDIS_HOST: "localhost"
    WP_REDIS_PORT: "7293"
    WP_REDIS_DATABASE: "0"
    WP_REDIS_PASSWORD: ????????
    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: [
        "advanced-cache.php v by ",
        "Redis Object Cache Drop-In v2.0.23 by Till Krüss"
    ]

    I am using Cloudflare CDN and WP Rocket – since this is object server caching i do not expect the root cause of interference there right?

    Any tricks left?

    Plugin Author Till Krüss

    (@tillkruess)

    Connection refused means PHP can lookup the address but Redis is not running on that port. I’d ask your hosting provider for assistance.

    Thread Starter jeroenvanderheiden

    (@jeroenvanderheiden)

    Okay thanks so far Till

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Connection Refuse’ is closed to new replies.