This forum is no longer active. Please post your questions to our new community site

Forums Redmine

Redmine proxy error after hours of no use, fresh install

Subscribe to Redmine proxy error after hours of no use, fresh install 14 post(s), 9 voice(s)

 
Avatar lum 17 post(s)

I have had this problem before with an upgrade from .8.7 → .9.1, and ended up having to have a script run every morning before people come in to wake it up.

I just recently installed this on a fresh win2k8 server, and your .9.3 download. This has the same problem.

It appears that MySQL and Ruby are timing out. Refreshing the page solves the problem.

Do you have a recommended fix for this?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi, have you tried this patch? http://github.com/wr0ngway/rails/commit/d269724…

 
Avatar lum 17 post(s)

no, is that just adding those 3 lines to that file?

 
Avatar lum 17 post(s)

where should this be actually added in the bitnami stack?

 
Avatar lum 17 post(s)

Ok..this patch did not work. What can I do to not have it crash every morning?

 
Avatar anandms 18 post(s)

me too have the same problem :(

thanks in advance.

 
Avatar lum 17 post(s)

bumping this up.

 
Avatar marik 1 post

Hi,
I installed version .9.3 and also have the same problem: Redmine proxy error after some of no use. After repeated request for this error does not occur.
This problem has a solution?

 
Avatar carlos Administrator 144 post(s)

Hi,

Could you try adding “reconnect: true” option in “production” section inside ${installdir}/apps/redmine/config/database.yml and restarting the application ?

...
production:
  adapter: mysql
  database: *********
  host: localhost
  username: **********
  password: **********
  socket: **********
  reconnect: true
...
 
Avatar craiger 9 post(s)

I’m having the same issue. I’ll try the database.yml addition suggested by carlos.

 
Avatar craiger 9 post(s)

It seems like it worked! Thanks carlos.

 
Avatar maxshlain 1 post

Thank you, carlos.
It seems to be a solution for wery common issue.
I have spent about 30 mins while reading threads related to similar issues with no solution at end.
I advice to stick this solution to the top of the forum section or to convert your answer to FAQ, thus the solution could be googled quickly.
P.S. is there any reason not to be default value in next bundles?

 
Avatar kirass 8 post(s)

Super!

Thank you…. :)

 
Avatar gmarquez 2 post(s)

I am using Redmine 1.1.2.stable (MySQL) on Windows 2003 R2, on VMWare Server.
Proxy issue was present.
Carlos’ solution works!

Forums Redmine