Hi Mark.<br><br>See here <a href="http://blog.pomozov.info/posts/apache-mongrel-and-proxy-error.html">http://blog.pomozov.info/posts/apache-mongrel-and-proxy-error.html</a> I think this is your case.<br><br><div><span class="gmail_quote">
On 10/21/06, <b class="gmail_sendername">Marc Love</b> &lt;<a href="mailto:Marc.Love@herbank.com">Marc.Love@herbank.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br><br>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.&nbsp;&nbsp;So why would I get a Rails error message on the localhost, but an Apache error on a remote host?
<br><br>&gt;&gt;&gt; &quot;Joey Geiger&quot; &lt;<a href="mailto:jgeiger@gmail.com">jgeiger@gmail.com</a>&gt; 10/20/2006 5:18 PM &gt;&gt;&gt;<br>You're getting this error because apache isn't finding anything on the<br>other end of the proxy.
<br><br>For example, if you're doing:<br><br>ProxyPass / <a href="http://127.0.0.1:3000/">127.0.0.1:3000/</a><br><br><a href="http://127.0.0.1:3000">127.0.0.1:3000</a> isn't responding, so apache can't pass the request off.
<br><br>On 10/20/06, Marc Love &lt;<a href="mailto:Marc.Love@herbank.com">Marc.Love@herbank.com</a>&gt; wrote:<br>&gt; I'm setting up a new server in anticipation of switching from lighttpd+fcgi.&nbsp;&nbsp;My application isn't completely imported yet, so I don't expect it to work.&nbsp;&nbsp;For instance right now when pulling up my app from localhost I get my Ruby/Rails MySQL error message.&nbsp;&nbsp;But when I pull it up from a remote computer I get a proxy error from Apache:
<br>&gt;<br>&gt; ======================<br>&gt; Proxy Error<br>&gt;<br>&gt; The proxy server received an invalid response from an upstream server.<br>&gt; The proxy server could not handle the request GET /.<br>&gt;<br>&gt; Reason: Error reading from remote server
<br>&gt;<br>&gt; Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.<br>&gt; ======================<br>&gt;<br>&gt; Is there a reason why I get this instead of the Ruby/Rails error?
<br>&gt;<br>&gt; -Marc<br>&gt;<br>&gt;<br>&gt;<br>&gt; ==================DISCLAIMER================================<br>&gt; This email may contain confidential and privileged material for the sole use of the intended recipient.
<br>&gt; 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.<br>&gt; The sender accepts no responsibility for viruses and it is your responsibility to scan attachments (if any).
<br>&gt; No contracts may be concluded on behalf of the sender by means of email communications unless expressly stated to the contrary.<br>&gt; ==================DISCLAIMER================================<br>&gt; _______________________________________________
<br>&gt; Mongrel-users mailing list<br>&gt; <a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br>&gt; <a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users
</a><br>&gt;<br>_______________________________________________<br>Mongrel-users mailing list<br><a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">
http://rubyforge.org/mailman/listinfo/mongrel-users</a><br><br><br><br>==================DISCLAIMER================================<br>This email may contain confidential and privileged material for the sole use of the intended recipient.
<br>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.<br>The sender accepts no responsibility for viruses and it is your responsibility to scan attachments (if any).
<br>No contracts may be concluded on behalf of the sender by means of email communications unless expressly stated to the contrary.<br>==================DISCLAIMER================================<br>_______________________________________________
<br>Mongrel-users mailing list<br><a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>anatol (<a href="http://feeds.feedburner.com/apomozov-eng">http://feeds.feedburner.com/apomozov-eng</a>)