Jump to content

504 Gateway Timeout when importing Language File


Recommended Posts

Hi,

when importing a ~2mb xml language file, my webserver responds after ~2min with a "Gateway Timeout". As a result the language is not 100% imported, only parts of it. I'm running nginx php7.4 fpm and played with the following settings:

 

request_terminate_timeout = 120s
php_admin_value[max_execution_time] = 120

It doesnt seem to matter what I enter there, it always fails around the same time.


Any idea what it could be?

Link to comment
Share on other sites

You would need to contact your hosting company to see what exactly is timing out there. It may well be mysql timeouts, or it could even be hitting a memory limit. I will move your ticket to our hosting forum to see if anyone there has some ideas for you that may be more familiar with nginx environments

Link to comment
Share on other sites

These lines in my nginx configuration have helped to overcome this:

proxy_connect_timeout 180s;
proxy_send_timeout 180s;
proxy_read_timeout 180s;
fastcgi_send_timeout 180s;
fastcgi_read_timeout 180s;

I use Plesk and have a special field, where I can put this. It just a hint, that may help.  I am not a server expert, so do not ask me, how to add it to your server. 😊

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...