Skip Navigation

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

Problem:
The client was experiencing connectivity issues with the WPML and Toolset plugins, which could not connect to their respective servers. The error message indicated a potential DNS resolution issue or a problem with the WordPress REST API.

Solution:
1. We advised the client to check with their hosting provider to ensure that specific IPs crucial for WPML's functionality are resolving correctly. The IPs to check are:
d7j863fr5jhrr.cloudfront.net: 13.33.123.118
cdn.wpml.org: 52.85.213.119
api.wpml.org: 54.221.250.24
api.toolset.com: 34.193.222.18
If not resolving, the hosting provider may need to manually add these IPs to the /etc/hosts file.

2. We confirmed that the WordPress REST API is enabled on the client's site, correcting a previous false positive. We recommended checking if any plugins might be affecting the API's functionality, particularly those related to security or firewalls.

3. We suggested reviewing Cloudflare settings to ensure they are not impacting API connectivity, as the client's site traffic goes through Cloudflare.

Ultimately customer confirmed that a site's configuration within Cloudfare CDN was causing the issue.

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.

Our next available supporter will start replying to tickets in about 6.89 hours from now. Thank you for your understanding.

This topic contains 17 replies, has 2 voices.

Last updated by Mateus Getulio 8 months ago.

Assisted by: Mateus Getulio.

Author Posts
January 30, 2024 at 2:04 pm #15244183

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Julien,

Thank you for the updates and for working with your hosting provider to help us getting this fixed.

1- DNS Resolution and IP Whitelisting: It's good to hear that the DNS resolution for the required domains is functioning correctly, and there are no blocks on the IPs essential for WPML. This helps us focus on other potential causes of the issue.

2- WordPress REST API: I wanted to clarify that upon further testing on our end, we've found that the WordPress REST API is indeed enabled on your site. The previous warning appears to be a false positive. Therefore, you can set aside concerns regarding the REST API as a source of the problem. However, it's still worth checking if any plugins (such as aios-firewall-loader) might be affecting the API's functionality overall.

3- Cloudflare Configuration: Since your site's traffic goes through Cloudflare, and considering there's a separate Cloudflare account involved, it’s possible that Cloudflare's settings could be affecting the API connectivity. Please review any Cloudflare settings that might impact communication with our servers.

Your host's effort in contacting Cloudflare and their ongoing investigation is of big help. Their assistance remains important in addressing items that may fall outside the scope of our plugin.

Do not hesitate to reach out if you have any more questions or require additional support from our side.

Best Regards,
Mateus

January 30, 2024 at 10:52 pm #15246789

julienB-61

I think the issue was solved with the Host.
We had to remove the duplicate Cloudflare between the domain and the server.
The error message disappeared.
Thanks a lot for the support! 🙂

January 31, 2024 at 7:23 pm #15251418

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Glad to know the issue has been fixed, thank you for sharing it with us!

I hope we are good to close here.

Feel free to contact us any time if you need assistance with our products.

Best,

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