You are here: Forums Ask a Rails expert How to deal with Proxy Error's...
Posted in Forums : Ask a Rails expert
Authority 12
Posting Rating 96
Sign in to rate this post
|
At times I have been getting server proxy error in my site Proxy Error Reason: Error reading from remote server Apache/2.0.59 (Win32) mod_ssl/2.0.59 OpenSSL/0.9.7j Server at www.XXXXXXXX.com Port 80 I am using Mongrel with Apache on Windows 2003 server, running 20 mongrel clusters . I am not able to figure out where the issue is, |
Authority 37
Posting Rating 37
Sign in to rate this post
|
Hi Bala, If you are running mongrel_cluster in background with apache+mod_proxy to serve rails requests then this might help you. mod_proxy sometimes reject requests to Mongrel. This comes from two known Apache bugs #39499 and #37770 To resolve the problem and as workaround for it add the lines below to your Apache VirtualHost section. #Fix for Apache bug 39499
|
Authority 12
Posting Rating 96
Sign in to rate this post
|
Can i set email notification in Apache config. to trigger mail whenever the server encounters a proxy error? |
Authority 25
Posting Rating 73
Sign in to rate this post
|
Balaji, No, I don’t believe you can set Apache to notify you when this Proxy error occurs, because this is a passive proxy error, meaning that it does this only when requests come in. It does not do any kind of active monitoring of the mongrel_cluster behind it. That is, unless there is something that I’m not familiar with. Your best bet is to setup some kind of remote monitoring, that checks for the HTTP status code, or even content at regular intervals. A lot of remote monitoring services exist, and I’m certain some of them are capable of monitoring based on content or response code. Kevin Elliott |
Ask a Rails expert : how to check processs is running or stop
Ask a Rails expert : Routing problem using patterns for id
Ask a Rails expert : How to work with ror 2.1.1 using Netbeans IDE 6.1
Ask a Rails expert : json gem error
Ask a Rails expert : Problem with break
Ask a Rails expert : activesupport string first method error
Ask a Rails expert : url_for broken ?
Ask a Rails expert : map.routes.rb pls help
Ask a Rails expert : how to h tag in controller
Ask a Rails expert : Problem with Restful routing and partial form