Skip to content

Instantly share code, notes, and snippets.

@munificent
Created September 18, 2011 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munificent/1225296 to your computer and use it in GitHub Desktop.
Save munificent/1225296 to your computer and use it in GitHub Desktop.
Problem pushing to github
After a long delay, this is the result I get:
$ git push
Connection closed by 207.97.227.239
fatal: The remote end hung up unexpectedly
This, as far as I can tell, started happening spontaneously. Up until this point,
I've been able to push to github without any problems. I haven't changed anything
with my ssh keys.
More info:
$ git branch -avv; git remote -v
blogofile d3f4117 Start styling and setting up blogofile templates.
* master 04ba27e [origin/master: ahead 9] New post about new blog.
remotes/origin/master d3f4117 Start styling and setting up blogofile templates.
origin git@github.com:munificent/journal.git (fetch)
origin git@github.com:munificent/journal.git (push)
$ GIT_TRACE=1 git push
trace: built-in: git 'push'
trace: run_command: 'ssh' 'git@github.com' 'git-receive-pack '\''munificent/journal.git'\'''
Connection closed by 207.97.227.239
fatal: The remote end hung up unexpectedly
@ocastany
Copy link

Hi, it happened that I couldn't push yesterday evening. The error message was:

Connection closed by 207.97.227.239
fatal: The remote end hung up unexpectedly

At the same time, ssh -T git@github.com was returning successful authentication.
This morning, without changing anything on my side, it worked again as usual... Certainly a problem on GitHub side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment