Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues updating the WPML and String Translation plugins and encountering a 'Connection error: Unable to get data from service. Detailed error: cURL error 28: Connection timed out after 10002 milliseconds', this might be due to your hosting provider blocking certain necessary URLs.
Solution:
First, check if there are any red X-ses indicating blocked URLs in WPML > Support > Installer support by clicking the "check" button. If you find any, contact your hosting provider to ensure the following domains are not blocked:
- wpml.org
- cdn.wpml.org
- api.wpml.org
- api.toolset.com
- cloudfront.net
Persist with your hosting provider if the issue continues, as they may need to whitelist these addresses. You can find more details on this issue in our documentation here.
If the issue remains unresolved, you can manually update the plugins. First, create a full backup of your website. Then, deactivate and delete the current plugins. Download the latest versions manually from this link, selecting 'Download WPML manually'. Finally, go to your website's backend > Plugins > Add new > Upload plugin, and install and activate each plugin one by one.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket here.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 5 replies, has 1 voice.

Last updated by Mihai Apetrei 4 months, 3 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
February 12, 2025 at 1:19 am #16693885

elizabethH

Background of the issue:
I am trying to update the WPML and String Translation plugins but am receiving an error. I expected to see the updated plugin.

Symptoms:
Connection error: Unable to get data from service. Detailed error: cURL error 28: Connection timed out after 10002 milliseconds.

Questions:
Why am I receiving a connection error when updating WPML?
How can I resolve the cURL error 28?

February 12, 2025 at 8:11 am #16694409

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Before this ticket gets assigned to one of my colleagues, I will try to help.

On WPML > Support > Installer support > can you please let us know if you see two green check icons at the top after you click the "check" button? Or are there any red X-ses instead of the green check icons?

If there are any red X-ses, can you please get in touch with your hosting provider making sure that these domains are not blocked?

– wpml.org
– cdn.wpml.org
– api.wpml.org
– api.toolset.com
– cloudfront.net

Curl error 28 is also mentioned in our documentation here:
https://wpml.org/faq/wpml-plugin-cannot-connect-to-wpml-org/

I can see that your site is hosted on GoDaddy. We had multiple clients who said GoDaddy support told them everything was fine, but we encouraged them to insist on requests until they resolved the issue because that error was coming from the hosting provider.

There might be a block there, and the hosting provider needs to resolve this.

Please let us know how things go.

Mihai Apetrei

February 12, 2025 at 1:54 pm #16697082

elizabethH

Hello, There are Two red x's. I have been on with GOdaddy. They do not see any blocked urls. This issue is only occuring with WPML.
I have not had this issue with any other of my websites. As you can see in my account, I manage quite a few.
If you could kindly advise how I can bypass this issue.. Or if you are able to access my site, please have a look.

And because this site is on a shared server, I am unable to access the root folder.

Much appreciated.

February 12, 2025 at 4:15 pm #16697819

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there, and welcome back.

I am very sorry for the current situation and understand how it feels.

However, I have also checked with our systems team, and I can confirm that this issue is not coming from our end. We see no signs of your site trying to connect with our System, so we're 100% sure that your hosting provider is blocking the connection.

As I mentioned above, there have been multiple situations in which customers needed to insist on GoDaddy support until they fixed the issue.

The fact that we see those two red Xses is also a confirmation.

Probably, they have different supporters, and not all of them are aware of the blocks.

If there were something that could have been done on our end, I would have gladly resolved this for you in a second 🙂

I hope this brings a bit more clarity to the situation.

Mihai Apetrei

February 13, 2025 at 5:57 pm #16704021

elizabethH

SO how do you recommend I update the plugins then?

February 13, 2025 at 6:51 pm #16704185

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there, and welcome back.

I recommend that you keep insisting on the support so that they resolve this and whitelist those addresses. It is not normal for you to go through manual updates just because they are unwilling to look into and fix the situation.

You can follow a manual update procedure.

For updating the plugins manually:

You can first create a full website backup and then remove the plugins completely (deactivate and delete) > then manually download the latest version from here (https://wpml.org/account/downloads/ - select "Download WPML manually" then download all the plugins and add-ons that you need) > then go to your website's backend > Plugins > Add new > Upload plugin > then upload and install + activate each of the plugins, one by one.

Please let me know how things go.