RPC Failed result 22 http code 404

2019-02-16 20:22发布

问题:

Im using Bonobo Git Server and everything looks fine. Im movin all my old SVN repos to GIT and even with big repos (about 3.5 GB) with +760 commits the "git svn clone" and "git push" is working really fine.

But not with a tiny repository: it has just 3Mb (uncompressed) and just 1 commit. The message i always get is:

efrror: RPC Failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly

I already change the bonobo webconfig as recomened here and I already did this config command.

So, anyone has any other clue?

回答1:

Based in http://gisgeek.blogspot.com/2012/03/bonobo-git-server-remote-end-hung-up.html.

This is the solution

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!



回答2:

I just modified my file and commit the code again, everything was working fine.



标签: git bonobo