|
List Info
Thread: Random 502 Bad Gateway
|
|
| Random 502 Bad Gateway |

|
2006-01-31 17:28:56 |
|
No, no mod_proxy. Also I was getting the same thing with lighttpd.
This seems to somehow be dns related. It appears that the ip of the new machine fluctuates randomly.
The admin of the network hosting the server says everything is alright there, but the ip just seems to go back and forth.
At the same time, i've stopped the web server on the original machine, and the error is still Bad gateway :P
Now it seems to be better, so I am hoping that this will fix by itself ;)
On 1/31/06, Ezra Zygmuntowicz < ezra yakima-herald.com">ezra yakima-herald.com> wrote:
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">ezra yakima-herald.com
_______________________________________________ Rails mailing list Rails lists.rubyonrails.org">
Rails lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
|
| Random 502 Bad Gateway |

|
2006-01-31 20:51:46 |
|
r u sure it is not a problem of ur DNS server
Check with ur hosting company
On 1/31/06, Bogdan Ionescu < bogdan.ionescu gmail.com">bogdan.ionescu gmail.com> wrote:
No, no mod_proxy. Also I was getting the same thing with lighttpd. This seems to somehow be dns related. It appears that the ip of the new machine fluctuates randomly.
The admin of the network hosting the server says everything is alright there, but the ip just seems to go back and forth. At the same time, i've stopped the web server on the original machine, and the error is still Bad gateway :P
Now it seems to be better, so I am hoping that this will fix by itself ;)
On 1/31/06, Ezra Zygmuntowicz <yakima-herald.com" target="_blank">ezra yakima-herald.com
> wrote:
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 yakima-herald.com" target="_blank">
ezra yakima-herald.com
_______________________________________________ Rails mailing list lists.rubyonrails.org" target="_blank">
Rails lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
_______________________________________________ Rails mailing list lists.rubyonrails.org">Rails lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
--
Rgds, --Siva Jagadeesan http://www.varcasa.com/ My First Rails Project. Powered by Typo and soon by RForum too
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|