Skip Navigation

[Resolved] Update Failed: Download failed. cURL error 28

This support ticket is created 7 years, 6 months 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 15 replies, has 2 voices.

Last updated by martinE-4 7 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#441579

I reported this problem a few weeks ago and was told toolset servers were the problem. (only Toolset Types updates successfully, Framework Installer, Views, Layouts, Module Manager all fail with same error. (cURL error 28: Operation timed out after 300000 milliseconds)

When will it be fixed? I want to update to the latest version without the hassle of manual update. Sorry to keep asking but it is rather inconvenient. Many thanks for checking up on this for me. Can we keep this thread open until it is resolved please? Otherwise I have to keep reposting every few weeks.

#441683

Shane
Supporter

Languages: English (English )

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

Hi Martin,

Thank you for contacting our support forum.

You should be able to update normally now as the problem should've been resolved.

The thread will remain open as long as you update it at least once a month.

Thanks,
Shane

#441694

No, that is why I just posted again today. I've tried again just now but the problem persists. Please ask why. Wp-Types auto updates fine, but the other Toolset ones do not. All my other 3rd party plugins are fine. It is just these Toolset plugins that won't do auto update.
thanks
Martin

#442835

Shane
Supporter

Languages: English (English )

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

Hi Martin,

I'm checking with the team as we speak right now.

I see where this is a known issue what I would like is for you to provide me with admin access to the website so I can investigate the issue.

After which I will escalate your ticket to our second tier supporters.

The private fields have been enabled.

Thanks,
Shane

#444949

Shane
Supporter

Languages: English (English )

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

Hi Martin,

Thank you for the credentials but I wasn't able to access the site, is it located on a private server?

Please let me know.

Thanks,
Shane

#444987

It's a private server held in Ottawa, Canada and maintained by the Canadian Mathematical Society. Did you get the private key I sent in the folder field for the FTP info before?
Martin

#445388

Shane
Supporter

Languages: English (English )

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

Hi Martin,

I'm not able to access the website itself.

Do i need to add something to my Host file in order to access? Our second tier supporters are also getting involved and want to have a look at this as well.

Thanks,
Shane

#445391

Shane
Supporter

Languages: English (English )

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

Also if possible I would highly advise setting up a test site for this.

Thanks,
Shane

#445448

Hi Shane
Ok, I'll work on getting a test site up and get back to you.
thanks
martin

#445467

Shane
Supporter

Languages: English (English )

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

Hi Martin,

Awesome, I'll enable the private fields and you can respond once the site and credentials are ready.

Thanks,
Shane

#446313

Shane
Supporter

Languages: English (English )

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

Hi Martin,

Could you please try adding this to the functions.php file ?

   //adjustments to wp-includes/http.php timeout values to workaround slow server responses
    add_filter('http_request_args', 'toolset_support_http_request_args', 100, 1);
    function toolset_support_http_request_args($r)
    {
        $r['timeout'] = 400;
        return $r;
    }

    add_action('http_api_curl', 'toolset_support_http_api_curl', 100, 1);
    function toolset_support_http_api_curl($handle)
    {
        curl_setopt($handle, CURLOPT_CONNECTTIMEOUT, 400);
        curl_setopt($handle, CURLOPT_TIMEOUT, 400);
    }

If this works then I would like for you to ask the hosting company to increase the timeout.

Thanks,
Shane

#446317

Shane
The site is down (all blank). Can you help me fix it? Something you did...
Martin

#446318

Shane
Supporter

Languages: English (English )

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

Hi Martin,

No we weren't able to access the website so no editing or changes were made on the site.

Thanks,
Shane

#446319

Shane
Supporter

Languages: English (English )

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

Hi Martin,

When I go to the site I'm getting an error 500 so our team wasn't able to access the website at all to do any changes .

There could be something is the server logs that could help. Maybe an auto update ?

Thanks,
Shane

#446454

Thanks. Site is up again. Minor issue with Slimstat plugin. Seems in the last few days they had an error which caused many sites to get the white screen of death. Anyways, all fixed. I'm trying the functions.php edit you asked about to test the longer timeout. I'll let you know in a few minutes if it worked.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.