This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
git clone error when using http://
- From: Assaf Gordon <assafgordon at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 06 Apr 2015 15:12:13 -0400
- Subject: git clone error when using http://
- Authentication-results: sourceware.org; auth=none
Hello glibc developers,
A quick question:
The glibc git viewer ( https://sourceware.org/git/?p=glibc.git;a=summary ) mentions three possible protocols to use:
git://sourceware.org/git/glibc.git
ssh://sourceware.org/git/glibc.git
http://sourceware.org/git/glibc.git
However, the 'http' one fails with the following:
---
$ git clone http://sourceware.org/git/glibc.git
Cloning into 'glibc'...
error: Unable to get pack index http://sourceware.org/git/glibc.git/objects/pack/pack-f89a10ccd2eca36b8bd9e4acb6ba1f90d777efcf.idx
error: Unable to get pack index http://sourceware.org/git/glibc.git/objects/pack/pack-c37c29d274c26e076dfa0516f736ffb41b92d8a3.idx
error: The requested URL returned error: 504 Gateway Timeout (curl_result = 22, http_code = 504, sha1 = 389ed28d1175b67ee5dcd40e69df912d4a1109b0)
error: Unable to find 389ed28d1175b67ee5dcd40e69df912d4a1109b0 under http://sourceware.org/git/glibc.git
Cannot obtain needed object 389ed28d1175b67ee5dcd40e69df912d4a1109b0
while processing commit 9b5a06c242e640d4af84a031e96ca47bcf595caf.
error: Fetch failed.
---
Which makes cloning anonymously behind a restrictive firewall a bit of a problem.
Is there an alternative URL to use with http? or a way around it?
Thanks,
- Assaf