简体   繁体   English

Gitlab 错误:请求的 URL 返回错误:403

[英]Gitlab error : The requested URL returned error: 403

I tried to pull to Gitlab but it's not working.我试图拉到 Gitlab 但它不起作用。

When i tried push, (Commit, Initialize, add worked well)当我尝试推送时,(提交,初始化,添加效果很好)

Error says remote: You are not allowed to push code to this project.错误说远程:您不允许将代码推送到此项目。 fatal: unable to access 'http://IPADDRESS/username/GitProjectName/': The requested URL returned error: 403致命:无法访问“http://IPADDRESS/username/GitProjectName/”:请求的 URL 返回错误:403

When i try to push in other computer, it works.当我尝试推入其他计算机时,它可以工作。

Any suggestion??有什么建议吗??

This just happened to me under the following circumstances:这只是在以下情况下发生在我身上:

I deleted (completely) a project at Gitlab called "ProjectX".我(完全)删除了 Gitlab 的一个名为“ProjectX”的项目。

I then tried to create a new project with this name "ProjectX" by doing this:然后我尝试通过执行以下操作创建一个名为“ProjectX”的新项目:

.../project_x$ git push --set-upstream https://gitlab.com/mrodent/ProjectX.git master
Username for 'https://gitlab.com': mrodent
Password for 'https://mrodent@gitlab.com': 
remote: You are not allowed to push code to this project.
fatal: unable to access 'https://gitlab.com/mrodent/ProjectX.git/': The requested URL returned error: 403

... but when I then tried to create a project with name "ProjectX2"... it worked. ...但是当我尝试创建一个名为“ProjectX2”的项目时......它起作用了。

My assumption is that GitLab hasn't actually yet wiped this pre-existing project from its system.我的假设是 GitLab 实际上还没有从其系统中删除这个预先存在的项目。 Which is a bit annoying.这有点烦人。 I shall wait 24 h and try again.我将等待 24 小时再试一次。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 gitlab runner 请求的URL 返回error: 403 - gitlab runner The requested URL returned error: 403 Gitlab 错误:RPC 失败; HTTP 403 curl 22 请求的 URL 返回错误:403 Forbidden - Gitlab error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 Forbidden Git推送:请求的URL返回错误:403 - Git push: The requested URL returned error: 403 请求的URL返回错误:Github中为403 - The requested URL returned error: 403 in Github GitLab 请求的 URL 返回错误:503 - GitLab The requested URL returned error: 503 致命:无法访问“...”:请求的 URL 返回错误:403 在 gitlab 中使用 Sourcetree - fatal: unable to access '…': The requested URL returned error: 403 Using Sourcetree with gitlab 通过公司代理推送到 gitlab.com - 错误:RPC 失败; HTTP 403 curl 22 请求的 URL 返回错误:403 - Push to gitlab.com through company proxy - error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 错误:请求的URL返回错误:403访问时禁止访问 - error: The requested URL returned error: 403 Forbidden while accessing Git 克隆错误:请求的URL返回错误:403 - Git Clone Error: The requested URL returned error: 403 Git push说-请求的URL返回错误:403但带有sudo-正常 - Git push says - The requested URL returned error: 403 but with sudo - works
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM