Error : an existing connection was foribly by the remote host

Geoffroy's Avatar

Geoffroy

28 May, 2016 03:21 AM

Hi,
I'm currently trying to push a big repo to new installation of HgLab with IIS7. After few minutes I'm getting this error : Error : an existing connection was foribly by the remote host. It seems there was few post reporting similar error for big file pushing. It was in 2012 and 2013. is python issues are still present? I have enable win 32 application. I do not have issue to push small repo. I have run the push command with debug and it is stopping with the error after 14.85% of sending the repo. (repo is about 6 Gig) Do you have any suggestion how I can fix that?

  1. 1 Posted by Geoffroy on 29 May, 2016 05:13 AM

    Geoffroy's Avatar

    I have continued working to get it work. Following post on similar subject I have changed web.config file with this data

     <system.web>
    <httpRuntime>
    enableVersionHeader="false"
    executionTimeout="3600"
    maxRequestLength="536870"
    maxUrlLength="8192"
    maxQueryStringLength="8192"
    </httpRuntime>
      </system.web>
      <system.webServer>
    <security>
    <requestFiltering allowDoubleEscaping="true">
    <requestLimits maxQueryString="8192" maxAllowedContentLength="536870912" />
    </requestFiltering>
    </security>
      </system.webServer>

    When I use that in my web.config file my IIS is working great but hgLab stop working. If I remove complete httpRuntime section now IIS and HgLab are working. But the issue to push my code is still there.

  2. Support Staff 2 Posted by Anton Gogolev on 30 May, 2016 09:04 AM

    Anton Gogolev's Avatar

    Hi, Geoffroy!

    This is IIS kicking in here. What Mercurial does is it creates a huge file
    with all the changesets and tries to send it over to the remote server. IIS
    cannot be configured to accept files larger than 4 Gb.

    What you can try is to push your repository bit-by-bit, as described here:

    https://hglabhq.com/blog/2014/6/20/working-with-mercurial-over-unreliable-connections

  3. 3 Posted by Geoffroy on 31 May, 2016 03:49 AM

    Geoffroy's Avatar

    The idea to push small group of revision is interesting. I have started to try that with some success. It was working for around 25 revisions. At one moment I was pushing a single revision but I get this error HTTP Error 404 : Not found. I'm progressing but still improvement to do

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 09:07 AM
30 Jul, 2019 08:59 PM
31 May, 2019 02:29 PM
26 Nov, 2018 01:47 PM
16 Nov, 2018 07:51 PM

 

06 Nov, 2018 04:30 PM
24 Oct, 2018 07:57 AM
20 Jul, 2018 11:07 PM
05 Jul, 2018 10:53 AM
27 May, 2018 01:33 AM
14 May, 2018 03:38 PM