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

Re: Git fetch/pull stopped working

From
Carlos Martín Nieto <cmn@elego.de>
Date
May 8, 2012, 00:10 UTC
Message-ID
<20120508001018.GB5067@centaur.lab.cmartin.tk>
In-Reply-To
<7vehqv36aw.fsf@alter.siamese.dyndns.org>
On Mon, May 07, 2012 at 04:44:23PM -0700, Junio C Hamano wrote:
Show 26 quoted lines
> Egor Ryabkov <egor.ryabkov@gmail.com> writes:
> 
> > 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.

I can reproduce this issue. It happens somewhere between my phone jack and rackspace.

I can perform 'git fetch' on other hosts and ssh -T git@github.com works fine. However, trying to fetch from github gives me an error.

Not only this, but trying to browse to github.com or rubygems.org, both of which seem to be hosted on the same datacentre gives me timeouts or takes really long to answer. Routing traffic through my server in the next country over makes it work, as does fetching from that host.

The only difference I've been able to find is that the traffic looks like it goes through different hosts when it goes through the UK on its way to the US.

> 
> Puzzled...

Yeah... It looks like the Internet is being silly. So much for routing around damage. What I'm not sure is how this would also affect AWS; maybe the Irish one?

   cmn
Previous: Junio C HamanoNext: Jeff King
Message 3 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.