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

Re: Svn client hangs

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Thu, 24 Apr 2008 16:14:19 +0200

On Tuesday 22 April 2008, Adrian Hoe 贺文耀 wrote:
> I created a project on Ubuntu box with
> % svnadmin create testpost
> % ls -lsap
> drwxr-xr-x 7 adrian nogroup 4096 2008-04-21 09:10 testpost/
> % ls -lsap
> drwxr-sr-x 5 adrian nogroup 4096 2008-04-21 09:31 db/

Hmm, this looks weird, two times the same command gives different output? ;^)

> Whenever I import or commit changes, the svn client will hang:
> Sending test.txt
> Transmitting file data .
> After more than an hour, an error message will be displayed but the
> changes have been committed to the server and a post commit message is
> sent.

Sorry, but it would actually be helpful if you showed the exact commandline
you used to access the repository and also the exact error message. The
timeout looks a bit as if you hit a network timeout, but that doesn't take an
hour but just a minute or so. The fact that the commit went through is weird
though. Have you checked that it isn't hanging in the post-commit hook? Try
disabling it and see if it helps.

> Read from remote host zzz.xyz.net: Connection reset by peer
> svn: Commit failed (details follow):
> svn: Connection closed unexpectedly
> zzz.xyz.net is my server. No problem accessing http/MySQL etc at this
> uri.
> My /etc/services:
> svn 3690/tcp
> svn 3690/udp

This is irrelevant, since you are not connecting via those ports but via SSH,
which is used to tunnel the SVN protocol. This is only used when you are
running svnserve.

> My router port forwarding 3690 is forwarded to the ip address of the
> Ubuntu box.

So you also have a firewall in between. I'd just like to point out that that
is a potential source for trouble. If SSH works, so should the svn+ssh access
method. Check the firewall logs to see if it denied any connections.

Now, several things you should make sure:
1. Check if the repository works by accessing it via the file:// access
2. Check if svnserve works by starting it manually and then using the svn://
access method to connect to it. You can use localhost as address to bind if
you're paranoid and don't want connects from other hosts.
3. Try another tool like e.g. rsync whether it works when you tell it to
tunnel through SSH.


ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
           Visit our website at <http://www.satorlaser.de/>
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-24 16:14:42 CEST

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