Forum: NGINX 499 in a proxy environment and short execution php scripts

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D40f05c75ac0efa51d618fe68fad29bd?d=identicon&s=25 Alex Findale (Guest)
on 2014-04-16 00:55
(Received via mailing list)
Hello Nginx

Before writing this I have checked the meaning of the 499 error code as
result of that the client closed the connection before the server
answered the request. Thats clear as water.

PROBLEM: Iam measuring the execution time of the requests, and I see
that in general for all sites clients are generating 499 errors with
different php scripts whose execution is under 1 second.

a.) I would totally understand this behaviour in scripts that take more
than a few seconds but why would i see so many 499s for quick scripts?

b.) Would it be possible that my proxy setup would be causing premature
499 as explained? I have :

client_body_timeout 10;
client_header_timeout 10;
keepalive_timeout 15;
send_timeout 10;
proxy_connect_timeout 15;
proxy_send_timeout 60;
proxy_read_timeout 60;


Alex F
2974d09ac2541e892966b762aad84943?d=identicon&s=25 mex (Guest)
on 2014-04-17 14:12
(Received via mailing list)
maybe you should capture the traffic with wireshark to see which party
what packet in which order.



Posted at Nginx Forum:,249320,249365#msg-249365
This topic is locked and can not be replied to.