<div>r u sure it is not a problem of ur DNS server</div>
<div>Check with ur hosting company<br><br> </div>
<div><span class="gmail_quote">On 1/31/06, <b class="gmail_sendername">Bogdan Ionescu</b> <<a href="mailto:bogdan.ionescu@gmail.com">bogdan.ionescu@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">No, no mod_proxy. Also I was getting the same thing with lighttpd.<br>This seems to somehow be dns related. It appears that the ip of the new machine fluctuates randomly.
<br>The admin of the network hosting the server says everything is alright there, but the ip just seems to go back and forth.<br>At the same time, i've stopped the web server on the original machine, and the error is still Bad gateway :P
<br>Now it seems to be better, so I am hoping that this will fix by itself ;)
<div><span class="e" id="q_10921831356f9885_1"><br><br><br><br>
<div><span class="gmail_quote">On 1/31/06, <b class="gmail_sendername">Ezra Zygmuntowicz</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ezra@yakima-herald.com" target="_blank">ezra@yakima-herald.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><br>On Jan 31, 2006, at 8:50 AM, Bogdan Ionescu wrote:<br><br>> I have moved my project to a dedicated server and I am getting a
<br>> very annoying behaviour.<br>> I am able to view the site just fine when using the ip. <br>> The name is properly resolved on my computer, however I am getting<br>> "Bad Gateway The proxy server received an invalid response from an
<br>> upstream server."<br>> This is simply random. The site works for several minutes, then i <br>> get this message for some time.<br>> I get nothing in any of the logs, and I get the same behaviour on<br>
> both apache2 and lighttpd.<br>> Using directly the IP works with no problems at all.<br>><br>> I would really appreciate some clues on how to deal with this<br>> (well, other than getting drunk and forgetting about ;) )
<br>> Thanks,<br>> Bogdan<br><br><br>Bogdan-<br><br> I have seen that error before when I was using an apache vhost with <br>proxypass and proxypassreverse to proxy to a lighty server on a high<br>port. I have a slight mis-configuration in the proxy vhost and it
<br>made every request to the server give that same error until I fixed it.<br><br> Are you using mod_proxy for anything with apache? If so I can send<br>you a good known working vhost to use. Let me know.<br><br>Cheers-
<br>-Ezra Zygmuntowicz<br>Yakima Herald-Republic<br>WebMaster<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://yakimaherald.com/" target="_blank">http://yakimaherald.com</a><br>509-577-7732<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ezra@yakima-herald.com" target="_blank">
ezra@yakima-herald.com</a><br><br><br><br>_______________________________________________<br>Rails mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Rails@lists.rubyonrails.org" target="_blank">
Rails@lists.rubyonrails.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.rubyonrails.org/mailman/listinfo/rails" target="_blank">http://lists.rubyonrails.org/mailman/listinfo/rails</a>
<br></blockquote></div><br></span></div><br>_______________________________________________<br>Rails mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Rails@lists.rubyonrails.org">Rails@lists.rubyonrails.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.rubyonrails.org/mailman/listinfo/rails" target="_blank">http://lists.rubyonrails.org/mailman/listinfo/rails</a><br><br><br></blockquote>
</div><br><br clear="all"><br>-- <br><br>Rgds,<br>--Siva Jagadeesan<br><a href="http://www.varcasa.com/">http://www.varcasa.com/</a><br>My First Rails Project. Powered by Typo and soon by RForum too