Re: git clone over HTTP returns 500 on invalid host name

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

 



Shawn Pearce <spearce@xxxxxxxxxxx> writes:

> $ git clone https://this.host.does.not.exist/foo
> Cloning into 'foo'...
> error: The requested URL returned error: 500 while accessing
> http://this.host.does.not.exist/foo/info/refs
> fatal: HTTP request failed
>
>
> Hmm. Telling me the host doesn't exist is more useful than 500:
>
> $ git clone git://this.host.does.not.exist/foo
> Cloning into 'foo'...
> fatal: Unable to look up this.host.does.not.exist (port 9418) (Name or
> service not known)
>
>
> Does anyone care about this other than me?  :-)


$ git clone https://this.host.does.not.exist/foo
Cloning into 'foo'...
error: Couldn't resolve host 'this.host.does.not.exist' while accessing https://this.host.does.not.exist/foo/info/refs
fatal: HTTP request failed

What are we doing differently?  Perhaps you have a custom proxy that
throws 500 back at you or something?
--
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]