Pages

Tuesday, March 6, 2012

Bonobo Git Server - "The remote end hung up unexpectedly"

Problem:
The following error occurs in SmartGit when trying to push an existing local repository to a new remote repository on Bonobo Git Server:
Push:
The remote end hung up unexpectedly
The remote end hung up unexpectedly
RPC failed; result=22, HTTP code = 404

Solution:
Modify the web.config file in the root of Bonobo.Git.Server (C:\initpub\wwwroot\Bonobo.Git.Server\Web.config) and up the limits on the following lines:

<system.web>
   <httpRuntime maxRequestLength="102400" />


<security>
   <requestFiltering>
     <requestLimits maxAllowedContentLength="102400" />

In both cases "102400" was replaced with "999999999" and the push worked!

References:

  1. windows - Issue with GIT hosted on IIS with Bonobo - Stack Overflow

4 comments:

  1. Thanks, that fixed it for me.

    ReplyDelete
  2. You are my hero of the day! :)

    Thanks a lot!
    Max

    ReplyDelete
  3. Thanks a lot, this really helped.

    ReplyDelete
  4. Thank you so much! I solved the problem so far!

    ReplyDelete