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

Re: Git fetch/pull stopped working

From
Egor Ryabkov <egor.ryabkov@gmail.com>
Date
May 8, 2012, 13:59 UTC
Message-ID
<CADB4Qb35FfTL=XX04iR71+2Rg8p4s2roqAF8b_BdFNP9YN=sfA@mail.gmail.com>
In-Reply-To
<7vehqv36aw.fsf@alter.siamese.dyndns.org>
> Are you sure it is an error on the remote side (presumably on GitHub)?

No, I'm pretty sure it's something on my side, as clones on other PCs still work.

Show 6 quoted lines
>> "$ 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

No, I'm using SSH connection. Did you imply that it's better to paste logs directly in the email? Here they go:

############# Local results #############

$ GIT_TRACE=1 git fetch setup: git_dir: .git setup: worktree: c:/Projects/(local_path) setup: cwd: c:/Projects/(local_path) setup: prefix: (null) trace: built-in: git 'fetch' trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack '\''(username)/(reponame).git'\''' Enter passphrase for key '(keyname)': trace: run_command: 'rev-list' '--quiet' '--objects' '--stdin' '--not' '--all'

############# AWS results #############
$ GIT_TRACE=1 git fetch
trace: built-in: git 'fetch'
trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack
'\''(username)/(reponame).git'\'''
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

I tried re-adding remote: SSH version fails with the same error, but HTTP version works. I'd rather have SSH working, though. And ideas about what could've caused it, or how to diagnose it further?

Previous: Jeff KingNext: Junio C Hamano
Message 5 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.