Title: Socket error on read socket
Last modified: January 9, 2025

---

# Socket error on read socket

 *  Resolved [expressweldcare](https://wordpress.org/support/users/expressweldcare/)
 * (@expressweldcare)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/socket-error-on-read-socket-2/)
 * We have been using this plugin for about a month now and today, when clicking
   Products > All Products (Woocommerce) we get this:
 * > [View post on imgur.com](https://imgur.com/EVb918l)
 * 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.
 * > [View post on imgur.com](https://imgur.com/rzyOSnz)
 * Here are the diagnostics:
 *     ```wp-block-code
       Status: ConnectedClient: PhpRedis (v6.1.0)Drop-in: ValidDisabled: NoPing: 1Errors: []PhpRedis: 6.1.0Relay: Not loadedPredis: 2.1.2Credis: Not loadedPHP Version: 8.3.15Plugin Version: 2.5.4Redis Version: 6.0.16Multisite: NoMetrics: EnabledMetrics recorded: 461Filesystem: WritableGlobal Prefix: "wp_"Blog Prefix: "wp_"Timeout: 1Read Timeout: 1Retry 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](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/socket-error-on-read-socket-2/#post-18235519)
 * Every time you access that page you get a read timeout? Try bumping `WP_REDIS_READ_TIMEOUT`
   higher.
 *  Thread Starter [expressweldcare](https://wordpress.org/support/users/expressweldcare/)
 * (@expressweldcare)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/socket-error-on-read-socket-2/#post-18236094)
 * Yes, the error happens everytime I select the All Products page.
 * I have added this code to wp-config:
 *     ```wp-block-code
       // reasonable connection and read+write timeoutsdefine( 'WP_REDIS_TIMEOUT', 5 );define( 'WP_REDIS_READ_TIMEOUT', 5 );
       ```
   
 * > [View post on imgur.com](https://imgur.com/a/p1OHARz)
 * 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](https://wordpress.org/support/users/expressweldcare/)
 * (@expressweldcare)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/socket-error-on-read-socket-2/#post-18236282)
 * 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)

The topic ‘Socket error on read socket’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

## Tags

 * [object-cache](https://wordpress.org/support/topic-tag/object-cache/)
 * [redis](https://wordpress.org/support/topic-tag/redis/)

 * 3 replies
 * 2 participants
 * Last reply from: [expressweldcare](https://wordpress.org/support/users/expressweldcare/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/socket-error-on-read-socket-2/#post-18236282)
 * Status: resolved