I was getting below while generating backup from BackupBuddy ( in WordPress ) on LiteSpeed server -
Error message -
HTTP Loopback Connections are not enabled on this server or are not functioning properly.
You may encounter stalled, significantly delayed backups, or other difficulties. See details in
the box below. This may be caused by a conflicting plugin such as a caching plugin.
Click for instructions on how to resolve this issue.
Details:
Error #9038:
Loopback test error: `Operation timed out after 8000 milliseconds with 0 bytes received`.
This means that WordPress' built-in simulated cron system cannot function properly,
breaking some WordPress features & subsequently some plugins.
There may be a problem with the server configuration (eg local DNS problems, mod_security, etc)
preventing connections from working properly.
Loopback test error: `Operation timed out after 8000 milliseconds with 0 bytes received`.
This means that WordPress' built-in simulated cron system cannot function properly,
breaking some WordPress features & subsequently some plugins.
There may be a problem with the server configuration (eg local DNS problems, mod_security, etc)
preventing connections from working properly.
Solution :-
The scripts used to timeout on LiteSpeed server after certain time interval. Please add below code in '.htaccess' file -
RewriteRule .* - [E=noabort:1]
RewriteRule .* - [E=noconntimeout:1]
Once you'll add this code, backup will be generated without any error.
Note :- You can add this code for any third party backup applications. ( For Example - Amazon backup, BackWPup etc.)
Let me know if you've any thoughts