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

Hello,

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)
/en/wp-admin/admin-ajax.php:1

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

Thanks
Marco
fabbrichetta
 
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

Hi,

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.
Regards,

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
Yana
 
Posts: 4512
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

2GLux
cron