question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It keeps saying `The user name or passphrase you entered is not correct.`

See original GitHub issue

Description

I have reset my password and git cli and SourceTree both work.

Version

GitHub Desktop version: 1.0.11

OS version: macOS 10.12.6 (16G1036)

Steps to Reproduce

  1. Last Friday it is still working and once I start working again today this application keeps saying login failed.

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Reproduces how often: I don’t know what is going on. I can’t tell how to reproduce it

Logs

fatal: Authentication failed for 'https://github.com/my/project.git/'

(The error was parsed as 3: Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you're signed in with an account that has permission to access this repository.)
2017-12-18T03:42:52.250Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.825s)
2017-12-18T03:42:52.251Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/my/project.git/'

(The error was parsed as 3: Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you're signed in with an account that has permission to access this repository.)
2017-12-18T03:42:58.963Z - info: [ui] storing generic credentials for 'github.com' and 'tom10271'
2017-12-18T03:42:58.990Z - error: [ui] Error saving generic git credentials: tom10271@github.com
Error: The user name or passphrase you entered is not correct.
2017-12-18T03:43:00.852Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.838s)
2017-12-18T03:43:00.854Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/my/project.git/'

(The error was parsed as 3: Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you're signed in with an account that has permission to access this repository.)
2017-12-18T03:43:23.382Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.801s)
2017-12-18T03:43:23.383Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/my/project.git/'

(The error was parsed as 3: Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you're signed in with an account that has permission to access this repository.)
2017-12-18T03:43:31.069Z - info: [ui] storing generic credentials for 'github.com' and 'tom10271'
2017-12-18T03:43:31.098Z - error: [ui] Error saving generic git credentials: tom10271@github.com
Error: The user name or passphrase you entered is not correct.
2017-12-18T03:43:32.856Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.746s)
2017-12-18T03:43:32.856Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/my/project.git/'

(The error was parsed as 3: Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you're signed in with an account that has permission to access this repository.)

Additional Information

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

326reactions
shiftkeycommented, Dec 18, 2017

@tom10271 we think this is related to Keychain access due to some sort of macOS update:

Try opening Keychain Access.app. Right-click on the login keychain and try locking it and then unlocking it again.

12reactions
vctespiritucommented, Jan 16, 2019

@tom10271 we think this is related to Keychain access due to some sort of macOS update:

Try opening Keychain Access.app. Right-click on the login keychain and try locking it and then unlocking it again.

It worked!!! THANK YOU!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weird keychain access error!
In short, I keep getting an error "The user name or passphrase entered is not correct" when trying to generate a CSR in...
Read more >
Could not export identity from the keychain
The solution is to lock the login keychain, so you can actually be prompted for the keychain password and then export it.
Read more >
How to fix login error “The username or password is incorrect”?
Type in netplwiz in Windows search and press Enter. · Untick the Users must enter user name and password to use this computer....
Read more >
The password you entered is incorrect, 2nd time with correct ...
The password you entered is incorrect, 2nd time with correct password in windows 10.
Read more >
How to Fix the User Name or Password Is Incorrect
Press the Windows Key + R and type in netplwiz to open User Accounts. Click on your user name and uncheck Users must...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found