* Re: Git clone fails with "bad pack header", how to get remote log [not found] ` <7f498800-ed38-474d-86ad-cb937be68173-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2012-10-29 17:18 ` Konstantin Khomoutov 2012-10-30 7:01 ` [git-users] " kevin molcard ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Konstantin Khomoutov @ 2012-10-29 17:18 UTC (permalink / raw) To: git-users-/JYPxA39Uh5TLH3MbocFFw Cc: Kevin Molcard, git-u79uwXL29TY76Z2rM5mHXA 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [git-users] Git clone fails with "bad pack header", how to get remote log 2012-10-29 17:18 ` Git clone fails with "bad pack header", how to get remote log Konstantin Khomoutov @ 2012-10-30 7:01 ` kevin molcard [not found] ` <20121029211854.b58c791d30a6c8d68665e574-g5ZlayWIM10NZ+ppGFcyYQ@public.gmane.org> 2012-10-31 14:17 ` Fwd: " kevin molcard 2 siblings, 0 replies; 10+ messages in thread From: kevin molcard @ 2012-10-30 7:01 UTC (permalink / raw) To: Konstantin Khomoutov; +Cc: git-users, git Hi Konstantin, thanks for the reply. The versions of git are: - on remote: 1.5.6.5 - on windows build machine: 1.7.11.msysgit.1 - on mac build machine: 1.7.3.4 I will try to install latest git version on my remote server and get back to you. thanks again Kevin On 10/29/12 6:18 PM, Konstantin Khomoutov wrote: > On Mon, 29 Oct 2012 09:52:54 -0700 (PDT) > Kevin Molcard <kev2041@gmail.com> 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 > ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20121029211854.b58c791d30a6c8d68665e574-g5ZlayWIM10NZ+ppGFcyYQ@public.gmane.org>]
* Re: Git clone fails with "bad pack header", how to get remote log [not found] ` <20121029211854.b58c791d30a6c8d68665e574-g5ZlayWIM10NZ+ppGFcyYQ@public.gmane.org> @ 2012-10-30 14:57 ` kevin molcard 2012-10-31 14:19 ` [git-users] " Jeff King 0 siblings, 1 reply; 10+ messages in thread From: kevin molcard @ 2012-10-30 14:57 UTC (permalink / raw) To: Konstantin Khomoutov Cc: git-users-/JYPxA39Uh5TLH3MbocFFw, git-u79uwXL29TY76Z2rM5mHXA 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: > 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. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [git-users] Git clone fails with "bad pack header", how to get remote log 2012-10-30 14:57 ` kevin molcard @ 2012-10-31 14:19 ` Jeff King [not found] ` <20121031141955.GC24291-bBVMEuqLR+SYVEpFpFwlB0AkDMvbqDRI@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Jeff King @ 2012-10-31 14:19 UTC (permalink / raw) To: kevin molcard; +Cc: Konstantin Khomoutov, git-users, git 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20121031141955.GC24291-bBVMEuqLR+SYVEpFpFwlB0AkDMvbqDRI@public.gmane.org>]
* Re: Git clone fails with "bad pack header", how to get remote log [not found] ` <20121031141955.GC24291-bBVMEuqLR+SYVEpFpFwlB0AkDMvbqDRI@public.gmane.org> @ 2012-10-31 14:25 ` kevin molcard 2012-10-31 14:34 ` kevin molcard 1 sibling, 0 replies; 10+ messages in thread From: kevin molcard @ 2012-10-31 14:25 UTC (permalink / raw) To: Jeff King Cc: Konstantin Khomoutov, git-users-/JYPxA39Uh5TLH3MbocFFw, git-u79uwXL29TY76Z2rM5mHXA Yes I can, can you tell me how I have to do that? thanks Kevin On 10/31/12 3:19 PM, Jeff King wrote: > 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 > -- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Git clone fails with "bad pack header", how to get remote log [not found] ` <20121031141955.GC24291-bBVMEuqLR+SYVEpFpFwlB0AkDMvbqDRI@public.gmane.org> 2012-10-31 14:25 ` kevin molcard @ 2012-10-31 14:34 ` kevin molcard 2012-11-01 11:15 ` [git-users] " Jeff King 1 sibling, 1 reply; 10+ messages in thread From: kevin molcard @ 2012-10-31 14:34 UTC (permalink / raw) To: Jeff King Cc: Konstantin Khomoutov, git-users-/JYPxA39Uh5TLH3MbocFFw, git-u79uwXL29TY76Z2rM5mHXA 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: > 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 > -- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [git-users] Git clone fails with "bad pack header", how to get remote log 2012-10-31 14:34 ` kevin molcard @ 2012-11-01 11:15 ` Jeff King 2012-11-01 15:38 ` kevin molcard 0 siblings, 1 reply; 10+ messages in thread From: Jeff King @ 2012-11-01 11:15 UTC (permalink / raw) To: kevin molcard; +Cc: Konstantin Khomoutov, git On Wed, Oct 31, 2012 at 03:34:22PM +0100, kevin molcard wrote: > 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. Yeah, that is very important. If I am reading the scm-manager code right (and I might not be, as I only just looked at it), it is built entirely around JGit, and is not calling git-core programs at all. So it is either an issue in scm-manager, or in JGit. Your best bet is probably to report the issue to the scm-manager folks, who can probably help you dig into the problem further (it may even have more detailed logs of what happened, but I don't know). -Peff ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [git-users] Git clone fails with "bad pack header", how to get remote log 2012-11-01 11:15 ` [git-users] " Jeff King @ 2012-11-01 15:38 ` kevin molcard 0 siblings, 0 replies; 10+ messages in thread From: kevin molcard @ 2012-11-01 15:38 UTC (permalink / raw) To: Jeff King; +Cc: Konstantin Khomoutov, git Hi Peff, thanks for this information. I will report the issue to scm-manager. In the meantime I will try to use ssh protocol to connect to my remote server. Thanks again, Kevin 2012/11/1 Jeff King <peff@peff.net>: > On Wed, Oct 31, 2012 at 03:34:22PM +0100, kevin molcard wrote: > >> 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. > > Yeah, that is very important. If I am reading the scm-manager code right > (and I might not be, as I only just looked at it), it is built entirely > around JGit, and is not calling git-core programs at all. So it is > either an issue in scm-manager, or in JGit. > > Your best bet is probably to report the issue to the scm-manager folks, > who can probably help you dig into the problem further (it may even have > more detailed logs of what happened, but I don't know). > > -Peff ^ permalink raw reply [flat|nested] 10+ messages in thread
* Fwd: Re: [git-users] Git clone fails with "bad pack header", how to get remote log 2012-10-29 17:18 ` Git clone fails with "bad pack header", how to get remote log Konstantin Khomoutov 2012-10-30 7:01 ` [git-users] " kevin molcard [not found] ` <20121029211854.b58c791d30a6c8d68665e574-g5ZlayWIM10NZ+ppGFcyYQ@public.gmane.org> @ 2012-10-31 14:17 ` kevin molcard 2 siblings, 0 replies; 10+ messages in thread From: kevin molcard @ 2012-10-31 14:17 UTC (permalink / raw) To: git Hi all, I am forwarding a reply I got from a message I sent to git user mailing list because of a "bad pack header error" (more information below). I will forward another email where I give all the git versions of my system. Any clue on this would be much appreciated. Thanks in advance Kevin -------- Original Message -------- Subject: Re: [git-users] Git clone fails with "bad pack header", how to get remote log Date: Mon, 29 Oct 2012 21:18:54 +0400 From: Konstantin Khomoutov <flatworm@users.sourceforge.net> To: git-users@googlegroups.com CC: Kevin Molcard <kev2041@gmail.com>, git@vger.kernel.org On Mon, 29 Oct 2012 09:52:54 -0700 (PDT) Kevin Molcard <kev2041@gmail.com> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20121031152837.4c0f8ce84fae14ba36429605@domain007.com>]
* Fwd: Re: [git-users] Git clone fails with "bad pack header", how to get remote log [not found] <20121031152837.4c0f8ce84fae14ba36429605@domain007.com> @ 2012-10-31 14:20 ` kevin molcard 0 siblings, 0 replies; 10+ messages in thread From: kevin molcard @ 2012-10-31 14:20 UTC (permalink / raw) To: git Hi all again, here is my second email :). It contains the git versions in my system. FYI, I updated git to 1.8.0 on my remote but still having the same issue. Another thing that might be interesting is that it seems to happen only when cloning from Windows build machine (i.e. I send 2 clone command on from the mac and 2 from the Windows and it seems to always fails on the Windows). Thanks again Kevin -------- Original Message -------- Subject: Re: [git-users] Git clone fails with "bad pack header", how to get remote log Date: Wed, 31 Oct 2012 15:28:37 +0400 From: Konstantin Khomoutov <flatworm@users.sourceforge.net> To: kevin molcard <kev2041@gmail.com> CC: git-users@googlegroups.com On Tue, 30 Oct 2012 08:01:12 +0100 kevin molcard <kev2041@gmail.com> wrote: > thanks for the reply. > The versions of git are: > - on remote: 1.5.6.5 > - on windows build machine: 1.7.11.msysgit.1 > - on mac build machine: 1.7.3.4 > > I will try to install latest git version on my remote server and get > back to you. Hi, Kevin. I noticed my Cc'ed messages did not reach the main Git list for some reason (even though I did see these my messages coming from the list-management software), and the did not show up on Gmane [1]. I do not know what's the reason is, so please try forwarding my first reply to your original message and the message I'm replying to now (with versions of software involved) to that list yourself -- maybe you'll be more lucky. Sorry for the delay. 1. http://thread.gmane.org/gmane.comp.version-control.git/ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-11-01 15:39 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <7f498800-ed38-474d-86ad-cb937be68173@googlegroups.com> [not found] ` <7f498800-ed38-474d-86ad-cb937be68173-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2012-10-29 17:18 ` Git clone fails with "bad pack header", how to get remote log Konstantin Khomoutov 2012-10-30 7:01 ` [git-users] " kevin molcard [not found] ` <20121029211854.b58c791d30a6c8d68665e574-g5ZlayWIM10NZ+ppGFcyYQ@public.gmane.org> 2012-10-30 14:57 ` kevin molcard 2012-10-31 14:19 ` [git-users] " Jeff King [not found] ` <20121031141955.GC24291-bBVMEuqLR+SYVEpFpFwlB0AkDMvbqDRI@public.gmane.org> 2012-10-31 14:25 ` kevin molcard 2012-10-31 14:34 ` kevin molcard 2012-11-01 11:15 ` [git-users] " Jeff King 2012-11-01 15:38 ` kevin molcard 2012-10-31 14:17 ` Fwd: " kevin molcard [not found] <20121031152837.4c0f8ce84fae14ba36429605@domain007.com> 2012-10-31 14:20 ` kevin molcard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).