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

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.

QUESTIONS:
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;

Regards,

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
sends
what packet in which order.



regrads,


mex

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,249320,249365#msg-249365
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.