SamJolly
SamJolly

Reputation: 6477

Cannot Checkout, "An existing connection was forcibly closed by the remote host"

My SVN repo is on Cloudforge. I use VS2012 with AnkhSvn for dev. In my Windows Explorer, I am using TortoiseSVN v1.8.7

I am trying to "checkout" my entire project into a fresh folder. It has 2 folders, 1 for the web application, and 1 for the data layer code.

I right clicked within the empty folder and click on Checkout. All seems fine then it suddenly stops with the message:

Error retrieving REPORT: An existing connection was forcibly closed by the remote host

I have Googled this widely experienced issue, but to no avail regarding a solution. Can you recommend some solutions to attempt.

Thanks.

EDIT1:

StackTrace received when attempting Checkout via AnkhSVN.

++++++++++++++++++++

SharpSvn.SvnSystemException: Error retrieving REPORT: An existing connection was forcibly closed by the remote host.
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets) at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets) at SharpSvn.SvnClient.CheckOut(SvnUriTarget url, String path, SvnCheckOutArgs args, SvnUpdateResult& result) at SharpSvn.SvnClient.CheckOut(SvnUriTarget url, String path, SvnCheckOutArgs args) at Ankh.Commands.OpenFromSubversion.PerformCheckout(ProgressWorkerArgs e, SvnUriTarget projectTop, SvnRevision revision, String localDir) at Ankh.Commands.OpenFromSubversion.<>c__DisplayClassc.b__b(Object sender, ProgressWorkerArgs ee) at Ankh.ProgressRunnerService.ProgressRunner.Run(Object arg)

++++++++++++++++++++++++++

Upvotes: 1

Views: 12791

Answers (4)

RooiWillie
RooiWillie

Reputation: 2228

I had the same issue when using VPN with CollabNet's SubversionEdge.

I simply enabled Subversion Server should serve via https in Configuration -> Server Settings and this solved the issue for me.

I also posted this answer here.

Upvotes: 0

Ryan Mann
Ryan Mann

Reputation: 5357

I was having the same error with subversion running on a local server at my office. I was trying to get on it over VPN with tortoise svn. I tried smart svn and got the same error....

Turns out I needed to forward port 1994 for OpenVPN on my router to my machine, giving my machine a reserved ip address and forwarding the port solved my problem.

No more error.

If you are running windows 10, chances are you'll need to forward a port for any VPN you might be using.

Upvotes: 1

augustocbx
augustocbx

Reputation: 782

If you are using Apache, try to put this two lines

SVNAllowBulkUpdates Prefer
LimitXMLRequestBody 0

In your svn config file. Take a look in the following link

http://www.redmine.org/projects/redmine/wiki/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl

Upvotes: -1

bahrep
bahrep

Reputation: 30662

If it worked with AnkhSVN previously and now suddenly stopped then the root cause is most likely on the side of CloudForge hosting. Contact their support or wait.

Upvotes: 1

Related Questions