{"thread":{"id":"35324","subject":"Problem while cloning a git repo","startedAt":"2013-11-12T12:50:24Z","lastAt":"2013-11-18T07:31:39Z","messageCount":6,"participants":["ycollette.nospam@free.fr","brian m. carlson","Yann COLLETTE"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"230488","messageId":"597769726.308442105.1384260624974.JavaMail.root@zimbra35-e6.priv.proxad.net","threadId":"35324","inReplyTo":null,"subject":"Problem while cloning a git repo","fromName":"","fromEmail":"ycollette.nospam@free.fr","sentAt":"2013-11-12T12:50:24Z","receivedAt":"2013-11-12T12:50:24Z","isPatch":false,"sender":{"key":"ycollette.nospam@free.fr","avatar":"https://gravatar.com/avatar/2655b38720611596ebeddbdadc1a08edb52b0ac4e2d1f265072d86f9ccbc90ce?d=mp&s=160"},"body":"Hello,\n\nWhen I clone a repository, I get an error from git:\n\ngit clone http://192.168.0.18:8080/test test_Gerrit\nClonage dans 'test_Gerrit'...\nremote: Counting objects: 25106, done\nremote: Finding sources: 100% (25106/25106)\nerror: RPC failed; result=56, HTTP code = 200iB | 8.12 MiB/s   \nfatal: The remote end hung up unexpectedly\nfatal: early EOF\nfatal: index-pack failed\n\nThe repo has some \"big\" zip files commited inside.\nI use fedora 19 64 bits  and git version is 1.8.3.1.\n\nBest regards,\n\nYC\n"},{"id":"230544","messageId":"20131113002035.GK183446@vauxhall.crustytoothpaste.net","threadId":"35324","inReplyTo":"597769726.308442105.1384260624974.JavaMail.root@zimbra35-e6.priv.proxad.net","subject":"Re: Problem while cloning a git repo","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2013-11-13T00:20:35Z","receivedAt":"2013-11-13T00:20:35Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Tue, Nov 12, 2013 at 01:50:24PM +0100, ycollette.nospam@free.fr wrote:\n> Hello,\n> \n> When I clone a repository, I get an error from git:\n> \n> git clone http://192.168.0.18:8080/test test_Gerrit\n> Clonage dans 'test_Gerrit'...\n> remote: Counting objects: 25106, done\n> remote: Finding sources: 100% (25106/25106)\n> error: RPC failed; result=56, HTTP code = 200iB | 8.12 MiB/s   \n\ncurl code 56 is a receive error (CURLE_RECV_ERROR).  It sounds like\nyou're encountering some sort of network error or broken proxy.  Does\ncloning this repository over the git protocol or SSH work, or can you\ntry it over https (to avoid the proxy)?\n\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\n+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187\n"},{"id":"230556","messageId":"52833129.6060707@free.fr","threadId":"35324","inReplyTo":"20131113002035.GK183446@vauxhall.crustytoothpaste.net","subject":"Re: Problem while cloning a git repo","fromName":"Yann COLLETTE","fromEmail":"ycollette.nospam@free.fr","sentAt":"2013-11-13T07:58:33Z","receivedAt":"2013-11-13T07:58:33Z","isPatch":false,"sender":{"key":"ycollette.nospam@free.fr","avatar":"https://gravatar.com/avatar/2655b38720611596ebeddbdadc1a08edb52b0ac4e2d1f265072d86f9ccbc90ce?d=mp&s=160"},"body":"Hello,\n\nWhen I perform the git clone via git, it works. The problem is only \nhappening via http.\nI tried to play with http.postBuffer and I set this parameter to it's \nmaximum (a little bit before a git clone triggered a memory alloc \nproblem) and I see that something big is trying to be downloaded. But I \ndon't see such a big file in my history of commits. The maximum one \nseems to be around 50 Mo ...\n\nLe 13/11/2013 01:20, brian m. carlson a écrit :\n> On Tue, Nov 12, 2013 at 01:50:24PM +0100, ycollette.nospam@free.fr wrote:\n>> Hello,\n>>\n>> When I clone a repository, I get an error from git:\n>>\n>> git clone http://192.168.0.18:8080/test test_Gerrit\n>> Clonage dans 'test_Gerrit'...\n>> remote: Counting objects: 25106, done\n>> remote: Finding sources: 100% (25106/25106)\n>> error: RPC failed; result=56, HTTP code = 200iB | 8.12 MiB/s\n> curl code 56 is a receive error (CURLE_RECV_ERROR).  It sounds like\n> you're encountering some sort of network error or broken proxy.  Does\n> cloning this repository over the git protocol or SSH work, or can you\n> try it over https (to avoid the proxy)?\n>\n"},{"id":"230583","messageId":"20131113234057.GA314350@vauxhall.crustytoothpaste.net","threadId":"35324","inReplyTo":"52832DA0.7040108@free.fr","subject":"Re: Problem while cloning a git repo","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2013-11-13T23:40:58Z","receivedAt":"2013-11-13T23:40:58Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Wed, Nov 13, 2013 at 08:43:28AM +0100, Yann COLLETTE wrote:\n> Hello,\n> \n> When I perform the git clone via git, it works. The problem is only\n> happening via http.\n> I tried to play with http.postBuffer and I set this parameter to\n> it's maximum (a little bit before a git clone triggered a memory\n> alloc problem) and I see that something big is trying to be\n> downloaded. But I don't see such a big file in my history of\n> commits. The maximum one seems to be around 50 Mo ...\n\nPlease keep the list in CC.\n\nhttp.postBuffer doesn't affect clones, only pushes, so that isn't\nrelevant here.  You're experiencing something that is dropping the\nconnection over HTTP.  So you either have a bad proxy, or something else\nis causing the connection to be dropped.  Since it's only over HTTP, I\nsuspect it's the former.\n\nDo you have HTTPS, and if so, does it work if you try to clone over\nthat?\n\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\n+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187\n"},{"id":"230593","messageId":"528487E3.6020503@free.fr","threadId":"35324","inReplyTo":"20131113234057.GA314350@vauxhall.crustytoothpaste.net","subject":"Re: Problem while cloning a git repo","fromName":"Yann COLLETTE","fromEmail":"ycollette.nospam@free.fr","sentAt":"2013-11-14T08:20:51Z","receivedAt":"2013-11-14T08:20:51Z","isPatch":false,"sender":{"key":"ycollette.nospam@free.fr","avatar":"https://gravatar.com/avatar/2655b38720611596ebeddbdadc1a08edb52b0ac4e2d1f265072d86f9ccbc90ce?d=mp&s=160"},"body":"I am not able to clone via https because gerrit doesn't propose this way \nof cloning.\nWhen I clone via http, I see that git is starting the download of objects:\nremote: Counting objects: 256, done\nremote: Finding sources: 100% (256/256)\nReceiving objects: 46% ... (this part always fails at 46 %).\nSo, I think that the proxy part is not a problem (there is no proxy set \nhere).\nIf I set GIT_CURL_VERBOSE=1 before cloning, I've got the following error:\n* Problem (2) in the Chunked-Encoded data\n* Closing connection 1\n\nYC\n\nLe 14/11/2013 00:40, brian m. carlson a écrit :\n> On Wed, Nov 13, 2013 at 08:43:28AM +0100, Yann COLLETTE wrote:\n>> Hello,\n>>\n>> When I perform the git clone via git, it works. The problem is only\n>> happening via http.\n>> I tried to play with http.postBuffer and I set this parameter to\n>> it's maximum (a little bit before a git clone triggered a memory\n>> alloc problem) and I see that something big is trying to be\n>> downloaded. But I don't see such a big file in my history of\n>> commits. The maximum one seems to be around 50 Mo ...\n> Please keep the list in CC.\n>\n> http.postBuffer doesn't affect clones, only pushes, so that isn't\n> relevant here.  You're experiencing something that is dropping the\n> connection over HTTP.  So you either have a bad proxy, or something else\n> is causing the connection to be dropped.  Since it's only over HTTP, I\n> suspect it's the former.\n>\n> Do you have HTTPS, and if so, does it work if you try to clone over\n> that?\n>\n"},{"id":"230747","messageId":"24843648.320766230.1384759899814.JavaMail.root@zimbra35-e6.priv.proxad.net","threadId":"35324","inReplyTo":"528487E3.6020503@free.fr","subject":"Re: Problem while cloning a git repo","fromName":"","fromEmail":"ycollette.nospam@free.fr","sentAt":"2013-11-18T07:31:39Z","receivedAt":"2013-11-18T07:31:39Z","isPatch":false,"sender":{"key":"ycollette.nospam@free.fr","avatar":"https://gravatar.com/avatar/2655b38720611596ebeddbdadc1a08edb52b0ac4e2d1f265072d86f9ccbc90ce?d=mp&s=160"},"body":"When I clone a git repo from github (via https), I've no problems.\nIt looks like that the problem is only related to my \"special\" repo with big zip commited inside.\n\nYC\n\n----- Mail original -----\nDe: \"Yann COLLETTE\" <ycollette.nospam@free.fr>\nÀ: git@vger.kernel.org\nEnvoyé: Jeudi 14 Novembre 2013 09:20:51\nObjet: Re: Problem while cloning a git repo\n\nI am not able to clone via https because gerrit doesn't propose this way \nof cloning.\nWhen I clone via http, I see that git is starting the download of objects:\nremote: Counting objects: 256, done\nremote: Finding sources: 100% (256/256)\nReceiving objects: 46% ... (this part always fails at 46 %).\nSo, I think that the proxy part is not a problem (there is no proxy set \nhere).\nIf I set GIT_CURL_VERBOSE=1 before cloning, I've got the following error:\n* Problem (2) in the Chunked-Encoded data\n* Closing connection 1\n\nYC\n\nLe 14/11/2013 00:40, brian m. carlson a écrit :\n> On Wed, Nov 13, 2013 at 08:43:28AM +0100, Yann COLLETTE wrote:\n>> Hello,\n>>\n>> When I perform the git clone via git, it works. The problem is only\n>> happening via http.\n>> I tried to play with http.postBuffer and I set this parameter to\n>> it's maximum (a little bit before a git clone triggered a memory\n>> alloc problem) and I see that something big is trying to be\n>> downloaded. But I don't see such a big file in my history of\n>> commits. The maximum one seems to be around 50 Mo ...\n> Please keep the list in CC.\n>\n> http.postBuffer doesn't affect clones, only pushes, so that isn't\n> relevant here.  You're experiencing something that is dropping the\n> connection over HTTP.  So you either have a bad proxy, or something else\n> is causing the connection to be dropped.  Since it's only over HTTP, I\n> suspect it's the former.\n>\n> Do you have HTTPS, and if so, does it work if you try to clone over\n> that?\n>\n\n"}]}