Project

General

Profile

Redmine + passenger, creating issue -> 500 error

Added by Anton Suminov about 12 years ago

fedora 16, redmine + Apache + Passenger

This computer has exit on the internet with static ip.

A lot of the things work well remotely, but i have a problem:
Redmine, if i try to connect to redmine remotely many things work well (i can enter, see issues and projects, change settings e.t.c), but when i try to create new issue, server gives me error 500.

The server gives error 500 not always. If i connect to the internet via 3G modem, i can create issue. If i connect to the internet via Ethernet cabel (speed faster and ping less), server gives me error 500.

Output of the error_log apache


[Sun Feb 19 15:16:00 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Feb 19 15:16:00 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Feb 19 15:16:00 2012] [notice] Digest: done
[Sun Feb 19 15:16:01 2012] [notice] Apache/2.2.21 (Unix) DAV/2 Phusion_Passenger/3.0.11 PHP/5.3.10 SVN/1.6.17 configured -- resuming normal operations
[ pid=1083 thr=3078059904 file=ext/apache2/Hooks.cpp:860 time=2012-02-19 15:43:48.239 ]: Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: The timeout specified has expired (70007)
Backtrace:
in 'void Hooks::receiveRequestBody(request_rec*, const char*, std::string&)' (Hooks.cpp:1330)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:561)


Replies (6)

RE: Redmine + passenger, creating issue -> 500 error - Added by William Roush about 12 years ago

Sure you're not being filtered/blocked/dropped on the ethernet line? I mean passenger is basically saying "The user took too long to complete their request" which seems like you've made your basic TCP/IP connection, but didn't send all your request headers.

I'd probably wireshark it to see what is happening on the network level, and/or try on another network.

RE: Redmine + passenger, creating issue -> 500 error - Added by George Shestayev about 12 years ago

Confirming issue. Got this error after update redmine from 1.0.5 to 1.3.0

RE: Redmine + passenger, creating issue -> 500 error - Added by William Roush about 12 years ago

OS/Passenger version?

I've been running passenger 3.0.11 on Debian 6 with 1.3.0 and 1.3.1 with no problems.

RE: Redmine + passenger, creating issue -> 500 error - Added by George Shestayev about 12 years ago

root@domU-12-31-39-09-B4-1F:~# dpkg -s libapache2-mod-passenger
Package: libapache2-mod-passenger
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 1624
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: passenger
Version: 2.2.11debian-2
Depends: libapr1 (>= 1.2.7), libaprutil1 (>= 1.2.7+dfsg), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libruby1.8 (>= 1.8.7.302), libstdc++6 (>= 4.5), apache2-mpm-worker (>= 2.2.9-9) | apache2-mpm-prefork (>= 2.2.9-9) | apache2-mpm-itk (>= 2.2.9-9), ruby, rubygems (>= 1.2), librack-ruby, libjs-prototype
Suggests: python, rails, passenger-doc
Conffiles:
 /etc/apache2/mods-available/passenger.load 61421ba3247d368cfe99b540ad4ebc98
 /etc/apache2/mods-available/passenger.conf 62d2f2809399fcefeaec68dd9af456e6
root@domU-12-31-39-09-B4-1F:~# uname -a
Linux domU-12-31-39-09-B4-1F 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 04:06:34 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Debian 6
Sometimes I got this error, sometimes not. Don't know why.

RE: Redmine + passenger, creating issue -> 500 error - Added by William Roush about 12 years ago

[ pid=1566 thr=140336455083840 file=ext/apache2/Hooks.cpp:860 time=2012-03-12 16:23:10.739 ]: Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: The timeout specified has expired (70007)
  Backtrace:
     in 'void Hooks::receiveRequestBody(request_rec*, const char*, std::string&)' (Hooks.cpp:1330)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:561)

Hah, I get it when I'm on my VPN connection to work and trying to create a ticket over it, never had this happen before when I'm in network (nor have I heard any complaints from any other developers/reporters).

Is anyone doing this over high latency networks? (I have a 280 ping over my VPN to my Redmine box).

We're also running over SSL, is anyone else doing so too?

RE: Redmine + passenger, creating issue -> 500 error - Added by William Roush about 12 years ago

I have some threads on this issue:

http://code.google.com/p/phusion-passenger/issues/detail?id=354

http://code.google.com/p/phusion-passenger/issues/detail?id=489

It looks like the phusion guys think it's a network issue.

Our VPN is causing weird behavior for me (I can't get to some servers and the sort), I'll need to investigate this further.

I get it every time on the VPN, I cannot create a ticket.

A user that also uses the VPN that is currently getting a 32ms ping has no issues. I'm assuming my high ping is likely caused by dropped packets somewhere... can everyone else dig their traffic and see what they get?

    (1-6/6)