HTTP Basic: Access Denied Fatal: Authentication Failed

I am using GitLab Community Edition 9.1.3 2e4e522 for Windows 10 Pro x64. With a Git client.

Mistake

Cloning into 'project_name'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://my_user_name@example.com/my_user_name/project_name.git/'

      

How to fix it?

+18


source to share


9 replies


Open CMD (Run as administrator) command like:

git config --system --unset credential.helper

      



then enter the new password for the Git remote server.

+43


source


In my case, I used the Git Credential Manager for Windows (it was installed by default, I did not install it manually)

Credential Manager kept my old password, but I recently changed it.



If you are in the same conditions to solve this problem: Go to Control Panel -> Credential Manager and delete the git account. After that, it will ask for credentials again.

+9


source


i have dealt with the same error and my suggestion is:

  • Start by trying to create another user in git lab
  • Recheck the username and password (although it seems obvious)
  • Confirm windows certificates (start → "cred")
  • Copy and paste the same url as you from git lab, the structure should be:

Http: // {srvName} / {userInGitLab} / {Repository.git} no '/' at the end

  1. Recheck authorization in GitLab

Hope one of the above questions will solve it.

+7


source


Open a command like CMD (Run as administrator):

git config --system --unset credential.helper

      

then enter the username and password for the remote Git server.

+3


source


A simple git fetch / pull command throws an authentication error. But run the same git fetch / pull command a second time and it should prompt a window asking for credentials (username / password). Enter your ID and new password and it should save and move.

+1


source


Edit the entry (possibly a password field that may have changed) for git: under the Shared Credentials section of Windows credentials, which can be accessed through Control Panel. Please note that this is for Windows OS.

0


source


This happens if you change your git (Git) service account username or password. You also need to change it in Windows Credential Manager . enter "Credential Manager" in the Windows search menu, open it.

Windows Manager Credentials-> Windows Credentials and under Shared Credentials change your git password

0


source


Go to your credential manager => git credentials Check your git credentials and password.

This worked for me.

0


source


  • Try if it works with Git Bash
  • Have you added ssh to your account? If so, remove it and try again. If not add one and try ssh url.
  • You don't necessarily need the Git turtle, but it might work for your problem as well
  • Try reinstalling Git without Git Credential Manager for Windows

Once you've fixed the push issue, you can also clone it when it's private or internal.

-2


source







All Articles