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

Problem with export or checkout over WAN link

From: John Allberg <john_allberg_at_hotmail.com>
Date: 2006-06-16 06:57:26 CEST

Hi!

I'm having problems using subversion over a wan link (0.5 Mbit/sec), but it
works as expected locally. I have tried using svnserve or Apache with about
the same result. Since svnserver isn't as good with logs as Apache, the logs
and tests described below is with Apache. I'm new to subversion, so please
have patience... ;-)

When exporting locally (over LAN) everything looks right:

D:\Softwares\SubVersion>svn export http://www.allberg.se:81/svn/test
C:\temp\svn --username john --password mypwd --force
A C:\Temp\svn
A C:\Temp\svn\Projects
A C:\Temp\svn\Projects\TestProject
A C:\Temp\svn\Projects\TestProject\Implementation
A C:\Temp\svn\Projects\TestProject\Implementation\Trunk
A C:\Temp\svn\Projects\TestProject\Implementation\Branches
A C:\Temp\svn\Projects\TestProject\Implementation\Tags
A C:\Temp\svn\Projects\TestProject\Documentation
A C:\Temp\svn\Projects\TestProject\Documentation\Manual.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Tester
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 0.9.0.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testspec 1.2.0.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 0.8.2.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testspec 1.3.0.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 0.9.11.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 0.9.5.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testspec 0.9.0.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testspec 0.9.11.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 1.1.0.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 1.2.0.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testspec 0.9.5.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testresultat 0.8.0.xls
A C:\Temp\svn\Projects\TestProject\Documentation\Tester\WinShooter
Testspec 1.1.0.doc
A C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\SHB_Utb_2004.p
df
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\2005Rattelser.
pdf
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\SHB_Utb_2005.p
df
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\SHB_medalj_200
4.pdf
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\SHB_2004.pdf
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\SHB_2005.pdf
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\SHB_2006.pdf
A
C:\Temp\svn\Projects\TestProject\Documentation\Skjuthandboken\Skjuthandboken
url
A C:\Temp\svn\Projects\TestProject\Documentation\vapenbeteckningar.pdf
Exported revision 2.

When doing an export over the Internet, the client hangs on first file
(Manual.doc). This is the same behavior regardless of using svn or
tortoisesvn.

svn export http://www.allberg.se:81/svn/test C:\temp\svn --username john
--password myPassword --force
A C:\temp\svn
A C:\temp\svn\Projects
A C:\temp\svn\Projects\TestProject
A C:\temp\svn\Projects\TestProject\Implementation
A C:\temp\svn\Projects\TestProject\Implementation\Trunk
A C:\temp\svn\Projects\TestProject\Implementation\Branches
A C:\temp\svn\Projects\TestProject\Implementation\Tags
A C:\temp\svn\Projects\TestProject\Documentation

After that, the client hangs.

When using tortoisesvn to do the same thing, it seems that I get about
200-300kB of data before the reported speed goes down to 0kb/sec.

In the apache error log the following entrys occurs every time there is a
problem:
[Tue Jun 13 20:39:53 2006] [error] [client xx.xx.xx.91] Provider encountered
an error while streaming a REPORT response. [500, #0]
[Tue Jun 13 20:39:53 2006] [error] [client xx.xx.xx.91] A failure occurred
while driving the update report editor [500, #190004]

I tried adding
CustomLog logs/subversion.log "%t %u \"%U\" \"%{SVN-ACTION}e\" %>s"
env=SVN-ACTION

but subversion doesn't log anything that seems useful for me.

The really interesting thing is that there is no problem at all to commit
new files to the server, even when we're talking several 100 MB, it just
takes some time due to the slow network.

Using a network monitor I can't notice anything strange, the file is being
sent to the client. I don't know if it's the complete file though. It would
seem like there is a network problem (other than being slow), but there is
no other problems with transfers, for example surfing to the website,
including downloading.

When using IE to browse and download files from the repository it works
fine.
When using Firefox to browse and download files from the repository, most of
the time it stops at about 200-300kB, but it sometimes work.

I'm using Windows 2003 Server, apache 2.0.54, subversion 1.3.2 on the server
and Windows XP + tortoisesvn 1.3.4 on the clients. Could anybody help me to
find out the error or at least help me get some more detailed logging?

I do realize that this on the bottom line probably is a network problem, but
since all other services (smtp, http, dns, vpn, fileshare over vpn and so
on) are working fine I really would like subversion to work also. (Not to
mention that I can't influence the wan link to where the server is *smile*)

Regards,

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Jun 16 06:59:03 2006

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.