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

This widget could not be displayed.

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!

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

169 views 9 2
Join discussion

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