Truncated output for css with nginx 1.2
forforums
nginx-forum at nginx.us
Tue May 15 22:35:34 UTC 2012
This is on centos and nginx 1.2.
I have a jetty server in the back and it is https all the way thru.
Intermittently the browser hangs trying to read a css that the app is
using. This file is about 30076 bytes and interestingly it always hangs
at 16104 bytes. Now when I chomp the file down to 6k I have not been
able to reproduce this problem!!
Jetty server returns a 200OK and 30076 bytes, but the logs in nginx
shows
10.23.8.163 - - [15/May/2012:21:53:48 +0000] "GET /app/application.css
HTTP/1.1" 200 16104 "https://loginlab.com/somesite" "Mozilla/5.0
(Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0" "-"
"RC4-SHA" "-" 0.062 0.062 - OK
when this happens. So I build nginx with debug and turned on debug for
the hosts involved and I get this for the case when the file is chopped
2012/05/15 21:33:48 [debug] 31832#0: *216 http copy filter: 0
"/idp/application.css?"
2012/05/15 21:33:48 [debug] 31832#0: *216 event timer: 14, old:
1337119428147, new: 1337119428195
2012/05/15 21:33:48 [debug] 31832#0: *216 http upstream request:
"/app/application.css?"
2012/05/15 21:33:48 [debug] 31832#0: *216 http upstream dummy handler
2012/05/15 21:33:48 [debug] 31832#0: *216 http upstream request:
"/app/application.css?"
2012/05/15 21:33:48 [debug] 31832#0: *216 http upstream process non
buffered upstream
2012/05/15 21:33:48 [debug] 31832#0: *216 SSL_read: 1
2012/05/15 21:33:48 [debug] 31832#0: *216 SSL_read: 0
2012/05/15 21:33:48 [debug] 31832#0: *216 SSL_get_error: 5
2012/05/15 21:33:48 [debug] 31832#0: *216 peer shutdown SSL cleanly
Seems like read gets a SSL_ERROR_SYSCALL. Any pointers to what else I
can look at to get to the bottom of this problem is much appreciated.
Thanks
Anand
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226477,226477#msg-226477
More information about the nginx
mailing list