What is git-remote-http error code 128. It happened when I tried to pust to a repo that needed authentication (it never asked for a password.) Is there some central place to find out what error codes mean?
Asked
Active
Viewed 5.2k times
15
-
1Going by Linux standards, this would be an abnormal exit due to signal number 0. Which doesn't exist. My guess is this is supposed to mean "abnormal exit for no usual reasons" – millimoose Jun 21 '13 at 21:41
-
2Google? Or here is a [possible related question](http://stackoverflow.com/questions/6564309/git-ls-remote-returns-128-on-any-repo) – Jacob Varner Jun 21 '13 at 21:42
-
1I had a similar problem. git pull and git clone would return code 128. strace revealed that libnss3.so was segfaulting. I'm using CentOS 6.5. – Michael Closson Jan 07 '14 at 16:46
3 Answers
4
128
is a default fatal error code. It doesn't mean it's necessarily something to do with authentication.
That means you have to read the error message.
See the source code, and git documentation.

Stefano
- 1,686
- 1
- 16
- 25
0
If you talk of the command return code, it means that the key has been revoked.
You can find the existing codes here for example: http://mazack.org/unix/errno.php

padawin
- 4,230
- 15
- 19
-
1That link is listing C stdlib [`errno`](https://manpages.debian.org/buster/manpages-dev/errno.3.en.html) values, *not* process exit codes. – dimo414 Feb 02 '21 at 22:01
-7
it's probably because your SSH key has been compromised. Make a new one and add it to your GitHub account.

user3590011
- 19
- 1