regular "An internal server error occurred. Please try again later." error

Added by Thomas D almost 10 years ago

I just started to use RedMine, so I am probably clueless about quite a few things

I start it this way: "ruby script/server -e production -p 80 -d" when the machine starts.
It will always run fine and a few hours later, I get this error: "An internal server error occurred. Please try again later."

It'll work fine each time it restarts, and eventually give me the same error.

Where should I look at? / What should I look for? I looked through the log file and did not see anything odd

Replies (8)

RE: regular "An internal server error occurred. Please try again later." error - Added by Jens Berlips almost 10 years ago

I get this error now and then. In my case I think it had something todo with FastCGI timed out (for issue with alot of pictures and alot of updates) and in other cases that I dodn't have so much memory left. The mem-footprint is quite high for the ruby process.

Could this be the case for you as well?

RE: regular "An internal server error occurred. Please try again later." error - Added by Ron Trenka almost 10 years ago

I'm getting this as well. We have 3 projects currently, but only one is doing this, and not in all cases. Some tickets generate the error, the search always generates the error and /my/page always generates the error. The rest seems to work fine.

I'm not an expert on Ruby by any means, but this just seems odd.

RE: regular "An internal server error occurred. Please try again later." error - Added by Thomas D almost 10 years ago

In my case, the installation is new, so it did not even have any tasks entered and there is no traffic but me testing.

I checked memory usage and it's very minimal right now as well.

Are there any in-depth logging options I can enable?

RE: regular "An internal server error occurred. Please try again later." error - Added by Ron Trenka almost 10 years ago

I have to revise my statement. I'm seeing that on tickets on the other projects as well.

RE: regular "An internal server error occurred. Please try again later." error - Added by Thomas D almost 10 years ago

I tried to add the -u for debugging, but I do not see any more info.

it did it again; the tasks is running normally, plenty of memory to spare, etc and the server has been totally unused during that time.

there is nothing in messages, secure, etc, it is all normal.
inside the log folder, I can see the last access made... 2 days ago and this is it.

Is there any way to print some info that could be useful to track this problem?

RE: regular "An internal server error occurred. Please try again later." error - Added by Chris Platts almost 10 years ago

I've found the Exception Handler Plugin invaluable for my production Redmine installation. This will email you full exception information when something goes wrong.

Of course, adding a plugin to an apparently unstable installation might be a bad idea :)

RE: regular "An internal server error occurred. Please try again later." error - Added by Chris Platts almost 10 years ago

(sorry - just re-read and noticed the error's coming from your server software rather than Redmine itself, so that plugin might not be of any assistance. It's still great though - definitely worth installing after you solve this particular problem!)

RE: regular "An internal server error occurred. Please try again later." error - Added by Thomas D almost 10 years ago

I'll install it; it can always be helpful.

thanks for the info

(1-8/8)