RPC Failed result 22 http code 404

2019-02-16 20:26发布

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?

标签: git bonobo
2条回答
狗以群分
2楼-- · 2019-02-16 21:00

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!

查看更多
祖国的老花朵
3楼-- · 2019-02-16 21:03

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

查看更多
登录 后发表回答