Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Max Vorobiev May 13, 2013
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

1 vote
Answer accepted
Alexander Kitaev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2013

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.

Max Vorobiev May 16, 2013

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

Looking forward into having the release 1.0.6 update!

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

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
TAGS
AUG Leaders

Atlassian Community Events