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 31, 2012, 14:34 UTC
Message-ID
<509136EE.6040705@gmail.com>
In-Reply-To
<20121031141955.GC24291-bBVMEuqLR+SYVEpFpFwlB0AkDMvbqDRI@public.gmane.org>

I forgot to mention that I am using scm manager: https://bitbucket.org/sdorra/scm-manager/wiki/Home

So that maybe the " custom layer you are talking about.
Kevin
On 10/31/12 3:19 PM, Jeff King wrote:
Show 21 quoted lines
> On Tue, Oct 30, 2012 at 03:57:36PM +0100, kevin molcard wrote:
>
>> I tried to install git 1.8 on the remote server and get exactly the
>> same problem :(.
>> [...]
>>>> 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'm very confused about who is printing "internal server error". The
> "remote:" indicates that it came to the git client via the sideband,
> which means it probably came from the stderr of a child process (e.g.,
> pack-objects). But git does not and has never generated the phrase
> "internal server error".
>
> So what program is producing that? Is there some kind of custom layer
> that might be run when upload-pack runs "git pack-objects ..."? Can you
> try running strace on the server?
>
> -Peff
>
Previous: kevin molcardNext: Jeff King
Message 7 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.