login community faq

I know that this question is identical to another one in here, but my symptoms are different.

I followed the webfaction git tutorial, and have run this on my git instance:

1
$ git config http.postBuffer 524288000

Just to be clear, here's what's in the config of my repo:

1
2
3
4
5
6
7
8
$ cat config 
[core]
    repositoryformatversion = 0
    filemode = true
    bare = true
[http]
    receivepack = true
    postBuffer = 524288000

Regardless, this still happens:

1
2
3
4
5
6
7
8
9
$ git push
Counting objects: 74, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (62/62), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (73/73), 3.67 MiB | 962 KiB/s, done.
Total 73 (delta 3), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly

The wacky thing is that I'm not even pushing up that much data: only about 120MB. Now I'm still quite new to git, so I thought I might post my local .git/config file too:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
$ cat .git/config 
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = http://USERNAME:PASSWORD@MY.DOMAIN.TLD/REPONAME.git
[branch "master"]
    remote = origin
    merge = refs/heads/master

Honestly, I'm completely out of ideas. If someone can see what I've done wrong, I'd really appreciate it. Note that I know I can do this over SSH, but that's not ideal for my scenario.

asked Feb 10 '12 at 18:06

danielquinn's gravatar image

danielquinn
786


The HTTP error itself is odd, it is a 411 which would likely be from a client bug, what version of git is your client using? Many distributions come with an outdated version in their repo. Try matching versions with what is on the server.

answered Feb 10 '12 at 20:05

johns's gravatar image

johns ♦♦
340427

So after some blind tweaking (and some sleep) I realised that the problem was actually where I ran the postBuffer command. I ran it on the repo end, and not on the client side. Once I ran it client-side everything worked just fine.

Sorry to confuse everyone.

answered Feb 14 '12 at 03:57

danielquinn's gravatar image

danielquinn
786

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×80
×19

Asked: Feb 10 '12 at 18:06

Seen: 1,509 times

Last updated: Feb 14 '12 at 03:57

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited