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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

145 views 6 3
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