Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'You don't exist, go away' - what does this heroku error mean?

Tags:

git

heroku

So i'm pushing my code like usual and:

git push heroku master
You don't exist, go away!
fatal: The remote end hung up unexpectedly

Does anyone know what this is supposed to mean?

like image 747
Hayk Saakian Avatar asked Dec 15 '12 05:12

Hayk Saakian


3 Answers

If you're pushing from OS X then it's probably this funky state OS X gets into where your user doesn't know its own identity -- you can confirm by typing the "id" command where you'll see your username is missing, or trying to sudo which won't work.

For some reason this seems to fix it:

dscacheutil -flushcache
like image 162
Magnus Avatar answered Nov 17 '22 04:11

Magnus


Usually this:

The remote end hung up unexpectedly

Tells us about connection problem. But this:

You don't exist, go away!

Usually means that SSH client can't resolve your user name(LDAP error?) So, I thinks, it's a problem on your side, but to resolve it, there should be more information.

like image 3
side2k Avatar answered Nov 17 '22 04:11

side2k


You might have nscd running. The thing caches passwd entries so that programs don't waste their time parsing /etc/passwd, calling NIS, LDAP, or whatever.

If the thing's database gets corrupted (unlikely, these days), or if it caches a negative answer (much more likely), it can drop arbitrary users from its cache. "sudo nscd -i passwd" should work.

If that doesn't fix it, kill nscd so that requests are no longer cached. Fix the problem. Then remove /var/cache/nscd/passwd and restart nscd.

This can happen if LDAP/NIS/whatever doesn't answer in time, and the non-answer is misinterpreted as "nonexistent entry" instead of "service problem".

like image 3
Matthias Urlichs Avatar answered Nov 17 '22 03:11

Matthias Urlichs