git - RPC 失败结果 22 http 代码 404

标签 git bonobo

我使用的是 Bonobo Git 服务器,一切看起来都很好。我将我所有的旧 SVN repo 移动到 GIT,甚至使用 +760 的大 repo (大约 3.5 GB)提交“git svn clone”和“git push”工作得很好。

但对于小型存储库则不然:它只有 3Mb(未压缩)和 1 次提交。 我总是收到的消息是:

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

我已经按照推荐更改了 bonobo webconfig here我已经做了 this config command .

那么,有人有任何其他线索吗?

最佳答案

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

这是解决方案

解决方法: 修改 Bonobo.Git.Server 根目录 (C:\initpub\wwwroot\Bonobo.Git.Server\Web.config) 中的 web.config 文件,并在以下行中增加限制:

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


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

在这两种情况下,“102400”都被替换为“999999999”,推送成功了!

关于git - RPC 失败结果 22 http 代码 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13456025/

相关文章:

git - 将 bonobo git 服务器存储库移动到另一个驱动器

sql-server - 带有 Bonobo GIT 的 SQL 服务器

git - 我可以将 git local 与 apache localhost 集成吗?

git - 将克隆的 git 存储库转换为子模块

git - Sublime Text -根据文件的修订状态为文件着色

linux - Gitea无法获取存储库

git - 如何从已删除的分支中永久删除提交?

git - 如何将 GIT 存储库从 Bonobo GIT Server 导入到 Visual Studio Team Services

asp.net - 本地 Git 服务器设置(使用 bonobo)