Subversion authentication fails with 'Authentication required for'

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

Summary

Symptom

The most common repository error while validating Subversion repository during plan configuration is:

1 This is not a valid Subversion Repository: svn: Authentication required for '<http://svnhost:80; My Subversion Repository'

Solution

In all likelihood, the authentication failed due to invalid login credentials. Please double-check your username and password and try again.

Using self signed SSL certifcates

If you are using a self signed certificate prior to Bamboo 2.1, you need to get Subversion to cache your repository connection as there is no way to instruct Bamboo to accept self-signed SSL certificates.

On Linux

  • Open up a command line (as the user running Bamboo) and checkout your repository before using Bamboo.

On Windows

  • If you are running Bamboo as a service on Windows, then consult this document to run the service as the local user,

  • Login as the user running Bamboo, and checkout your repository.

Troubleshooting SVN Connection

If you are still having trouble connecting to repository:

  1. Try logging in outside of Bamboo, from the command line or from any other repository client. If this step fails, then it's likely that your repository is not configured correctly.

  2. Please consult our JIRA issue tracker for known Bamboo repository issues.

  3. If you still can't connect to Subversion, please debug Subversion and raise a support request and attach your atlassian-bamboo server logs to the support request.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.