远程:HTTP基本:访问被拒绝 [英] remote: HTTP Basic: Access denied

查看:279
本文介绍了远程:HTTP基本:访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我遇到了访问被拒绝的问题,我已经更新了SSL密钥,还没有更改密码.对于所有项目的所有git远程操作,我都有这个问题. 有人可以帮忙吗?

Hi I'm facing access denied problem, I have updated SSL key, haven't changed password. I have this issue for all git remote operations for all the projects. can some one please assist.

$ GIT_TRACE=1 git clone https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.481599 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
08:49:35.483582 git.c:440               trace: built-in: git clone https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
Cloning into 'vivr-jacada-ui'...
08:49:35.530206 run-command.c:663       trace: run_command: git remote-https origin https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.575342 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:35.581789 git.c:703               trace: exec: git-remote-https origin https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.581789 run-command.c:663       trace: run_command: git-remote-https origin https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git
08:49:35.625438 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:35.751423 run-command.c:663       trace: run_command: 'git credential-manager get'
08:49:35.852606 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:35.855582 git.c:703               trace: exec: git-credential-manager get
08:49:35.855582 run-command.c:663       trace: run_command: git-credential-manager get
08:49:36.388781 run-command.c:663       trace: run_command: 'git credential-manager erase'
08:49:36.482029 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:36.485005 git.c:703               trace: exec: git-credential-manager erase
08:49:36.485005 run-command.c:663       trace: run_command: git-credential-manager erase
08:49:36.797981 run-command.c:663       trace: run_command: 'git credential-manager erase'
08:49:36.893709 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
08:49:36.896686 git.c:703               trace: exec: git-credential-manager erase
08:49:36.896686 run-command.c:663       trace: run_command: git-credential-manager erase
remote: HTTP Basic: Access denied

推荐答案

输入用户名和密码并输入错误时出现此问题.之后,我不断收到访问被拒绝"的信息.

I got this problem when I was entering my username and password and made a typo. After that I kept getting "Access Denied".

FIX: 打开Windows crontrol面板,从右上角搜索密码,单击"Windows凭据".在列表中,您应该看到类似git: https://gitlab.your.domain.com .删除它.

FIX: Open Windows crontrol panel, Search for passwords from the top right, Click on "Windows Credentials". In the list you should see something like git:https://gitlab.your.domain.com. Remove it.

再次运行git-clone命令,然后会弹出一个窗口,让您再次输入凭据.

Run your git-clone command again and a pop up window should allow you to enter your credentials again.

如果仍然出现相同的错误.检查您的Windows帐户是否未被所有失败的尝试锁定.

If you still get the same error. Check that your Windows account is not locked out by all of the failed attempts.

这篇关于远程:HTTP基本:访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆