
Problem: #
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.)
Cause: #
This particular error message is generated by the LiteSpeed web server (a faster replacement for Apache). It has a special feature whereby it cancels long-running scripts (even those that use set_time_limit()
).
This happens if you have long running PHP scripts or due to Badly written PHP code.
Resolution : #
You may consider to override the Litespeed feature that cancels long running process.
To disable this, you need to put the following code snippet in your .htaccess
file in the root of your site.
Put the code at the top of your file
RewriteEngine On
RewriteRule .* - [E=noabort:1]
RewriteRule .* - [E=noconntimeout:1]
This solution applies to any PHP SITEs (WordPress, Joomla, Custom Scripts, Custom Sites) running on Litespeed Webserver.

NOTE: The resolution provided above is for servers using Litespeed Webserver.