Open GoogleCodeExporter opened 9 years ago
Hi, thanks very much for the report. I am having trouble reproducing the
problem: I set up a quick test server with the latest version of mod_spdy and a
simple Python CGI script that produces an HTTP 500 by calling sys.exit(1), and
the default Apache error page shows up just fine for me via SPDY (using Chrome
24 on Linux).
I notice that you have mod_php enabled, which doesn't always play nice with
mod_spdy (for the same reason that mod_php doesn't always play nice with
mpm_worker). Is it possible that that is the source of the problem? I would
recommend following the instructions here for setting up PHP to work safely
with mod_spdy, if only to rule that out as a possible issue:
https://developers.google.com/speed/spdy/mod_spdy/php
If the problem still persists after disabling mod_php5, then can you give me
more information about your setup? What precise method are you using to
produce the 500? Does the error page show up fine over plain HTTP? How about
plain HTTPS (with mod_spdy disabled)?
Original comment by mdste...@google.com
on 13 Dec 2012 at 5:27
We're using mod_uwsgi with a WSGI application. With mod_spdy disabled, the
apache error page is served just fine. The problem appears to be mod_spdy's
handling of a 0 byte HTTP error reply returned by mod_uwsgi. Further debugging
and logging efforts revealed output along the lines of:
[Tue Dec 11 14:54:22 2012] [debug] mod_spdy/apache/log_message_handler.cc(106):
[client 50.0.77.3] [mod_spdy/0.9.3.3-386]
[14731:14731:VERBOSE2:spdy_session.cc(458)] Received SYN_STREAM; opening stream
1
[Tue Dec 11 14:54:22 2012] [debug] mod_spdy/apache/log_message_handler.cc(106):
[client 50.0.77.3] [mod_spdy/0.9.3.3-386]
[14731:14731:VERBOSE4:spdy_session.cc(323)] [stream 1] Received DATA (length=0)
[Tue Dec 11 14:54:22 2012] [debug] mod_spdy/apache/log_message_handler.cc(120):
[client 50.0.77.3] [stream 1] [mod_spdy/0.9.3.3-386]
[14731:14735:VERBOSE3:apache_spdy_stream_task_factory.cc(121)] Starting stream
task
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:22 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:23 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:23 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:23 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:23 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:23 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
[Tue Dec 11 14:54:23 2012] [debug] ssl_engine_io.c(1931): OpenSSL: I/O error, 5
bytes expected to read on BIO#7f18ef5928e0 [mem: 7f18ef583303]
Original comment by npi...@lexmachina.com
on 13 Dec 2012 at 6:50
Original issue reported on code.google.com by
npi...@lexmachina.com
on 11 Dec 2012 at 10:40