Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with GIT hosted on IIS with Bonobo

Tags:

We installed Bonobo Git Server on a webserver using IIS7.

Everything seems to work fine, we create repositories, we clone them, but when we try to push we have this error:

$ 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 

It happens when we do a big commit, usually our initial commit.

If I commit juste something like readme.txt it works just fine.

Most of our repos are migrations from SVN, we are working with it for about 2 weeks now and everything went great until we started a new project and made a big initial commit.

I did not manage to find anything useful by googling the error.

I also modified my git.config to this:

[http]     postBuffer = 524288000     sslVerify = false 

But it does not solve my issue.

Thanks a lot,

Charles

like image 454
Charles Ouellet Avatar asked Aug 22 '11 19:08

Charles Ouellet


People also ask

What is Bonobo git server?

Bonobo Git Server for Windows is a web application you can install on your IIS. It provides an easy management tool and access to your git repositories that are self hosted on your server.

Can you run a git server on Windows?

Git is free and open source software. One can download and use it without any restrictions. Follow the steps given below to install Git on a Windows server: 1.


1 Answers

I found the problem...In fact it was in Bonobo Web.config file

I had to add the following line:

<httpRuntime maxRequestLength="2147483647" /> 

in the node

<system.web> 
like image 90
Charles Ouellet Avatar answered Sep 18 '22 18:09

Charles Ouellet