{"thread":{"id":"29988","subject":"Git stops forever while cloning remote repo","startedAt":"2012-03-18T13:47:26Z","lastAt":"2012-04-13T18:35:52Z","messageCount":3,"participants":["oldb0t@ro.ru","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"187207","messageId":"805073108.1332078446.170729064.12423@mcgi-wr-20.rambler.ru","threadId":"29988","inReplyTo":null,"subject":"Git stops forever while cloning remote repo","fromName":"","fromEmail":"oldb0t@ro.ru","sentAt":"2012-03-18T13:47:26Z","receivedAt":"2012-03-18T13:47:26Z","isPatch":false,"sender":{"key":"oldb0t@ro.ru","avatar":null},"body":"Hello all.\n\nI try to clone https://github.com/angband/angband.git locally, and git \nstops in the middle, again and again, in different places. For instance, \none time it was 38% of full repo, and another time it was 4% of depth 1 \nshallow clone. Once it stopped, it doesn't try to continue anymore, just \nget stuk forever. My internet connection is fine, all other works \nperfect: wget, browsers, mail client. Is there any way to force git to \nretry the connection? Something like wget does with -t and -T options. I \nuse git 1.7.9.1 from Debian testing.\n\n--\nBrgds, oldbot\n"},{"id":"188529","messageId":"20120404210707.GA5054@sigill.intra.peff.net","threadId":"29988","inReplyTo":"805073108.1332078446.170729064.12423@mcgi-wr-20.rambler.ru","subject":"Re: Git stops forever while cloning remote repo","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-04-04T21:07:07Z","receivedAt":"2012-04-04T21:07:07Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sun, Mar 18, 2012 at 05:47:26PM +0400, oldb0t@ro.ru wrote:\n\n> I try to clone https://github.com/angband/angband.git locally, and\n> git stops in the middle, again and again, in different places. For\n> instance, one time it was 38% of full repo, and another time it was\n> 4% of depth 1 shallow clone. Once it stopped, it doesn't try to\n> continue anymore, just get stuk forever. My internet connection is\n> fine, all other works perfect: wget, browsers, mail client.\n\nI tried to reproduce this here, but it works fine for me. Have you tried\ncloning from git://github.com/angband/angband.git instead? If that works\nbetter, that would give us a data point about where the problem is.\n\n> Is there any way to force git to retry the connection? Something like\n> wget does with -t and -T options. I use git 1.7.9.1 from Debian\n> testing.\n\nUnfortunately, no. Because the packs are generated on the fly, resuming\nis tricky. One solution is to create static \"bundles\" that are\nresumable, but not every service (nor most, really) does that[1].\nHowever, you can try Tomas's bundler service, which will generate a\nresumable bundle for you:\n\n  https://bundler.caurea.org/\n\n-Peff\n\n[1] I hope to eventually have GitHub do this itself, but right now the\n    client side of it is very manual. I have some patches in the works\n    to make this happen transparently if the server advertises a bundle\n    mirror.\n"},{"id":"189202","messageId":"1050185255.1334342152.89018696.94536@mperl102.rambler.ru","threadId":"29988","inReplyTo":"20120404210707.GA5054@sigill.intra.peff.net","subject":"Re: Git stops forever while cloning remote repo","fromName":"","fromEmail":"oldb0t@ro.ru","sentAt":"2012-04-13T18:35:52Z","receivedAt":"2012-04-13T18:35:52Z","isPatch":false,"sender":{"key":"oldb0t@ro.ru","avatar":null},"body":"* Jeff King <peff@peff.net> [Wed, 4 Apr 2012 17:07:07 -0400]:\n> I tried to reproduce this here, but it works fine for me. Have you \ntried> cloning from git://github.com/angband/angband.git instead? If \nthat works\n> better, that would give us a data point about where the problem is.\nI retried it a few days later, and all worked fine. Sorry for silence, \njust didn't have access to this mailbox at the moment.\n\n> One solution is to create static \"bundles\" that are\n> resumable, but not every service (nor most, really) does that[1].\n> However, you can try Tomas's bundler service, which will generate a\n> resumable bundle for you:\n>   https://bundler.caurea.org/\nThanks a lot. Should be a good workaround for this kind of problem. I'll \ntry it next time on similar occassion.\n"}]}