[error] 18#18: *72 upstream timed out (110: Connection timed out)

Francis Daly francis at daoine.org
Fri May 29 23:42:15 UTC 2020


On Sun, May 24, 2020 at 12:20:27PM -0400, rodrigobuch wrote:

Hi there,

> I have received this error whenever I try to generate large reports with my
> App in PHP.

What request do you make?

(As in: which part of your config is used for this request?)

When do you receive the error?

(Is it exactly 60 seconds after making the request, for example?)

And: how long does it take for the App to generate the report?

(As in: how long would you like nginx to wait before deciding that the
upstream is probably broken?)

> location.conf
> server {

>   location / {
>     proxy_pass http://prd_exemple_teste;

>     proxy_read_timeout 60s;

Maybe make that bigger than 60s.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list