[Mongrel] Apache/Mongrel Question

Anatol Pomozov anatol.pomozov at gmail.com
Sat Oct 21 01:34:13 EDT 2006


Hi Mark.

See here http://blog.pomozov.info/posts/apache-mongrel-and-proxy-error.htmlI
think this is your case.

On 10/21/06, Marc Love <Marc.Love at herbank.com> wrote:
>
> I don't understand why Apache would find something when I'm accessing it
> on the localhost but wouldn't find something when I'm accessing it from a
> remote computer.
>
> I'm using mod_proxy_balancer, so Apache is passing off the requests to the
> mongrel_cluster, right? Regardless of where the request is coming from.  So
> why would I get a Rails error message on the localhost, but an Apache error
> on a remote host?
>
> >>> "Joey Geiger" <jgeiger at gmail.com> 10/20/2006 5:18 PM >>>
> You're getting this error because apache isn't finding anything on the
> other end of the proxy.
>
> For example, if you're doing:
>
> ProxyPass / 127.0.0.1:3000/
>
> 127.0.0.1:3000 isn't responding, so apache can't pass the request off.
>
> 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?
> >
> > -Marc
> >
> >
> >
> > ==================DISCLAIMER================================
> > This email may contain confidential and privileged material for the sole
> use of the intended recipient.
> > Any review or distribution by others is strictly prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies
> of it from your system.
> > The sender accepts no responsibility for viruses and it is your
> responsibility to scan attachments (if any).
> > No contracts may be concluded on behalf of the sender by means of email
> communications unless expressly stated to the contrary.
> > ==================DISCLAIMER================================
> > _______________________________________________
> > Mongrel-users mailing list
> > Mongrel-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> >
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>
>
> ==================DISCLAIMER================================
> This email may contain confidential and privileged material for the sole
> use of the intended recipient.
> Any review or distribution by others is strictly prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies
> of it from your system.
> The sender accepts no responsibility for viruses and it is your
> responsibility to scan attachments (if any).
> No contracts may be concluded on behalf of the sender by means of email
> communications unless expressly stated to the contrary.
> ==================DISCLAIMER================================
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>



-- 
anatol (http://feeds.feedburner.com/apomozov-eng)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061021/8dd6656e/attachment.html 


More information about the Mongrel-users mailing list