git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git clone fails with "bad pack header", how to get remote log

From
KMkevin molcard <kev2041-re5jqeeqqe8avxtiumwx3w@public.gmane.org>
Date
Oct 30, 2012, 14:57 UTC
Message-ID
<508FEAE0.20204@gmail.com>
In-Reply-To
<20121029211854.b58c791d30a6c8d68665e574-g5ZlayWIM10NZ+ppGFcyYQ@public.gmane.org>

I tried to install git 1.8 on the remote server and get exactly the same problem :(.

Kevin
On 10/29/12 6:18 PM, Konstantin Khomoutov wrote:
Show 43 quoted lines
> On Mon, 29 Oct 2012 09:52:54 -0700 (PDT)
> Kevin Molcard <kev2041-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> I have a problem with my build system.
>>
>> I have a remote server with a relatively large repository (around 12
>> GB, each branch having a size of 3 GB).
>>
>> I have also 2 build servers (Mac, Windows) that are cloning the repo
>> from the remote.
>>
>> Sometimes (very often when several git clone are sent at the same
>> time), I have the following error:
>>          
>>      remote: internal server error
>>      fatal: protocol error: bad pack header
>>
>> I know that it happens when the remote is compressing objects (thanks
>> to `--progress -v` flags) because the last line of the log before the
>> erro is:
>>      remote: Compressing objects:  93% (17959/19284)   [K
>>
>>   * So I have 2 questions, does anybody what is the problem and what
>> should I do?
>>   * Is there a way to get a more precise log from the remote to debug
>> this problem?
> This reminds me of a bug fixed in 1.7.12.1 [1]:
>
> * When "git push" triggered the automatic gc on the receiving end, a
>    message from "git prune" that said it was removing cruft leaked to
>    the standard output, breaking the communication protocol.
>
> In any case, bugs should be reported to the main Git list (which is
> git at vger.kernel.org), not here.
> I'm Cc'ing the main Git list so you'll get any responses from there, if
> any.
>
> Kevin, please answer to this message (keeping all the Ccs -- use "Reply
> to group" or "Reply to all" in your MUA) and describe exactly what Git
> versions on which platforms your have.
>
> 1. https://raw.github.com/git/git/master/Documentation/RelNotes/1.7.12.1.txt
>
-- 
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To post to this group, send email to git-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to git-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Previous: kevin molcardNext: Jeff King
Message 4 of 9 in “Re: Git clone fails with "bad pack header", how to get remote log”
  1. Konstantin KhomoutovOct 29, 2012
  2. kevin molcardOct 30, 2012
  3. Fwd: Re: [git-users] Git clone fails with "bad pack header", how to get remote logkevin molcard, Oct 31, 2012
  4. kevin molcardOct 30, 2012
  5. Jeff KingOct 31, 2012
  6. kevin molcardOct 31, 2012
  7. kevin molcardOct 31, 2012
  8. Jeff KingNov 1, 2012
  9. kevin molcardNov 1, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.