Skip Navigation

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

Problem:
problem of lags cause of our proxy
Solution:
https://wpml.org/forums/topic/problem-of-lags-cause-of-our-proxy/#post-13583051

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 2 replies, has 2 voices.

Last updated by dsinU 1 year, 8 months ago.

Assisted by: Bruno Kos.

Author Posts
May 3, 2023 at 2:21 pm #13579529

dsinU

Hello,

I am using the plugin on a wordpress set on one of my server localized in my university network.

My university use a proxy.

My wordpress ( in the wp-config.php ) and the server ( by "export https_proxy" ) are config for this proxy...
But somehow the plugin is still trying to communicate directly with ate.wpml.org
This cause biiiig bigg lags on the website, overall when navigating in dashbord parts, due to connexion timed out, even with having deactivated all other plugings ; ( I checked lags goes off if wpml is desactivated ).
This is definitively due to the fact wpml try to use curl directly without using our proxy ( see image joined )

The university does not agree to "open the firewall" and sadly it seems there is no way to set up a proxy in your plugin and it seems that it doesn't use the " define('WP_PROXY_HOST and define('WP_PROXY_PORT' " of wordpress wp-config.php... 🙁

Do you have any way to help with this ? a way to put a " $options[CURLOPT_PROXY] in your plugin " or anything ?

Thanks in advance 🙂

Séverine

Screenshot 2023-05-03 at 16-03-58 Protocoles d'erreurs de l'éditeur de traduction avancé ‹ — WordPress.png
May 4, 2023 at 6:46 am #13583051

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Thank you for contacting WPML support!

Can you tell me if the scenario you want is to keep using Advanced Translation Editor? Because if you disable it (e.g. use manual translation mode) a number of calls may be reduced.
https://wpml.org/documentation/support/rest-api-dependencies/

Regards,
Bruno Kos

May 5, 2023 at 7:11 am #13591089

dsinU

My issue is resolved now. Thank you so much !

The lags magically gone 🙂
Advanced Translation Editor seems nice but I think I can do without it, at least for the moment ^^
Regards
Séverine