JIRA Subversion plugin unable to connect to repositories due to timed out

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

Symptoms

  • Unable to see commits on the Subversion Commits tab

The following appears in the atlassian-jira.log:

1 2 3 4 5 6 7 8 9 10 11 12 2012-03-05 17:12:46,375 QuartzWorker-1 ERROR ServiceRunner Subversion Revision Indexing Service [plugin.ext.subversion.SubversionManagerImpl] Error getting the latest revision from the repository. org.tmatesoft.svn.core.SVNException: svn: timed out waiting for server svn: PROPFIND request failed on '/svn/TESTREPO' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:126) .... Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source) at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

Cause

The default SVN timeout been fixed to 15 seconds. Since large repositories require more time to connect to JIRA, you will need to increase the svn read timeout.

Resolution

  • Increase the svn timed out session by modifying the system properties

1 -Dcom.atlassian.jira.plugin.ext.subversion.svnreadtimeout=60000

ℹ️ The timed out is calculated in milliseconds. The above number is referring to 60 seconds

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.