• Resolved expressweldcare

    (@expressweldcare)


    We have been using this plugin for about a month now and today, when clicking Products > All Products (Woocommerce) we get this:

    I have tried flushing the cache, disabling the plugin, checking that the service is still running on our VPS, I have used the ping command and get the pong response and I have restarted the server but I am still getting the above error when clicking All Products. All other areas of Woocommerce work i.e. Orders, Categories.

    Here are the diagnostics:

    Status: Connected
    Client: PhpRedis (v6.1.0)
    Drop-in: Valid
    Disabled: No
    Ping: 1
    Errors: []
    PhpRedis: 6.1.0
    Relay: Not loaded
    Predis: 2.1.2
    Credis: Not loaded
    PHP Version: 8.3.15
    Plugin Version: 2.5.4
    Redis Version: 6.0.16
    Multisite: No
    Metrics: Enabled
    Metrics recorded: 461
    Filesystem: Writable
    Global Prefix: "wp_"
    Blog Prefix: "wp_"
    Timeout: 1
    Read Timeout: 1
    Retry Interval:
    WP_REDIS_PLUGIN_PATH: "/var/www/vhosts/expressweldcare.co.uk/httpdocs/wp-content/plugins/redis-cache"
    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",
    "image_editor",
    "network-queries",
    "site-queries",
    "theme_files",
    "translation_files",
    "user-queries"
    ]
    Ignored Groups: [
    "counts",
    "plugins",
    "theme_json",
    "themes"
    ]
    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",
    "blog_meta": "global",
    "image_editor": "global",
    "network-queries": "global",
    "site-queries": "global",
    "theme_files": "global",
    "translation_files": "global",
    "user-queries": "global",
    "counts": "ignored",
    "plugins": "ignored",
    "theme_json": "ignored",
    "themes": "ignored"
    }
    Drop-ins: [
    "advanced-cache.php v by ",
    "maintenance.php v by ",
    "Redis Object Cache Drop-In v2.5.4 by Till Krüss"
    ]

    Please help.

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

    (@tillkruess)

    Every time you access that page you get a read timeout? Try bumping WP_REDIS_READ_TIMEOUT higher.

    Thread Starter expressweldcare

    (@expressweldcare)

    Yes, the error happens everytime I select the All Products page.

    I have added this code to wp-config:

    // reasonable connection and read+write timeouts
    define( 'WP_REDIS_TIMEOUT', 5 );
    define( 'WP_REDIS_READ_TIMEOUT', 5 );

    I am still getting the error socket error on read socket when clicking All Products. I have tried flushing the cache again and disabling object cache.

    Thread Starter expressweldcare

    (@expressweldcare)

    I have just tried opening All Products incognito and it worked which leads me to believe it was a caching issue.

    Nevertheless, I’m sure increasing the timeout will prevent the issue happening again in the future.

    Thank you for your suggestion, Till.

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