Support » Plugin: Redis Object Cache » Some issues with our warehouse program while sending data to WooCommerce

  • Resolved snipsnip

    (@snipsnip)


    Hello,

    I have tried the plugin and it works great for our website with 1 exception.

    We have connected our warehouse program (Windows based .net) with a custom WordPress plugin, in order to update product prices, quantities and everything else from the warehouse program.

    We send post requests with json data once a day for ~7000 products. We are sending the data in batches of 100 products.

    When the redis plugin is active and connected the warehouse program send 524 timeout error randomly after the 1st or 15th batch – so between 100 and 1500 products sent. When the plugin is deactivated there is no such issue.

    Do you have any suggestions how we can fix this error? Any specific redis settings that we should change/add/remove?

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

    (@tillkruess)

    Are you seeing any errors in your PHP error logs?

    524 is a Cloudflare error code, right?

    Thread Starter snipsnip

    (@snipsnip)

    Hello,
    Yes, this is correct- 524 is Cloudflare error. If your process takes more than 100 seconds (1.67 Minutes) then CloudFlare throws this error.
    I don’t understand why it throws the error only when the redis plugin is active and if I can tweak something to make it work. For now we are disabling the plugin manually, sending the data and then enabling it again…

    Plugin Author Till Krüss

    (@tillkruess)

    Make sure to flush the cache after toggling the it.

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