{"thread":{"id":"38137","subject":"git push hung?","startedAt":"2014-12-07T14:24:09Z","lastAt":"2014-12-07T19:14:52Z","messageCount":3,"participants":["Jason Pyeron","Torsten Bögershausen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"253281","messageId":"F818AFA80A5F46BBA007F6EB102A75C5@black","threadId":"38137","inReplyTo":null,"subject":"git push hung?","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2014-12-07T14:24:09Z","receivedAt":"2014-12-07T14:24:09Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"I am trying to push to our local intranet git (smart https behind apache), and it has been at this point for 10+ hours.\n\njpyeron@black /projects/git/git\n$ GIT_TRACE=1 git push\n09:08:45.662902 git.c:349               trace: built-in: git 'push'\n09:08:45.662902 run-command.c:341       trace: run_command: 'git-remote-https' 'origin' 'https://intranet.pdinc.us/git/git/'\n09:08:46.225700 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 get'\n09:08:46.256967 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 get' 'git credential-cache --timeout=99999999999 get'\n09:08:46.366400 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'get'\n09:08:46.366400 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'get'\n09:08:47.022999 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 store'\n09:08:47.038632 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 store' 'git credential-cache --timeout=99999999999 store'\n09:08:47.116799 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'store'\n09:08:47.116799 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'store'\n09:08:47.366931 run-command.c:341       trace: run_command: 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'\n09:08:47.382565 exec_cmd.c:134          trace: exec: 'git' 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'\n09:08:47.429465 git.c:349               trace: built-in: git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'\n09:08:47.538898 run-command.c:341       trace: run_command: 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'\n09:08:47.695231 exec_cmd.c:134          trace: exec: 'git' 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'\n09:08:47.742131 git.c:349               trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'\nCounting objects: 18734, done.\nDelta compression using up to 2 threads.\nCompressing objects: 100% (5707/5707), done.\nWriting objects: 100% (18734/18734), 9.37 MiB | 0 bytes/s, done.\nTotal 18734 (delta 14519), reused 17108 (delta 12968)\n\nServier died, this is in the log:\n\nfatal: protocol error: expected old/new/ref, got 'shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b'\n\nWhat steps can I take to debug this hang in the client?\n\nGit fetch hangs the same way with a server exit of fatal: did not find object for shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b\n\nNote: I fixed the underlying problem with a git fetch --unshallow upstream\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nThis message is copyright PD Inc, subject to license 20080407P00.\n"},{"id":"253286","messageId":"5484950D.7080107@web.de","threadId":"38137","inReplyTo":"F818AFA80A5F46BBA007F6EB102A75C5@black","subject":"Re: git push hung?","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2014-12-07T17:57:33Z","receivedAt":"2014-12-07T17:57:33Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 2014-12-07 15.24, Jason Pyeron wrote:\n> I am trying to push to our local intranet git (smart https behind apache), and it has been at this point for 10+ hours.\n> \n> jpyeron@black /projects/git/git\n> $ GIT_TRACE=1 git push\n> 09:08:45.662902 git.c:349               trace: built-in: git 'push'\n> 09:08:45.662902 run-command.c:341       trace: run_command: 'git-remote-https' 'origin' 'https://intranet.pdinc.us/git/git/'\n> 09:08:46.225700 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 get'\n> 09:08:46.256967 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 get' 'git credential-cache --timeout=99999999999 get'\n> 09:08:46.366400 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'get'\n> 09:08:46.366400 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'get'\n> 09:08:47.022999 run-command.c:341       trace: run_command: 'git credential-cache --timeout=99999999999 store'\n> 09:08:47.038632 run-command.c:192       trace: exec: '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 store' 'git credential-cache --timeout=99999999999 store'\n> 09:08:47.116799 git.c:554               trace: exec: 'git-credential-cache' '--timeout=99999999999' 'store'\n> 09:08:47.116799 run-command.c:341       trace: run_command: 'git-credential-cache' '--timeout=99999999999' 'store'\n> 09:08:47.366931 run-command.c:341       trace: run_command: 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'\n> 09:08:47.382565 exec_cmd.c:134          trace: exec: 'git' 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'\n> 09:08:47.429465 git.c:349               trace: built-in: git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://intranet.pdinc.us/git/git/' 'refs/heads/master:refs/heads/master'\n> 09:08:47.538898 run-command.c:341       trace: run_command: 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'\n> 09:08:47.695231 exec_cmd.c:134          trace: exec: 'git' 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'\n> 09:08:47.742131 git.c:349               trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'\n> Counting objects: 18734, done.\n> Delta compression using up to 2 threads.\n> Compressing objects: 100% (5707/5707), done.\n> Writing objects: 100% (18734/18734), 9.37 MiB | 0 bytes/s, done.\n> Total 18734 (delta 14519), reused 17108 (delta 12968)\n> \n> Servier died, this is in the log:\n> \n> fatal: protocol error: expected old/new/ref, got 'shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b'\n> \n> What steps can I take to debug this hang in the client?\n> \n> Git fetch hangs the same way with a server exit of fatal: did not find object for shallow 3339e9f686bd4c17e3575c71327c4ccf1e8e077b\n> \n> Note: I fixed the underlying problem with a git fetch --unshallow upstream\n>\nWas the log above after the git fetch --unshallow upstream ?\nWhat is the output if you run the following commands on the server:\ngit show 3339e9f686bd4c17e\ngit fsck\ngit --version\nwhich git\n\n(And what on the client)\n"},{"id":"253288","messageId":"8A724B8FE46E4B628FCC5A1A8A09918B@black","threadId":"38137","inReplyTo":"5484950D.7080107@web.de","subject":"RE: git push hung?","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2014-12-07T19:14:52Z","receivedAt":"2014-12-07T19:14:52Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"No cc's please, I am on the list.\n> -----Original Message-----\n> From: Torsten Bögershausen \n> Sent: Sunday, December 07, 2014 12:58\n> \n> On 2014-12-07 15.24, Jason Pyeron wrote:\n> > I am trying to push to our local intranet git (smart https \n> behind apache), and it has been at this point for 10+ hours.\n> > \n> > jpyeron@black /projects/git/git\n> > $ GIT_TRACE=1 git push\n> > 09:08:45.662902 git.c:349               trace: built-in: git 'push'\n> > 09:08:45.662902 run-command.c:341       trace: run_command: \n> 'git-remote-https' 'origin' 'https://intranet.pdinc.us/git/git/'\n> > 09:08:46.225700 run-command.c:341       trace: run_command: \n> 'git credential-cache --timeout=99999999999 get'\n> > 09:08:46.256967 run-command.c:192       trace: exec: \n> '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 \n> get' 'git credential-cache --timeout=99999999999 get'\n> > 09:08:46.366400 git.c:554               trace: exec: \n> 'git-credential-cache' '--timeout=99999999999' 'get'\n> > 09:08:46.366400 run-command.c:341       trace: run_command: \n> 'git-credential-cache' '--timeout=99999999999' 'get'\n> > 09:08:47.022999 run-command.c:341       trace: run_command: \n> 'git credential-cache --timeout=99999999999 store'\n> > 09:08:47.038632 run-command.c:192       trace: exec: \n> '/bin/sh' '-c' 'git credential-cache --timeout=99999999999 \n> store' 'git credential-cache --timeout=99999999999 store'\n> > 09:08:47.116799 git.c:554               trace: exec: \n> 'git-credential-cache' '--timeout=99999999999' 'store'\n> > 09:08:47.116799 run-command.c:341       trace: run_command: \n> 'git-credential-cache' '--timeout=99999999999' 'store'\n> > 09:08:47.366931 run-command.c:341       trace: run_command: \n> 'send-pack' '--stateless-rpc' '--helper-status' '--thin' \n> '--progress' 'https://intranet.pdinc.us/git/git/' \n> 'refs/heads/master:refs/heads/master'\n> > 09:08:47.382565 exec_cmd.c:134          trace: exec: 'git' \n> 'send-pack' '--stateless-rpc' '--helper-status' '--thin' \n> '--progress' 'https://intranet.pdinc.us/git/git/' \n> 'refs/heads/master:refs/heads/master'\n> > 09:08:47.429465 git.c:349               trace: built-in: \n> git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' \n> '--progress' 'https://intranet.pdinc.us/git/git/' \n> 'refs/heads/master:refs/heads/master'\n> > 09:08:47.538898 run-command.c:341       trace: run_command: \n> 'pack-objects' '--all-progress-implied' '--revs' '--stdout' \n> '--thin' '--delta-base-offset' '--progress'\n> > 09:08:47.695231 exec_cmd.c:134          trace: exec: 'git' \n> 'pack-objects' '--all-progress-implied' '--revs' '--stdout' \n> '--thin' '--delta-base-offset' '--progress'\n> > 09:08:47.742131 git.c:349               trace: built-in: \n> git 'pack-objects' '--all-progress-implied' '--revs' \n> '--stdout' '--thin' '--delta-base-offset' '--progress'\n> > Counting objects: 18734, done.\n> > Delta compression using up to 2 threads.\n> > Compressing objects: 100% (5707/5707), done.\n> > Writing objects: 100% (18734/18734), 9.37 MiB | 0 bytes/s, done.\n> > Total 18734 (delta 14519), reused 17108 (delta 12968)\n> > \n> > Servier died, this is in the log:\n> > \n> > fatal: protocol error: expected old/new/ref, got 'shallow \n> 3339e9f686bd4c17e3575c71327c4ccf1e8e077b'\n> > \n> > What steps can I take to debug this hang in the client?\n> > \n> > Git fetch hangs the same way with a server exit of fatal: \n> did not find object for shallow \n> 3339e9f686bd4c17e3575c71327c4ccf1e8e077b\n> > \n> > Note: I fixed the underlying problem with a git fetch \n> --unshallow upstream\n> >\n> Was the log above after the git fetch --unshallow upstream ?\n> What is the output if you run the following commands on the server:\n\nI will have to make a testcase, sice the underlying problem was fixed at the time.\n\n> git show 3339e9f686bd4c17e\n\njpyeron@black /projects/git/git\n$ git show 3339e9f686bd4c17e\ncommit 3339e9f686bd4c17e3575c71327c4ccf1e8e077b\nAuthor: Nicolas Pitre <nico@cam.org>\nDate:   Wed Jul 16 02:31:38 2008 -0400\n...\n> git fsck\njpyeron@black /projects/git/git\n$ git fsck\nChecking object directories: 100% (256/256), done.\nChecking objects: 100% (188541/188541), done.\nChecking connectivity: 183572, done.\n> git --version\n> which git\n> \n> (And what on the client)\n\njpyeron@black /projects/git/git\n$ git --version\ngit version 2.1.1\n\nroot@server /\n# git --version\ngit version 1.7.9.6\n\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nThis message is copyright PD Inc, subject to license 20080407P00. \n"}]}