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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Kor 9 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
July 12, 2024 at 9:16 am #15941260

rebeccas-19

Background of the issue:
We have a site on wpengine, its ecommerce. I'm getting error timeout 524 or bad gateway 502 when trying to access all products. I spoke to wpengine and they advised 'but there is something within the plugin that is taking over 100 seconds to load so this would be getting killed by cloudflares long process killer and would be killed by ours too. There wouldn't be a way for us to disable this as it can cause high server load and further errors'. - Its a custom theme.

Symptoms:
Error timeout 524 or bad gateway 502 when trying to access all products.

Questions:
How can I resolve the timeout 524 or bad gateway 502 errors?
Is there a way to optimize the plugin to prevent long load times?
Are there any specific settings in WPML that could be causing this issue?

July 12, 2024 at 11:50 am #15942201

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for reaching us. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

July 12, 2024 at 1:17 pm #15942774

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked and I can access all your products without issues. Could you list the steps to replicate the issue?

Screenshot_69.png
July 15, 2024 at 9:57 am #15953376

rebeccas-19

Hi, thank you for your reply, Apologies I should have given more detail, so on the front end I can access all products no problem, however in the wordpress admin i.e. hidden link then I get a timeout issue.

The second language does load, but there isn't as many products (However there is only about 90 products on the default language.

Sometimes I can load the page, but most of the time it doesn't. (I can still edit individual products by clicking edit on the front end.

wpml-issue-15072024.png
July 15, 2024 at 3:59 pm #15955554

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I've reviewed the link you provided, and it appears to be functioning properly after refreshing several times. However, I did experience a single crash, which I believe is due to the insufficient WordPress Memory Limit, as indicated here: hidden link

Could you please contact your hosting provider and ask them to increase this value for you? Then, retry and let me know how it goes.

The topic ‘[Closed] Wpengine & Cloudflare error timeout 524 or bad gateway 502’ is closed to new replies.