upstream timed out (110: Connection timed out) while reading response header from upstream.

Thomas Ward teward at thomas-ward.net
Thu Sep 24 17:05:31 UTC 2020


Your PHP backend is the problem.  The PHP side of things is triggering a
warning that it's executing too slowly, and that requires you to alter
your PHP settings (which is not an NGINX thing) to accept a longer
execution time on your scripts.


Thomas

On 9/24/20 12:46 PM, Kaushal Shriyan wrote:
> ==> /var/log/php-fpm/error.log <==
> ...
> [23-Sep-2020 08:37:30] WARNING: [pool www] child 12015, script
> '/var/www/html/motest/devportal/web/index.php' (request: "POST
> /index.php?_wrapper_format=drupal_ajax") executing too slow (3.733207
> sec), logging
> ...
> ==> /var/log/nginx/error.log <==
> 2020/09/23 08:38:26 [error] 12035#0: *1 upstream timed out (110:
> Connection timed out) while reading response header from upstream,
> client: 157.45.28.7, server: dev-portal.motest.net
> <http://dev-portal.motest.net>, request: "POST
> /admin/config/development/performance HTTP/1.1", upstream:
> "fastcgi://unix:/run/php-fpm/www.sock", host: "dev-portal.motest.net
> <http://dev-portal.motest.net>", referrer:
> "https://dev-portal.motest.net/admin/config/development/performance"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20200924/9fb19b6b/attachment.htm>


More information about the nginx mailing list