Clone failure: 'abort: unexpected response from remote server: empty string'

David Razzetti David.Razzetti at viavisolutions.com
Thu May 3 11:12:04 UTC 2018


Hello,

Server: Win64: Mercurial Hg v4.5.3
Client: Win64: Tortoise Hg v4.5.3

Attempts to clone a repository from a server to client PCs fail.  An example clone command and the responses look like this:

hg clone --stream http://sourceserver/hg/Foo c:\Development\Foo
streaming all changes
100412 files to transfer, 4.24 GB of data
abort: unexpected response from remote server: empty string

Clients with existing copies of the repository (the repository has existed for some time) continue to be able to pull and push to it.
I have verified the remote repository by running hg verify locally on the server and all appears to be ok:

hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
99485 files, 55876 changesets, 338410 total revisions

I cannot find much information on the web about this issue.  I saw a response suggesting that the CGI timeout on the internet server might be too small, but it is set at two hours and the clone attempts fail after about five minutes.

How do I go about resolving this issue?

David Razzetti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20180503/690367b2/attachment.html>


More information about the Mercurial mailing list