Thread Starter
c0mm
(@c0mm)
At the top of screen in backend when I try to import or rebuild thumbnails.
Site is unreachable or an error occurred. Batch processing will not function. If you are using basic authentication, you may need to disable it. Error message was: cURL error 28: Operation timed out after 1001 milliseconds with 0 bytes received
Thread Starter
c0mm
(@c0mm)
TEST BULK IMPORTER
Your WordPress server configuration does not support background processing. The bulk importer will not work.
What do I have to do about it?
Thread Starter
c0mm
(@c0mm)
So, if the plugin is alone, everything is going great. If I activate any big plugin, e.g. WooCommerce, or a lot of small plugins, the error comes up.
Thread Starter
c0mm
(@c0mm)
wp-content/plugins/ilab-media-tools/classes/Tasks/BatchManager.php
public function testConnectivity()
…
$args = [
‘timeout’ => 10,
…
I changed 0.01 to 10 and now it works perfectly
Great find!
The latest version has two new settings related to this.
One of them lets you specify the timeout (like you’ve done above in code). You should use the setting because any updates to the plugin will wipe out what you’ve done.
The other setting in the Storage Settings page allows you to turn off background processing and do the import on the client side. Note, if you do have background processing turned off, you must keep the importer page open as the page is managing the import process instead of the server.