Sending emails causes internal error 500

Added by Daniel Zhang about 14 years ago

Hi,
I'm using Redmine 0.7 stable svn version with Apache2 fastcgi.
It's great unless I would get an internal server error whenever the redmine sends an email. (E.g. Sending test email, adding an issue and updating an issue etc.)

It's weired that the mail is actually sent successfully. I can receive the emails in my email box.
Also, everything is OK if I set the delivery to "false" in the environment.rb file.

About your application's environment
Ruby version 1.8.6 (i686-linux)
RubyGems version 0.9.4
Rails version 2.0.2
Active Record version 2.0.2
Action Pack version 2.0.2
Active Resource version 2.0.2
Action Mailer version 2.0.2
Active Support version 2.0.2
Application root /opt/redmine-0.7
Environment development
Database adapter mysql
Database schema version 92

I script/about runs failed in the production env so I pasted the development env one.

Apache error log:

[Tue Sep 02 00:35:58 2008] [debug] mod_rewrite.c(1788): [client 202.108.18.129] mod_rewrite's internal redirect status: 0/10., referer: http://xxxxx/settings
[Tue Sep 02 00:36:01 2008] [error] [client 202.108.18.129] FastCGI: comm with (dynamic) server "/opt/redmine-0.7/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://xxxxx/settings
[Tue Sep 02 00:36:01 2008] [error] [client 202.108.18.129] FastCGI: incomplete headers (0 bytes) received from server "/opt/redmine-0.7/public/dispatch.fcgi", referer: http://xxxxx/settings

Thanks!

Replies (1)

RE: Sending emails causes internal error 500 - Added by Daniel Zhang about 14 years ago

It works after I turn to mongrel and apache instead of mod_fastcgi.

Thanks.

(1-1/1)