How to configure proxy support for Subversion repositories
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
Some environments may require authenticating with an outbound proxy before being able to connect to the machine hosting the subversion repository.
Cause
SVNKit doesn't use the JVM proxy settings, but simply delegates to the configuration used by the native subversion client.
Resolution
Add the follow to ~/.subversion/servers
(for Unix/Linux) or %APPDATA%\Subversion\servers
for Windows based machines:
1
2
3
4
http-proxy-host = proxy.example.com
http-proxy-port = 8080
http-proxy-username = myuserid
http-proxy-password = mypassword
Save the file then test the connection using the jsvn executable that ships with Fisheye:
1
<FishEye installation directory>/lib/svn/jsvn info http://your.subversion.server.com/path/to/repo
If that is successful, Fisheye should now be able to connect to the subversion repository.
References:
Was this helpful?