Introduction
An Error 524 indicates that a successful connection (TCP) was made to your web server, but the server did not send an HTTP response before the connection timed out. If you use Cloudflare, they typically wait 100 seconds for a response. If your server takes longer than that to process a request, Cloudflare closes the connection and displays this error.
Problem
You will see this error message when:
Your website displays "Error 524: A timeout occurred".
Large data exports or synchronizations (common in WooCommerce) take too long for the server to process.
The server is overwhelmed by too many simultaneous requests.
How to solve
There are two main ways to resolve a 524 error:
Optimize your WordPress installation:
Update PHP: Ensure you are using a modern version of PHP (at least 8.1 or 8.2) for better performance.
Disable unnecessary plugins: Audit your active plugins and disable any that are not essential to reduce server load.
Increase the Max Execution Time:
The Max Execution Time defines how long a script is allowed to run. If a task (like a product sync) takes longer than the current limit, the server kills the process.
You can attempt to increase the PHP time limit yourself, but it is often restricted by hosting providers.
Recommendation: Contact your hosting provider and ask them to increase the
max_execution_timefor your account.
Canβt figure it out? You can always send a message to the support team via the chat bubble at the bottom right π Support to the rescue π¨βπ» π©βπ»
