Connecting to a Subversion Repository Fails Due to 'SVN Authentication Required For' Error

Still need help?

The Atlassian Community is here for you.

Ask the community


The following error is thrown by the JIRA Subversion Plugin when trying to connect to the SVN repository using HTTPS protocol:

WebContainer : 1 ERROR [plugin.ext.subversion.SubversionManagerImpl] Connection to Subversion repository  https://myhost/svn/Test failed:
org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for '<https://myhost:443> Subversion Repository'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(


The error can occur for one of the following reasons:

  1. The exception can occur when using a self-signed certificate and trying to connect to a local repository via SSL.
  2. The Subversion server's authentication method may be the problem, especially when using NTLM or Active Directory.
  3. The SVN plugin is calling SVNKit in such a way to load the configuration files and cached passwords under %APPDATA%\Subversion, and there is a bad password being cached here.
  4. Using an account (username ) without password


  1. If using SSL with a self-signed certificate, the public key needs to be imported into the JAVA trust store as described in Connecting to SSL services.
  2. If SSL is not enabled, see SVN-240 for a workaround.
  3. From the JIRA server instance, run the SVN Client manually as the same user that JIRA runs on. When prompted, enter the password. This will clear the cached password.
    svn ls svn://<ip_address>/<project_name>

  4. Please use an account with password or add a password to the username. Specify correct values for the username and password in Administration >> Subversion

Last modified on Mar 30, 2016

Was this helpful?

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