You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris <dy...@sneakemail.com> on 2007/04/19 19:28:26 UTC

Checkout hangs when run remotely over VPN

I am running subversion 1.4.3 on Windows server 2003. I am using svnserve for access (svn://server/repos), running as a windows service. This is a small installation -- there is no apache, there is no SSL. 

The clients are running winxp and win2k.

When on the local network, everything runs fine. 

But I have problems when I try to do some things remotely, over a VPN connection. Using tortoiseSVN, I can browse the repository without problems. If I ask to view a file (directly from the repos-browser), it gets the file and opens it in the viewer without problems. However, when I checkout, it gets 1 or 2 files, then everything seems to hang. All traffic across the VPN seems to stop. I can hit "cancel" in the checkout log dialog, without effect. Hitting the "close" button in the upper right corner twice does close the dialog.

I have the same problem using the svn command line client, though in that case I don't seem to get any files, though a couple of directories usually get created. I have to kill the svn process to abort this operation.

Even checking out a single folder with 4 files (each about 8K) hangs, after getting 1 file.

It's not the particular client computer -- I have a laptop that works fine when connected locally, and hangs when connected remotely. 

I have turned off all the firewalls and anti-virus on the clients without any effect.

On the off chance that it applied to svnserve connections, I set http-timeout to 120 seconds (this is in the client config file), without any change.

How do I debug this? Is there a log file from svnserve that might tell me what's going on (I've looked and not found it, and there's nothing in the windows event log). Are there configuration settings at the server that might affect this?

Thanks for your help,

Chris

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

Re: Checkout hangs when run remotely over VPN

Posted by Chris <dy...@sneakemail.com>.
Chris dy20lqh02-at-sneakemail.com |TracMailingList| wrote:
> I am running subversion 1.4.3 on Windows server 2003. I am using 
> svnserve for access (svn://server/repos), running as a windows service. 
> This is a small installation -- there is no apache, there is no SSL.
> The clients are running winxp and win2k.
> 
> When on the local network, everything runs fine.
>
> But I have problems when I try to do some things remotely, over a VPN 
> connection. Using tortoiseSVN, I can browse the repository without 
> problems. If I ask to view a file (directly from the repos-browser), it 
> gets the file and opens it in the viewer without problems. However, when 
> I checkout, it gets 1 or 2 files, then everything seems to hang. All 
> traffic across the VPN seems to stop.

For anyone else with this problem, I fixed it by changing the "TunnelMTU" setting on the client. In my case I had to set it to 1250. 1270 was too large, and that was as fine a resolution as I was willing to go to considering that you have to reboot after each change.

The Microsoft knowledge base article at http://support.microsoft.com/kb/826159 describes how to change this. A caution -- various articles on the internet describe how to use the ping command to determine what the correct MTU setting is. Doing this gave me an optimum MTU setting of 1300, but that was too large for the TunnelMTU.

Chris

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