Redis connection timeouts and unreachable error

[ad_1]

Hi, firstly, thanks for your plugin. I use it on multiple sites, and it worked great until the recent update. After upgrading to v2.4.1 we have the same issue as mentioned in the already resolved topic. We connect over TLS and ACL (username, password) to our Redis cloud instance. The status also says connected, but not reachable. But instead of the error mentioned in the linked post above, we get the “Redis is unreachable: SELECT failed: NOAUTH Authentication required.” error like mentioned in this post. This has several side effects, so I had to disable the object cache for now because we have high traffic in our shop:

  • Sometimes the users see a “Redis unavailable” error page, but after reloading it’s gone
  • Some WooCommerce orders are created twice in the same second, inclusive their payments
  • The product, order, payment sync with the JTL-Connector Plugin is blocked because of the issue mentioned first. This blocks syncing products, prices and inventories.

Below my diagnosis after disabling the plugin (I blacked out some connection data):

Status: Not enabled
Client: 
Drop-in: Not installed
Disabled: No
PhpRedis: 5.3.7
Relay: Not loaded
Predis: 2.1.2
Credis: Not loaded
PHP Version: 7.4.33
Plugin Version: 2.4.1
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Working
WP_REDIS_DISABLED: false
WP_REDIS_SCHEME: "tls"
WP_REDIS_SSL_CONTEXT: {
    "verify_peer": false,
    "verify_peer_name": false
}
WP_REDIS_HOST: "vultr-prod-vultr-prod-3165.vultrdb.com"
WP_REDIS_PORT: 16752
WP_REDIS_DATABASE: 0
WP_REDIS_PREFIX: "my-prefix"
WP_REDIS_PLUGIN_PATH: "/srv/www/thehoneyfactory.de/releases/20230514203445/web/app/plugins/redis-cache"
WP_REDIS_PASSWORD: ["my-user","••••••••"]
Drop-ins: [
    "advanced-cache.php v by "
]

I can’t enable it right now, but the diagnosis was something like:

Status: Connected
Client: PhpRedis (v5.3.7)
Drop-in: Valid
Disabled: No
Ping: 1
Errors: []
PhpRedis: 5.3.7
Relay: Not loaded
Predis: 2.1.2
Credis: Not loaded
PHP Version: 8.0.28
Plugin Version: 2.4.1
Redis Version: 7.0.10
Multisite: No
Metrics: Enabled
Metrics recorded: 44
Filesystem: Working
WP_REDIS_DISABLED: false
WP_REDIS_SCHEME: "tls"
WP_REDIS_SSL_CONTEXT: {
    "verify_peer": false,
    "verify_peer_name": false
}
WP_REDIS_HOST: "vultr-prod-vultr-prod-3165.vultrdb.com"
WP_REDIS_PORT: 16752
WP_REDIS_DATABASE: 0
WP_REDIS_PREFIX: "my-prefix"
WP_REDIS_PLUGIN_PATH: "/srv/www/thehoneyfactory.de/releases/20230514203445/web/app/plugins/redis-cache"
WP_REDIS_PASSWORD: ["my-user","••••••••"]
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",
    "blog_meta"
]
Ignored Groups: [
    "counts",
    "plugins",
    "themes",
    "theme_json"
]
Unflushable Groups: []
Groups Types: {
    "blog-details": "global",
    "blog-id-cache": "global",
    "blog-lookup": "global",
    "global-posts": "global",
    "networks": "global",
    "rss": "global",
    "sites": "global",
    "site-details": "global",
    "site-lookup": "global",
    "site-options": "global",
    "site-transient": "global",
    "users": "global",
    "useremail": "global",
    "userlogins": "global",
    "usermeta": "global",
    "user_meta": "global",
    "userslugs": "global",
    "redis-cache": "global",
    "counts": "ignored",
    "plugins": "ignored",
    "themes": "ignored",
    "blog_meta": "global",
    "theme_json": "ignored"
}
Drop-ins: [
    "advanced-cache.php v by "
    "Redis Object Cache Drop-In v2.4.1 by Till Krüss"
]

Just wanted to let you know that something is not working, properly, with the latest version.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer