{"thread":{"id":"26336","subject":"fatal: protocol error: bad line length character: GET <<<<<","startedAt":"2011-01-26T04:53:11Z","lastAt":"2011-01-26T06:40:27Z","messageCount":3,"participants":["Alan Sargent","Ilari Liusvaara"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"159871","messageId":"AANLkTimDbHdOwkPu6qihdgJFY0bS0XTVatLCriCmM1nX@mail.gmail.com","threadId":"26336","inReplyTo":null,"subject":"fatal: protocol error: bad line length character: GET <<<<<","fromName":"Alan Sargent","fromEmail":"alsarg72@gmail.com","sentAt":"2011-01-26T04:53:11Z","receivedAt":"2011-01-26T04:53:11Z","isPatch":false,"sender":{"key":"alsarg72@gmail.com","avatar":null},"body":"Hello,\n\nThe \"fatal: protocol error: bad line length character\" seems fairly\ncommon, but in the archive and the faq there isn't reference to this\nparticular instances - GET.\n\nalan@toaster:~$ git init myrepo\nInitialized empty Git repository in /home/nev/myrepo/.git/\nalan@toaster:~$ cd myrepo\nalan@toaster:~/myrepo$ git daemon\nfatal: protocol error: bad line length character: GET  << just hitting\nF5 in the browser\nfatal: protocol error: bad line length character: GET\nbrowser showing Error 101 (net::ERR_CONNECTION_RESET): Unknown error.\nfatal: protocol error: bad line length character: GET\nfatal: protocol error: bad line length character: GET\nfatal: protocol error: bad line length character: GET\nfatal: protocol error: bad line length character: GET\nfatal: protocol error: bad line length character: GET\n\nThis is on Ubuntu, git installed fresh or built it from latest stable\nsource. Same on a repo that has stuff in it.\n\nAnyone know why?\n\nCheers.\n"},{"id":"159873","messageId":"20110126055955.GA13304@LK-Perkele-VI.localdomain","threadId":"26336","inReplyTo":"AANLkTimDbHdOwkPu6qihdgJFY0bS0XTVatLCriCmM1nX@mail.gmail.com","subject":"Re: fatal: protocol error: bad line length character: GET <<<<<","fromName":"Ilari Liusvaara","fromEmail":"ilari.liusvaara@elisanet.fi","sentAt":"2011-01-26T05:59:55Z","receivedAt":"2011-01-26T05:59:55Z","isPatch":false,"sender":{"key":"ilari.liusvaara@elisanet.fi","avatar":null},"body":"On Wed, Jan 26, 2011 at 12:53:11PM +0800, Alan Sargent wrote:\n> Hello,\n> \n> The \"fatal: protocol error: bad line length character\" seems fairly\n> common, but in the archive and the faq there isn't reference to this\n> particular instances - GET.\n> \n> alan@toaster:~$ git init myrepo\n> Initialized empty Git repository in /home/nev/myrepo/.git/\n> alan@toaster:~$ cd myrepo\n> alan@toaster:~/myrepo$ git daemon\n> fatal: protocol error: bad line length character: GET  << just hitting\n> F5 in the browser\n> fatal: protocol error: bad line length character: GET\n[...]\n\nGit daemon serves git:// protocol, not HTTP, you can't access it from\nweb browser.\n\nIf you are looking for Git repository web interface, look at gitweb\nor cgit.\n\nThe error is because HTTP begins the request with \"GET \" and git\ndaemon is trying to interpret that as length of packet, failing\nand spitting out a fatal error.\n\n-Ilari\n"},{"id":"159874","messageId":"AANLkTin2Fn4mbrrDF4ceEYQZoyGRNymsk0aouBaUp94-@mail.gmail.com","threadId":"26336","inReplyTo":"20110126055955.GA13304@LK-Perkele-VI.localdomain","subject":"Re: fatal: protocol error: bad line length character: GET <<<<<","fromName":"Alan Sargent","fromEmail":"alsarg72@gmail.com","sentAt":"2011-01-26T06:40:27Z","receivedAt":"2011-01-26T06:40:27Z","isPatch":false,"sender":{"key":"alsarg72@gmail.com","avatar":null},"body":"Ah! Thank you very much.\n\n:)\n\nOn Wed, Jan 26, 2011 at 1:59 PM, Ilari Liusvaara\n<ilari.liusvaara@elisanet.fi> wrote:\n> On Wed, Jan 26, 2011 at 12:53:11PM +0800, Alan Sargent wrote:\n>> Hello,\n>>\n>> The \"fatal: protocol error: bad line length character\" seems fairly\n>> common, but in the archive and the faq there isn't reference to this\n>> particular instances - GET.\n>>\n>> alan@toaster:~$ git init myrepo\n>> Initialized empty Git repository in /home/nev/myrepo/.git/\n>> alan@toaster:~$ cd myrepo\n>> alan@toaster:~/myrepo$ git daemon\n>> fatal: protocol error: bad line length character: GET  << just hitting\n>> F5 in the browser\n>> fatal: protocol error: bad line length character: GET\n> [...]\n>\n> Git daemon serves git:// protocol, not HTTP, you can't access it from\n> web browser.\n>\n> If you are looking for Git repository web interface, look at gitweb\n> or cgit.\n>\n> The error is because HTTP begins the request with \"GET \" and git\n> daemon is trying to interpret that as length of packet, failing\n> and spitting out a fatal error.\n>\n> -Ilari\n>\n"}]}