Can't get "Import from SVN" work via proxy

Hi,

I'd like to import an SVN repository to Stash/Git from a source which is external to my organization. We're behind a firewall and normally go outside via an http proxy.

But in this case Stash SVN import plug-in doesn't seem to understand the proxy is set. I get

svn: timed out waiting for server svn: OPTIONS request failed on '/svn/repos/asx_fecru'

and in the Stash log:

2013-05-14 09:50:00,591 ERROR [pool-18-thread-4] Admin 589x87x1 wxr6pt 10.139.207.123 "POST /plugins/servlet/subgit/projects/AF/repos/fecru/settings HTTP/1
.1" o.t.s.stash.web.admin.SgImportJob$1 Failed to import SVN repository
org.tmatesoft.a.j.t: svn: timed out waiting for server
svn: OPTIONS request failed on '/svn/repos/asx_fecru'
...

Caused by: org.tmatesoft.svn.core.SVNException: svn: timed out waiting for server
svn: OPTIONS request failed on '/svn/repos/asx_fecru'
...

Caused by: java.net.SocketTimeoutException: connect timed out

Both operation log and the Importer GUI itself refer to ~/.subversion dir as a source of svn configuration, e.g.:

[2013-05-14 09:29:22.070][subgit][121] Using Subversion configuration and credentials cache at: /home/git/.subversion

But http-proxy-... options are set in the "servers" file, and I'm 100% sure they are correct (copy-pasted them from a canonical document)

BTW, Stash daemon itself is also fully configured proxy-wise: all Djava http-proxy and https-proxy parameters set.

2 answers

1 accepted

Accepted Answer
1 vote

Hello,

I apologize for delay with the reply. Indeed there was a bug and proxy settings in Subversion config file were ignored. I've sent Max a link to a new plugin version to try and fix will be included into the next minor update.

Thanks for reporting this issue.

Thanks Alexander! Importing via proxy with the new version works just fine.

Looking forward into having the release 1.0.6 update!

Hi Max,

You might want to draw this page to SubGit's attention so they can answer your question. Possibly through their Twitter account:

https://twitter.com/subgit

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,327 views 9 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you