SVN indexing fails in Fisheye with "chunked stream ended unexpectedly" warning in logs

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

A Fisheye repository cannot be indexed.

The following appears in the atlassian-fisheye-YYYY-MM-DD.log log file:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 WARN [InitPing1 <repository_name> ] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo <repository_name> due to class com.cenqua.fisheye.rep.RepositoryClientException - java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E175002: chunked stream ended unexpectedly svn: E175002: REPORT request failed on '/svn/root/!svn/folder/default' com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E175002: chunked stream ended unexpectedly svn: E175002: REPORT request failed on '/svn/root/!svn/folder/default' at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:189) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:158) [fisheye.jar:?] at com.cenqua.fisheye.svn.SvnThrottledClient.diffSummarize(SvnThrottledClient.java:228) [fisheye.jar:?] ... Caused by: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E175002: chunked stream ended unexpectedly svn: E175002: REPORT request failed on '/svn/root/!svn/folder/default' ... Caused by: org.apache.subversion.javahl.ClientException: svn: E175002: chunked stream ended unexpectedly svn: E175002: REPORT request failed on '/svn/root/!svn/folder/default' at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:117) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?]

Cause

There are several potential causes for this problem:

  • the connection to the SVN server is being interrupted by a web server

  • a web server is setting a limit for the number of bytes that can be transferred.

Workaround

Change the configuration to connect Fisheye by using the file:// protocol instead of http://.

Resolution

Configure the web server to avoid the connection from being interrupted

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.