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

Re: Git fetch/pull stopped working

From
Junio C Hamano <gitster@pobox.com>
Date
May 7, 2012, 23:44 UTC
Message-ID
<7vehqv36aw.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CADB4Qb1BhWpm1mAwiHy+edySvo7P+YcvrSiTSc8dVzKQsnNCfQ@mail.gmail.com>
Egor Ryabkov <egor.ryabkov@gmail.com> writes:
Show 6 quoted lines
> git fetch and pull stopped working a few days ago on my server with
> the following message:
>
> $ git fetch
> ERROR: Repository not found.
> fatal: The remote end hung up unexpectedly
Are you sure it is an error on the remote side (presumably on GitHub)?

More interestingly, neither "Repository not found" nor "ERROR:" hits anything relevant to "git fetch" codepath. The closest I can find is in http-backend.c that says "Repository not exported", which is on the server side, but you were talking about ssh connection, so it probably is not what you are seeing.

Oh, wait.
> "$ GIT_TRACE=1 git fetch" gives somewhat different output on local PC
> and server:
> http://pastecode.com/bd3fc1a79f8e9d1eaf30911d9895938051c472f4

So you are going over http:// after all. But it does not look like github to me, so you may be comparing apples and oranges, which would not help in diagnosing the issue very much.

Puzzled...
Previous: Egor RyabkovNext: Carlos Martín Nieto
Message 2 of 12 in “Git fetch/pull stopped working”
  1. Egor RyabkovMay 7, 2012
  2. Junio C HamanoMay 7, 2012
  3. Carlos Martín NietoMay 8, 2012
  4. Jeff KingMay 8, 2012
  5. Egor RyabkovMay 8, 2012
  6. Junio C HamanoMay 8, 2012
  7. Jeff KingMay 8, 2012
  8. Carlos Martín NietoMay 8, 2012
  9. Egor RyabkovMay 8, 2012
  10. Egor RyabkovMay 11, 2012
  11. jaseem abidMay 11, 2012
  12. Jeff KingMay 11, 2012

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.