Tag Archives: access denied

Git report HTTP Basic: Access denied

Recently, when submitting code on the company intranet using git, the following error message was encountered:

remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://dev.xxxxx/gitlab/XXXX.git/'

1、 Error reason

The reason for this error is an error in the verification of user name or password .

I have changed the configuration under the. SSH file before, but the verification is not successful.

2、 Settle

Find the corresponding project directory, execute the following git command, and re-enter the account and password

git config --system --unset credential.helper

git remote: HTTP Basic: Access denied error resolution

git error: git remote: HTTP Basic: Access denied

Cause of the problem: it may be that the password of the remote warehouse has just been changed, resulting in the inconsistency between the user name and password of the local git configuration and the user name and password registered on gitlab.

1. Solution 1:

Follow the steps shown in the figure

Then continue to use soucetree, you will be prompted to enter the user name and password

2. Solution 2:

If the account password changes, use the following command to re-enter the account password

git config –system –unset credential.helper

If the problem cannot be solved with the first command, enter the following command again:

git config –global http.emptyAuth true

SC OpenService failed 5: Access denied

Sc OpenService failed 5: access denied error when we used SC Delete XXX in CMD to delete the service
The solution is as follows:
Run CMd.exe with administrator privileges, and then proceed. Enter the command: SC DELETE to delete the name of the service so that the service can be deleted normally
 

thanks for the reward, WeChat two-dimensional code

Alipay Qr Code: