Bamboo fails to connect to SVN server via SSL with an error "unrecognized_name" error

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

Bamboo build fails and Bamboo server fails to connect to SVN server configured to use SS.

Build fails with an error svn: E175002: handshake alert: unrecognized_name

Environment

Issue found in Bamboo 5.7.2.

Diagnosis

The following error can be seen in the logs:

1 2 INFO [http-apr-8085-exec-11] [SvnRepository] Failed to validate the subversion url: svn: E175002: handshake alert: unrecognized_name svn: E175002: OPTIONS request failed on '/path/to/tags/id'

Cause

The SVN server is not configured correctly, ServerName in the Apache virtual host configuration is missing.

ℹ️ TortoiseSVN ignores this warning by default and it may go unnoticed.

Solution

On the SVN server:

  • In the Apache virtual host configuration, make sure the <VirtualHost> tag has a value for ServerName in it.

    1 2 3 4 <VirtualHost mydomain.com:443> ServerName mydomain.com [...] </VirtualHost>
Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.