504 timeout calling a custom function

Popular automatic website translation tool

504 timeout calling a custom function

Postby fabbrichetta » Wed Nov 28, 2018 2:34 pm


my woocommerce-based website use a custom ajax function that requires a lot of time to respond (up to 5 minutes). Basically, the functions creates a custom product and refresh the page. In translated version the product is created but the page does not refresh

We get this error:

Failed to load resource: the server responded with a status of 504 (Gateway Time-out)

Is there a setting for this kind of issue? Something that prevents this timeout

Posts: 14
Joined: Sun Feb 05, 2017 7:24 pm

Re: 504 timeout calling a custom function

Postby Yana » Tue Dec 04, 2018 10:46 pm


The request time should be less than 15 seconds. Unfortunately we cannot change it. You will need to speed up the page.
You can try to skip translation by using class="notranslate nturl" for that page or add page link in https://my.gtranslate.io/settings SKIP TRANSLATION OF PAGES section.

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Posts: 4547
Joined: Thu Jan 12, 2012 6:21 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests