[Mongrel] Apache/Mongrel Question

Rick Olson technoweenie at gmail.com
Fri Oct 20 20:21:47 EDT 2006


On 10/20/06, Marc Love <Marc.Love at herbank.com> wrote:
> I'm setting up a new server in anticipation of switching from lighttpd+fcgi.  My application isn't completely imported yet, so I don't expect it to work.  For instance right now when pulling up my app from localhost I get my Ruby/Rails MySQL error message.  But when I pull it up from a remote computer I get a proxy error from Apache:
>
> ======================
> Proxy Error
>
> The proxy server received an invalid response from an upstream server.
> The proxy server could not handle the request GET /.
>
> Reason: Error reading from remote server
>
> Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.
> ======================
>
> Is there a reason why I get this instead of the Ruby/Rails error?

your rails app is dead, that's why.

"The proxy server received an invalid response from an upstream server."

upstream server == mongrel


-- 
Rick Olson
http://weblog.techno-weenie.net
http://mephistoblog.com


More information about the Mongrel-users mailing list