WebFaction
Community site: login faq

I am getting the following error when trying to push from my local machine to a new git repo on my WebFaction account:

Counting objects: 1558, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1430/1430), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (1558/1558), 2.83 MiB | 2.42 MiB/s, done.
Total 1558 (delta 263), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
fatal: expected ok/error, helper said '4004ir??z?1??:'

fatal: write error: Broken pipe

HTTP 411 apparently means the server was expecting a Content-Length header.

I have git version: 1.7.2.3.msysgit.0

asked 19 Nov '11, 14:01

anentropic's gravatar image

anentropic
81710
accept rate: 0%


Ok, googled some and found it was my http 'post buffer' was too small. Setting it to be enormous fixed it:

git config http.postBuffer 524288000

http://stackoverflow.com/questions/2702731/git-fails-when-pushing-commit-to-github

permanent link

answered 19 Nov '11, 14:06

anentropic's gravatar image

anentropic
81710
accept rate: 0%

edited 19 Nov '11, 14:06

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×106

question asked: 19 Nov '11, 14:01

question was seen: 4,672 times

last updated: 19 Nov '11, 14:06

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM