使用Bonobo在IIS上托管的GIT问题

Cha*_*let 24 windows git iis-7 bonobo

我们使用IIS7在网络服务器上安装了Bonobo Git Server.

一切似乎工作正常,我们创建存储库,我们克隆它们,但是当我们尝试推送时,我们有这个错误:

$ git push origin master
Username:
Password:
Counting objects: 3985, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3561/3561), done.
Writing objects: 100% (3984/3984), 24.67 MiB | 7.70 MiB/s, done.
Total 3984 (delta 645), reused 0 (delta 0)
fatal: protocol error: bad line length character: <!DO
fatal: The remote end hung up unexpectedly
fatal: write error: Invalid argument
Run Code Online (Sandbox Code Playgroud)

它发生在我们进行大型提交时,通常是我们的初始提交.

如果我提交像readme.txt这样的juste就可以了.

我们的大多数回购都是从SVN迁移,我们现在正在使用它大约2周,一切都很顺利,直到我们开始一个新项目并做了一个很大的初始提交.

我没有通过谷歌搜索错误找到任何有用的东西.

我还将我的git.config修改为:

[http]
    postBuffer = 524288000
    sslVerify = false
Run Code Online (Sandbox Code Playgroud)

但它并没有解决我的问题.

非常感谢,

查尔斯

Cha*_*let 28

我发现了问题......事实上它是在Bonobo Web.config文件中

我不得不添加以下行:

<httpRuntime maxRequestLength="2147483647" />
Run Code Online (Sandbox Code Playgroud)

在节点中

<system.web>
Run Code Online (Sandbox Code Playgroud)

  • 我发现此部分还需要一个提升:<system.webServer> <security> <requestLimits maxAllowedContentLength ="102400"/> (5认同)