Project

General

Profile

Actions

Defect #7699

open

Subversion: 500 Internal Server Error when browsing a repository

Added by Anthony C about 13 years ago. Updated over 10 years ago.

Status:
Reopened
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-02-23
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I've added a subversion repository to one of our projects. When I go to the repository tab to browse the repository I get a 500 Internal Server Error. The production.log contains no entry at all for the page access. The strangest part is that another repository on another server works perfectly. Both the working and non-working servers run subversion-1.6.9-1 on CentOS 5. The biggest difference is that the non-working server is on a different subnet and required a firewall opening for port 443. Both servers return good information when the svn commands are run by hand (I've included these at the bottom).

When I run redmine with "ruby script/server -e production -p 80" in screen I get disconnected from my SSH session and upon resuming find:

root@redmine:/usr/share/redmine# ruby script/server -e production -p 80
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:80
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-02-23 12:03:02] INFO WEBrick 1.3.1
[2011-02-23 12:03:02] INFO ruby 1.8.7 (2010-01-10) [x86_64-linux]
[2011-02-23 12:03:02] INFO WEBrick::HTTPServer#start: pid=5043 port=80
Killed

The Apache server log shows the generic error:
[Fri Feb 18 15:32:51 2011] [error] [client 10.xxx.xxx.xxx] Premature end of script headers: projects, referer: https://redmine.xxxxx.com/redmine/projects/xxxxx/settings

My environment:
root@redmine:/usr/share/redmine# RAILS_ENV=production ruby script/about
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /usr/share/redmine-1.1.1
Environment production
Database adapter mysql
Database schema version 20101114115359

About your Redmine plugins
Redmine Hudson plugin 1.0.6.1

Masked out results of manual svn list commands:

Non-working svn output:
setit@redmine:~$ sudo -u www-data svn --username redminesvn list --config-dir /usr/share/redmine/svn --xml 'https://149.8.205.147/svn/zop'@HEAD

<lists>
<list
path="https://XXXXX/XXXXX">
<entry
kind="dir">
<name>XXXXX</name>
<commit
revision="165">
<author>XXXXX</author>
<date>2011-02-17T22:14:31.210436Z</date>
</commit>
</entry>
<entry
kind="dir">
<name>RPMS</name>
<commit
revision="166">
<author>XXXXX</author>
<date>2011-02-17T22:15:39.495387Z</date>
</commit>
</entry>
<entry
kind="dir">
<name>branches</name>
<commit
revision="151">
<author>XXXXX</author>
<date>2011-02-17T15:25:01.243637Z</date>
</commit>
</entry>
<entry
kind="dir">
<name>tags</name>
<commit
revision="147">
<author>XXXXX</author>
<date>2011-02-15T19:18:56.290041Z</date>
</commit>
</entry>
<entry
kind="dir">
<name>trunk</name>
<commit
revision="174">
<author>XXXXX</author>
<date>2011-02-18T20:53:01.961666Z</date>
</commit>
</entry>
</list>
</lists>

Working svn output:
setit@redmine:~$ sudo -u www-data svn --username redminesvn list --config-dir /usr/share/redmine/svn --xml 'https://subversion.setcorp.com/set_it'@HEAD

<lists>
<list
path="https://XXXXX/XXXXX">
<entry
kind="dir">
<name>branches</name>
<commit
revision="1">
<author>XXXXX</author>
<date>2008-11-26T02:24:32.556798Z</date>
</commit>
</entry>
<entry
kind="dir">
<name>tags</name>
<commit
revision="1">
<author>XXXXX</author>
<date>2008-11-26T02:24:32.556798Z</date>
</commit>
</entry>
<entry
kind="dir">
<name>trunk</name>
<commit
revision="55">
<author>XXXXX</author>
<date>2011-01-19T21:33:32.032020Z</date>
</commit>
</entry>
</list>
</lists>


Related issues

Related to Redmine - Defect #633: Redmine crashes randomlyClosed2008-02-12

Actions
Related to Redmine - Patch #7528: Fetch small initial set of repository changesetsNew2011-02-03

Actions
Has duplicate Redmine - Defect #9337: Out of memory when browsing subversion repository with large changesetClosed2011-09-28

Actions
Actions

Also available in: Atom PDF