Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
961 views
in Technique[技术] by (71.8m points)

git - RPC Failed result 22 http code 404

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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:initpubwwwrootBonobo.Git.ServerWeb.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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...