Skip Navigation

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

Problem:
An error appears, indicating the WPML can not load configuration files.

At WPML > Support > Installer Support you might see errors like this:

1. http_request_failed
2. cURL error 56: Recv failure: Connection reset by peer

Solution:
Please contact your hosting provider and ask them to whitelist the following:

- wpml.org
- cdn.wpml.org
- api.wpml.org

If you still have issues:

Make sure that the PHP cURL extension is currently configured and updated on your server. In doubt, contact your hosting service so they can update the cURL extension to the latest version and they will also need to allow SSLV3.

Relevant Documentation:
https://wpml.org/home/minimum-requirements/

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.

This topic contains 1 reply, has 2 voices.

Last updated by Dražen 4 years, 3 months ago.

Assisted by: Dražen.

Author Posts
February 14, 2021 at 2:35 am #8078331

andryL-2

Hello I see the error message. the message is WPML could not load configuration files, which your site needs. and:
1. code: http_request_failed
2. message: cURL error 56: Recv failure: Connection reset by peer

and also I attached screenshot on this ticket.

How to resolve this issue?

Screen Shot 2021-02-14 at 09.22.37.png
February 15, 2021 at 10:37 am #8086079

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello!

Welcome to WPML Support.

I'll do my best to help you solve this issue.

Please contact your hosting provider and ask them to whitelist the following:

- wpml.org
- cdn.wpml.org
- api.wpml.org

If you still have issues, since CURL is currently configured in your server I've searched a bit about this error. It seems that it is commonly associated with issues regarding the CURL extension in PHP and how it is configured within the server. You will need to contact your hosting service so they can update the CURL extension to the latest version and they will also need to allow SSLV3 for it.

Even though CURL is present, every hosting company can configure it to allow/disallow specific protocols and encryption protocols. Since we use the PHP default protocols for communication between servers WPML and CURL expect these protocols to be in place.

If they require additional technical information about this error you can direct them to these websites:

- https://stackoverflow.com/questions/54236837/getting-error-curl-56-recv-failure-connection-reset-by-peer
- https://wordpress.org/support/topic/network-curl-error-56-connection-reset-by-p-peer/
- hidden link

Please let me know how it goes and don't hesitate to ask if you find any problem along the way or have doubts or questions about the steps mentioned above, I'll do my best to help you in the best way possible.

Regards,
Drazen