Re: fatal: protocol error: bad line length character: GET <<<<<

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ah! Thank you very much.

:)

On Wed, Jan 26, 2011 at 1:59 PM, Ilari Liusvaara
<ilari.liusvaara@xxxxxxxxxxx> wrote:
> On Wed, Jan 26, 2011 at 12:53:11PM +0800, Alan Sargent wrote:
>> Hello,
>>
>> The "fatal: protocol error: bad line length character" seems fairly
>> common, but in the archive and the faq there isn't reference to this
>> particular instances - GET.
>>
>> alan@toaster:~$ git init myrepo
>> Initialized empty Git repository in /home/nev/myrepo/.git/
>> alan@toaster:~$ cd myrepo
>> alan@toaster:~/myrepo$ git daemon
>> fatal: protocol error: bad line length character: GET  << just hitting
>> F5 in the browser
>> fatal: protocol error: bad line length character: GET
> [...]
>
> Git daemon serves git:// protocol, not HTTP, you can't access it from
> web browser.
>
> If you are looking for Git repository web interface, look at gitweb
> or cgit.
>
> The error is because HTTP begins the request with "GET " and git
> daemon is trying to interpret that as length of packet, failing
> and spitting out a fatal error.
>
> -Ilari
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]