Skip Navigation

[Resolved] Update Failed: Download failed. cURL error 28: Operation timed out after 300000

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Tagged: 

This topic contains 7 replies, has 4 voices.

Last updated by Beda 4 years, 4 months ago.

Assigned support staff: Shane.

Author
Posts
#427177

I am trying to: update Views to v2.1 using WP auto update
I expected to see: update completed

Instead, I got: Update Failed: Download failed. cURL error 28: Operation timed out after 300000 milliseconds with 5899400 out of 5904076 bytes received (note other plugins update OK but not VIEWS this version)

I tried to increase the memory allowed for admin tasks in my wp-config.php file with:
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
but no effect.

any other suggestions aside from manual update to allow auto update to proceed?
many thanks, Martin

#427208

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

Thank you for contacting our support forum.

It seems the issue here is that the download has timed out.

In this case I would recommend that you do a manual update. To do this please go to the link below and download the plugin files.
https://toolset.com/account/downloads/

To install a WordPress Plugin manually:

1 Download your WordPress Plugin to your desktop.
2 If downloaded as a zip archive, extract the Plugin folder to your desktop.
3 Read through the "readme" file thoroughly to ensure you follow the installation instructions.
4 With your FTP program, upload the Plugin folder to the wp-content/plugins folder in your
5 WordPress directory online.
6 Go to Plugins screen and find the newly uploaded Plugin in the list.
7 Click Activate to activate it.

Please let me know if this helps.
Thanks,
Shane

#427210

Thanks, Shane but as I said I'm looking for the auto-update to work. It is a pain to do it manually. Can't we find a way to prevent timeout? How come it used to work and doesn't with the 2.1 update?

thanks again for your help,
Martin

#427221

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

To increase the time that your server is allowed to keep a download live you will need to contact your hosting provider.

You can contact them and show them this error and they should be able to help you increase the time.

Thanks,
Shane

#430897

Hi Shane
I don't think the problem is the 5 minute timeout limit. The Views plugin used to update just fine and now only the Types plugin updates automatically (along with all my other plugins). Note that the download is almost completed in each failed case regardless of its size, suggesting a communication issue rather than actual timeout issue.

All my other plugins update successfully and have never had an issue.

I'm wondering about the use of the cURL function in the Toolset plugins. Check out this warning here: hidden link

Please discuss this with your developers,
many thanks
Martin

Here is my latest plugin update success/fail list:
Updating Plugin Simple Download Monitor (1/8)
Simple Download Monitor updated successfully. Show Details
Updating Plugin Slim Stat Analytics (2/8)
Slim Stat Analytics updated successfully. Show Details
Updating Plugin Toolset Framework Installer (3/8)
Downloading update from https://toolset.com/?download=16348&version=2.0.3&site_key=j7T9JkdrPy&site_url=https://mr.math.ca…
An error occurred while updating Toolset Framework Installer: Download failed. cURL error 28: Operation timed out after 300001 milliseconds with 459912 out of 464651 bytes received
Updating Plugin Toolset Layouts (4/8)
Downloading update from https://toolset.com/?download=206963&version=1.8.3&site_key=j7T9JkdrPy&site_url=https://mr.math.ca…
An error occurred while updating Toolset Layouts: Download failed. cURL error 28: Operation timed out after 300000 milliseconds with 24118408 out of 24123720 bytes received
Updating Plugin Toolset Module Manager (5/8)
Downloading update from https://toolset.com/?download=73914&version=1.6.6&site_key=j7T9JkdrPy&site_url=https://mr.math.ca…
An error occurred while updating Toolset Module Manager: Download failed. cURL error 28: Operation timed out after 300000 milliseconds with 3179656 out of 3186176 bytes received
Updating Plugin Toolset Types (6/8)
Toolset Types updated successfully. Show Details
Updating Plugin Toolset Views (7/8)
Downloading update from https://toolset.com/?download=308&version=2.2&site_key=j7T9JkdrPy&site_url=https://mr.math.ca…
An error occurred while updating Toolset Views: Download failed. cURL error 28: Operation timed out after 300001 milliseconds with 6653064 out of 6663840 bytes received
Updating Plugin UpdraftPlus - Backup/Restore (8/8)
UpdraftPlus - Backup/Restore updated successfully. Show Details

#430932

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

The issue seems to a problem on our side with our servers and its affecting some of our customers causing them not to be able to update.

What I recommend that you do is to perform a manual update of the plugins .

Thanks,
Shane

#433829

Exactly the same problem for over 20 live websites. Manually updating will be two days work and will require downtime of over 1 hour on each of my client's sites.

Is there any news on a fix at your end for this, please?

#906761

We may have found the reason for the cURL issues.

- outdated cURL library on the hosting server, my suggestion would be to check on this with the hosting provider and upgrade to a version of cURL that has TLS if not done.
- Increase timeout limit

We are investigating as well with other users if this helps.

Please open new tickets if you still experience this issue