ExCluSiv3
ExCluSiv3

Reputation: 13

Git/Gitlab Push RPC failed; result=22, HTTP code = 411

i got a problem with Git, i get an rpc error when pushing a large Commit over http (RPC failed; result=22, HTTP code = 411)

Since ssh is really slow (about 250 - 300 kb/s) and the commit is about 7 gb i REALLY want to use http for this.

I am google'ing since yesterday but can't find an answer.

As is stated in the title i'm using gitlab. I already changed the pustBuffer size locally, set the client_max_body_size in nginx and updated the commit size in the gitlab.yml and changed the pack sizes, but nothing helped.

Do you have an idea what i could try?

Thanks in advance!

Upvotes: 0

Views: 437

Answers (1)

ExCluSiv3
ExCluSiv3

Reputation: 13

So the problem was caused by the "nativ" Nginx version of Debian 7. In there Repo's it has version 1.2.1 and in this Version it doesn't support chunked files. Updating Nginx over DotDep to version 1.6 solved the Problem.

Upvotes: 1

Related Questions