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

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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.


(info)  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.

    <VirtualHost mydomain.com:443>
      ServerName  mydomain.com
      [...]
    </VirtualHost>
    
Last modified on Nov 29, 2022

Was this helpful?

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