git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: http git clone fails while ssh git clone works

From
Mike Hommey <mh@glandium.org>
Date
Apr 3, 2008, 18:28 UTC
Message-ID
<20080403182815.GA23341@glandium.org>
In-Reply-To
<cc723f590804030440t14a8e4fdw77c4449dc2a4dbb8@mail.gmail.com>
On Thu, Apr 03, 2008 at 05:10:07PM +0530, Aneesh Kumar wrote:
Show 10 quoted lines
> git clone http://myhost...
> 
> ot 0bc8afe5e1f16a6c56bc677a6c85148455a474b3
> got ee425b0b7fccd9cdea38ef781b76f034e0228391
> error: Unable to find 31053805b6981918e1f39e7149f62d2a0068732a under
> http://myhost.....
> Cannot obtain needed commit 31053805b6981918e1f39e7149f62d2a0068732a
> while processing commit 56933610fa9a36ea3fc053e02bd7442b55db85dd.
> 
> while git clone ssh://myhost... works fine.

Can you try again with GIT_CURL_VERBOSE set ? It will probably show you what http request is failing and why.

Mike
Previous: Aneesh Kumar
Message 4 of 4 in “http git clone fails while ssh git clone works”
  1. Aneesh KumarApr 3, 2008
  2. Miklos VajnaApr 3, 2008
  3. Aneesh KumarApr 3, 2008
  4. Mike HommeyApr 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.