Skip Navigation

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.

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

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 13 replies, has 2 voices.

Last updated by Christopher Amirian 8 months ago.

Assisted by: Christopher Amirian.

Author Posts
September 9, 2024 at 10:10 am

cornelM-2

Background of the issue:
I chattet before about this problem: https://wpml.org/forums/topic/curl-error-28-failed-to-connect-to-downloads-cdn-wpml-org-port-443-after-10000-ms-timeout-was-reac/. I have now asked the poster to whiteliste as requested:

Shekhar Bhandari : Could you kindly reach out to your hosting provider and inquire whether the following URLs are on the whitelist?
- wpml.org
- cdn.wpml.org
- api.wpml.org
- d2salfytceyqoe.cloudfront.net
- ate.wpml.org
- ams.wpml.org

The hoster's answer is:
Please ask WPML which IP address is used to access the server. Whitelisting for IP addresses is not offered on a shared hosting system.

Can you please provide the IP address?

Symptoms:

Questions:
Can you please provide the IP address?

September 9, 2024 at 10:27 am
September 9, 2024 at 10:29 am #16155241

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

It seems that the chat is disconnected. I turned the chat to a ticket.

I will setup the copying requirements and then initiate the copy.

The copying process may take a while.

I will get back to you as soon as the copying is finished

September 9, 2024 at 10:34 am #16155270

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

The copying process is started and you can check the process here:

hidden link

September 9, 2024 at 10:47 am #16155427

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The website copy is finished. Unfortunately, I lost the URL that I was supposed to use to access the dashboard.

The link to the copied website is:

hidden link

May I know the URL that I need to use to access the dashboard again?

Thanks.

September 9, 2024 at 11:37 am #16155900

cornelM-2

The url to access is hidden link

September 9, 2024 at 11:50 am #16155958

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thank you. I checked and the communication seems to be ok after re-registering WPML.

Please follow the steps below:

- Make sure that you are logged in wpml.org.
- Go to "WordPress Dashboard > Plugins > Add New > Commercial (Tab)".
- Click the "Unregister" link to unregister WPML. (it will not affect your current translations.)
- Click the "Register WPML" at the right section of the screen.
- Click the "Get a key for this site" link annotated in the screenshot below.
- A new page will open up and the auto-generated key will show in pop-up.
- Copy the key and paste it into the "Site Key" input box annotated in the screenshot below.
- Click the "OK" button.

Screenshot:

hidden link

For more information:

https://wpml.org/faq/install-wpml/#register

Thanks.

September 9, 2024 at 12:03 pm #16156044

cornelM-2

Before I de-register: When I go to Plugins/Add new there is a warning on this page: «Undefined array key "localization" in /home/httpd/vhosts/skoenig.ch/emmavonzermatt.ch/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-wp-installer.php on line 2692».

I don't have a toolset.com-Account, only one for wpml. Do I have to create a login there?

September 9, 2024 at 12:09 pm #16156048

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

No need. Following the steps mentioned should fix the issue as I did the same and it worked in the copied website:

hidden link

Thanks.

September 9, 2024 at 12:22 pm #16156236

cornelM-2

Ok, thanks a lot. I did as written above, de-register, got the key, inserted the key again. Now I tried to update the plugin again – no success, still cURL error 28 (failed to connect to downloads.cdn.wpml.org port 443 after 1000ms: Timeout was reached). This is a hard one... sorry.

September 9, 2024 at 12:28 pm #16156258

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

As a test I removed the key and used my key on your website to see the result and the error is still there.

Now if you check the copied website which has exactly the same codebase it works with no problem.

That confirms your hosting service provider blocks the URLs my colleague mentioned and that is the problem.

What I can suggest at this time is to update WPML manually:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Make sure you are signed in wpml.org.
- Go to https://wpml.org/account/downloads/
- Click the "Download WPML manually" link to show the rest of the plugins on the page.
- Download the latest version of the WPML and its add-ons.
- Install them manually on your website using the method below:
https://wpml.org/faq/updating-wpml-manually/

But please consider that the normal functionality of WPML also might be affected as your hosting service provider blocks the necessary URLs for WPML to function.

Thanks.

September 9, 2024 at 1:50 pm #16156945

cornelM-2

I was now able to update (some) of the plugins. But something went wrong...
I have now a banner on the frontend (!) at the bottom: This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner. When I check my wpml account, it's NOT a development site.
On the wpml account site, it says that «WPML String Translation» is not up-to-date. But in WordPress, it's version 3.2.12.
Another error message comes up for the sites Datenschutz / Impressum / AGB (bottom menu):
Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/httpd/vhosts/skoenig.ch/emmavonzermatt.ch/wp-includes/formatting.php on line 3494 Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/httpd/vhosts/skoenig.ch/emmavonzermatt.ch/wp-includes/formatting.php on line 3494
By the way: the support of our hoster said that Nothing is blocked (and we also have sites with WMPL on the same server with no problem so far) – so I really don't know how where the problem is!

How can I get rid of these two warnings in the frontend?

September 9, 2024 at 2:01 pm #16156998

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The first one is most probably because the key is the one I used for a test. Please unregister WPML and use your key.

Sorry for the inconvenience.

The Deprecation message does not seem to be related to WPML but in any case you can always turn off the deprecation messages by adding the code below to config file of your WordPress installation:

Would you please access your website files and edit the "wp-config.php" file on the root folder of your WordPress installation and add the code below into the file:

define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

By the way the deprecation message means that a function will not work in future versions of PHP but it has no impact when it comes to current version you use.

Finally, as mentioned the same thing with exact code base works on the copied website and does not work on your hosting service. That shows there is a problem on the hosting, and most probably it is a blocking or firewall as the error message clearly states that.

We do not have any expertise or tools to check what might go on your server that cause the issue.

Thank you for your understanding.

September 9, 2024 at 2:21 pm #16157078

cornelM-2

The site is now broken completely. I must try to restore it... I guess we will not be able to update this site. I will get in touch with you again as soon as I have restored everything..

September 10, 2024 at 2:09 pm #16162062

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Sure. Just to make sure we are on the same page the cURL error that you opened this ticket for is caused by your hosting service provider as we demonstrated.

Thank you.

The topic ‘[Closed] cURL error 28: Failed to connect to downloads.cdn.wpml.org port 443 after 10000 ms: Timeout was reac…’ is closed to new replies.