• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue 504 nginx on a fat request.

emmanuelautin

New Pleskian
Hi,

I'm facing a 504 nginx error in a prestashop website hosted in plesk onyx.
Im' with PHP 5.6 FastCgi

The errors in the apache / nginx logs :

  1. upstream timed out (110 : Connection timed out) white reading response header from upstream
  2. mod_fcgid: read data timeout in 120 seconds
  3. End of script output before headers :
I improve the max_execution_time to 120 in php settings.
I add additional directive to apache :

<ifModule mod_fcgid.c>
FcgidIOTtimeout 120
</ifModule>

What i read i shoud do

Add nginx directive :

proxy_connect_timeout : 180s
proxy_send_timeout : 180s
proxy_read_timeout: 180s
fastcgi_send_timeout: 180s
fastcgi_read_timeout: 180s

But i think it will override the nginx native conf and then apache can't restart at all, (i have this issue on othe plesk production serveur)

The bugs appears only in a large request / in a prestashop module.

Any advice is appreciated,

Thanks alot.
 
Back
Top