[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Help! Using subversion from behind the firewall

From: Qingqing Ouyang <Qingqing.Ouyang_at_Sun.COM>
Date: 2007-02-09 17:59:43 CET

Hi, Ryan:

Thanks so much for the clear answers. Just to follow up on this thread
and bring some closure:

I found out that the reason I am not able to connect is due to the
firewall setup on our network. Unfortunately, "svn+ssh" did not do the
trick either since the repository I am trying to access does not allow
anonymous read via ssh. (And I don't have an account with that project.)

I am still stuck. But at least the mystery is solved...

Thanks again for your help!
Q^2

Ryan Schmidt wrote:
> On Feb 8, 2007, at 13:04, Qingqing Ouyang wrote:
>
>> The following is my environment:
>>
>> bash-3.00$ uname -a
>> SunOS 5.10 Generic_118822-30 sun4u sparc SUNW,A70
>>
>> bash-3.00$ svn --version
>> svn, version 1.4.2 (r22196)
>> compiled Nov 22 2006, 06:41:39
>>
>>
>> I am using subversion behind the firewall. So I modified
>> $HOME/.subversion/server with the http-proxy/port information.
>>
>> I am able to access an svn repository if the URL is using the
>> "http://" protocol. However, I have no luck with any URL with
>> protocol "svn://".
>
> Not surprising that that modification had no effect for svn:// URLs,
> since svn:// has nothing to do with the HTTP protocol.
>
>
>> For example, the following works for me:
>>
>> % svn checkout http://svn.codehaus.org/jruby/trunk/jruby jruby
>>
>> But the following returns error:
>>
>> % svn checkout svn://svn.codehaus.org/jruby/trunk/jruby jruby
>> svn: Unknown hostname 'svn.codehaus.org'
>
> It's curious that you get the error message that the hostname is
> unknown. I would have expected some other error message. You may have
> to ask your network administrators why it's doing that.
>
>
>> It would've been fine with http except some repositories do not seem
>> to allow the use of "http://" protocol.
>
> Sure, it's up to each repository administrator to determine what
> protocols they want to allow to use their repository.
>
>
>> For example, the following URL does not work for me with either
>> "http://" or "svn://":
>>
>> % svn checkout
>> http://rubyforge.org/var/svn/jruby-extras/trunk/rails-integratio
>> rails-integration
>> svn: PROPFIND request failed on
>> '/var/svn/jruby-extras/trunk/rails-integration'
>> svn: PROPFIND of '/var/svn/jruby-extras/trunk/rails-integration':
>> Could not resolve hostname `rubyforge.org': Host not found
>> (http://rubyforge.org)
>>
>> % svn checkout
>> svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration
>> rails-integration
>> svn: Unknown hostname 'rubyforge.org'
>>
>> What should I do? Any help is greatly appreciated! (BTW, I do know
>> that the above URLs, svn:// and http://, work fine from outside of
>> the firewall).
>
> All I can say is the svn:// protocol uses port 3690. Your network will
> have to allow traffic on that port for that protocol to work. For
> completeness, http:// uses port 80, https:// uses port 443, and
> svn+ssh:// uses port 22.
>
>
> --
> To reply to the mailing list, please use your mailer's Reply To All
> function
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 17:55:42 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.