Proxy Error in Redmine Application

Added by namita nair over 12 years ago

I'm trying to investigate a situation where a Rails app running on Mongrel
+Apache stops listening to requests. Restarting Mongrel
brings it back to life.

Some info on versions:

ruby 1.8.7 (2008-08-11 patchlevel 11) [i386_64-mswin32]
Mongrel (1.1.5)
Rails 2.3.2 apache 2.2.8
Redmine 0.8.3
Os - Windows XP

Basically, after about a day or so, the Web app stops responding.
I earlier had redmine 0.8.0 with ruby 1.8.6 running in my production box i never faced this issue.Once i upgraded i started facing this issue.Mongrel log does not have any info.The apache log error is as below.
I searched on the net for the error but did not get a specific solution.
Solutions were basically on SELinux settings but that would be in case of a LINUX box.
Changing the ..htaccess files .I am not sure if i can do that changes as it has some extra entries in it than the examples files found in net.

apache_error.log
[Fri Jun 12 09:35:36 2009] [error] [client 192.168.151.25] File does not exist: C:/wamp/www/favicon.ico
[Fri Jun 12 09:35:36 2009] [error] (OS 10061)No connection could be made because the target machine actively refused it. : proxy: HTTP: attempt to connect to 127.0.0.1:6000 (127.0.0.1) failed
[Fri Jun 12 09:35:36 2009] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
[Fri Jun 12 09:36:09 2009] [error] proxy: HTTP: disabled connection for (127.0.0.1)

Can any one help me out on this issue....................

Replies (3)

RE: Proxy Error in Redmine Application - Added by Nanda P over 12 years ago

I had the same issue, (after 8hrs of inactivity) freezes the app.

As per the following link, There's a bug in ruby/mysql adapter < 2.7.3.

http://www.redmine.org/wiki/redmine/FAQ#The-application-freeze-after-a-long-time-of-inactivity

For now I scheduled a task to restart our WebRick 3AM every morning.

HTH...

RE: Proxy Error in Redmine Application - Added by namita nair over 12 years ago

I start my mongrel server as as a windows service.
I do not know how to schedule it.
Will the property change to automatic help.
In one of the links i read the order in which you start your services also matter refer to below :
http://stackoverflow.com/questions/683052/why-am-i-getting-an-apache-proxy-503-error

I tried starting mongrel first and then apache yesterday.Things seem to be ok,but the first click today i got Proxy Error but the second time i tried accessing it i did not face any issue.
I am not sure if the server is fine ,now need to wait for tomoro too and see.

RE: Proxy Error in Redmine Application - Added by namita nair over 12 years ago

I found a way to schedule it by writing a batch file to stop and then start the service.
The command to be used is.

c:/>net start/stop Service_Name

(1-3/3)