Mongrel + Apache + mod_proxy error

December 11, 2006

I just noticed today that I was consistently getting 500 internal server errors on my site which is using Apache 2.2.3, Mongrel 0.3.18 and the mod_proxy and proxy_balancer modules for apache.

After looking into the apache error log I saw this:

proxy: error reading status line from remote server ...

After doing some googleing I found this article.

It states that the following lines need to be placed in your apache conf to fix a current bug in mod_proxy:

#Fix for Apache bug 39499
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

The change has been submited to my conf, I will post the results.


2 Responses to “Mongrel + Apache + mod_proxy error”

  1. shawn Says:

    Just curious what your results were. I am having the same problem with HTTPD 2.2.3 + Mongrel 1.0 pre-release:
    proxy: error reading status line from remote server
    proxy: Error reading from remote server returned by /notices/email_message/view_queued, referer:

    It also appears that your article link is points to a non existent page. It’s mentioned here:

    Did this fix your problem?

  2. whitt Says:

    The solution I outlined above did not solve the problem. The problem and solution is outlined in this post:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: