[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: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-08 22:26:19 CET

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 Thu Feb 8 22:26:51 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.