Welcome! Log In Create A New Profile

Advanced

Strange status 500 with empty response

Carlos Eduardo Ferreira Rodrigues
May 27, 2015 01:06PM
Hi,

Since upgrading to nginx 1.8.0, we started seeing some requests being logged with status 500 and a response of 0 bytes ($bytes_sent). Not many, only one for about 36000 requests.
I've been trying to reliably reproduce this and/or figure out the cause without success, at least to know if this is an nginx bug or some module's. Any ideas or suggestions of how I can go about doing this?

These requests use proxy_pass (with cache) and header_filter_by_lua, so I've been able to figure out some things for these failed requests:

* They are always a cache hit;
* Headers created by the Lua code are correctly logged with $sent_http_*;
* Errors in Lua code result in status 500 with a non-empty response (our custom error page);

Also, the error log shows nothing along with these errors.

Thanks in advance,

--
Carlos Rodrigues

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Strange status 500 with empty response

Carlos Eduardo Ferreira Rodrigues 713 May 27, 2015 01:06PM

zero size buf in output

Carlos Eduardo Ferreira Rodrigues 547 May 29, 2015 06:26AM

Re: zero size buf in output

Maxim Dounin 513 June 01, 2015 11:40AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 280
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready