On Jan 31, 2006, at 8:50 AM, Bogdan Ionescu wrote:
> I have moved my project to a dedicated server and I am
getting a
> very annoying behaviour.
> I am able to view the site just fine when using the ip.
> The name is properly resolved on my computer, however I
am getting
> "Bad Gateway The proxy server received an invalid
response from an
> upstream server."
> This is simply random. The site works for several
minutes, then i
> get this message for some time.
> I get nothing in any of the logs, and I get the same
behaviour on
> both apache2 and lighttpd.
> Using directly the IP works with no problems at all.
>
> I would really appreciate some clues on how to deal
with this
> (well, other than getting drunk and forgetting about ;)
)
> Thanks,
> Bogdan
Bogdan-
I have seen that error before when I was using an apache
vhost with
proxypass and proxypassreverse to proxy to a lighty server
on a high
port. I have a slight mis-configuration in the proxy vhost
and it
made every request to the server give that same error until
I fixed it.
Are you using mod_proxy for anything with apache? If so I
can send
you a good known working vhost to use. Let me know.
Cheers-
-Ezra Zygmuntowicz
Yakima Herald-Republic
WebMaster
http://yakimaherald.com
509-577-7732
ezra yakima-herald.com
_______________________________________________
Rails mailing list
Rails lists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
|