SVN Initial Indexing Fails Reporting connection refused by the server

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

During an initial indexing the following error pattern is reported:

Repository paused due to error com.cenqua.fisheye.rep.DbException: Problem getting diff information for revXXXXX 
com.cenqua.fisheye.svn.diff.SvnDiffException: Exception processing diff for revision XXXXX 
com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: 
svn: connection refused by the server org.tigris.subversion.javahl.ClientException: 
svn: connection refused by the server org.tmatesoft.svn.core.SVNException: 
svn: connection refused by the server java.net.ConnectException: Connection refused

The problem usually happen when the SVN Server uses inetd/xinetd to service the svnserve protocol.

Cause

Fisheye is creating too many connections, disrupting other svnserve-based connections. This makes the Subversion Server refuse new connections.

Resolution

At the Subversion repository configuration in Fisheye, set option Throttle connections-per-sec so that the number of connections can be limited:

  1. Go to the Fisheye Admin console, under "Repositories", open the Subversion repository configuration.
  2. Under "SVN Details", section "SVN Options", set option "Throttle connections-per-sec" to 25.
  3. Save the new configuration and Restart the repository so that the initial indexing can be resumed.

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.