git pull 错误“请求的 URL 返回错误:访问时返回 503”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12066100/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 14:25:57  来源:igfitidea点击:

git pull error "The requested URL returned error: 503 while accessing"

gitgithubbitbucket

提问by silentsongs

I've been facing problems accessing my git repository lately. It worked perfectly fine earlier but now I cannot run any command on CLI. I can however, access the corresponding Web Page, Could someone help me how to resolve this issue?

我最近在访问我的 git 存储库时遇到了问题。之前它运行得很好,但现在我无法在 CLI 上运行任何命令。但是,我可以访问相应的网页,有人可以帮助我如何解决此问题吗?

回答by pbaranski

Had the same error while using SourceTreeconnected to BitBucketrepository.

使用连接到BitBucket存储库的SourceTree 时出现同样的错误。

When navigating to repository url on bitbucket.orgthe warning message appeared:

当导航到bitbucket.org 上的存储库 url 时,出现警告消息:

This repository is in read-only mode. You caught us doing some quick maintenance.

此存储库处于只读模式。你发现我们在做一些快速维护。

After around 2 hours repository was accessible again.

大约 2 小时后,可以再次访问存储库。

You can check status and uptime of bitbucket here: http://status.bitbucket.org/

您可以在此处查看 bitbucket 的状态和正常运行时间:http://status.bitbucket.org/

回答by Muhammad

here you can see the latest updated status form their website

在这里您可以从他们的网站上看到最新的更新状态

bitbucket site status

bitbucket 站点状态

if Git via HTTPSstatus is Major Outage, you will not be able to pull/push, let this status to get green

如果 Git via HTTPS状态是 Major Outage,你将无法拉/推,让这个状态变绿

HTTP Error 503 - Service unavailable

HTTP 错误 503 - 服务不可用

回答by Evgeniy

Try disabling all the system wide HTTP and HTTPS proxies:

尝试禁用所有系统范围的 HTTP 和 HTTPS 代理:

export http_proxy="" 
export https_proxy=""
export HTTP_PROXY=""
export HTTPS_PROXY=""

回答by Irfan DANISH

Its problem at bitbucket's end.

它在 bitbucket 结束时的问题。

You can check status of their services at http://status.bitbucket.org/

您可以在http://status.bitbucket.org/查看他们的服务状态

Currently there is HTTPSoutage at bitbucket. see below

目前HTTPS,bitbucket出现中断。见下文

enter image description here

在此处输入图片说明

You can use SSHoption. I just used SSHoption with sourcetree.

您可以使用SSH选项。我只是将SSH选项与sourcetree.

回答by VonC

As in "CocoaPods - pod setup http request failed", a 503 error on accessing (cloning) a publicrepository is likely to be the result of a GitHub glitch (availability issue)

在“ CocoaPods - pod setup http request failed”中,访问(克隆)公共存储库时出现 503 错误很可能是 GitHub 故障(可用性问题)的结果

Retrying later usually works.

稍后重试通常有效。

回答by caiosm1005

A 50X error is an internal servererror. There's nothing wrong on your end, but something's up on the server's end.

50X 错误是内部服务器错误。您这边没有任何问题,但是服务器端出了点问题。

http://www.checkupdown.com/status/E503.html

http://www.checkupdown.com/status/E503.html

The Web server (running the Web site) is currently unable to handle the HTTP request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay.

由于服务器的临时过载或维护,Web 服务器(运行网站)当前无法处理 HTTP 请求。这意味着这是一个暂时的情况,将在一些延迟后得到缓解。

Just be patient and wait. :-)

请耐心等待。:-)

回答by Guilherme

I received the same error when trying to clone a heroku git repository.

尝试克隆 heroku git 存储库时,我收到了同样的错误。

Upon accessing heroku dashboard I saw a warning that the tool was under maintenance, and should come back in a few hours.

在访问 heroku 仪表板时,我看到一条警告,指出该工具正在维护中,应该会在几小时后返回。

Cloning into 'foo-repository'...
remote: !        Heroku has temporarily disabled this feature, please try again shortly. See https://status.heroku.com for current Heroku platform status.
fatal: unable to access 'https://git.heroku.com/foo-repository.git/': The requested URL returned error: 503

If you receive the same error, check the service status

如果您收到相同的错误,请检查服务状态

回答by Lokesh S

It was the service issue from the git. The site will be under maintenance. Please try once after the maintenance work is done.

这是来自 git 的服务问题。该网站将在维护中。请在维护工作完成后尝试一次。

回答by CreativeMinds

This problem is not only created by no_proxy, because it created by git server downissue also.

这个问题不仅是由 造成的no_proxy,因为它git server down也是由问题造成的。

So When happening this issue first you open and check gitlab in browser.

所以当第一次发生这个问题时,你在浏览器中打开并检查 gitlab。

And check if It shows any error like "503 An internal server error occured"..

并检查它是否显示任何错误,例如"503 An internal server error occured"..

The gitlab shows "503"page, this issue create by gitlab server down not in your system.

gitlab 显示"503"页面,此问题由 gitlab 服务器创建,不在您的系统中。

So you wait some time until the server going up and continue your work.

所以你等待一段时间,直到服务器启动并继续你的工作。

回答by Mohammad f

Every one please avoid modifying post buffer and advising it to others. It may help in some cases but it breaks others. If you have modified your post buffer for pushing your large project. Undo it using following command. git config --global --unset http.postBuffergit config --local --unset http.postBuffer

每个人都请避免修改帖子缓冲区并将其告知其他人。在某些情况下它可能会有所帮助,但它会破坏其他情况。如果您已经修改了您的发布缓冲区以推送您的大型项目。使用以下命令撤消它。 git config --global --unset http.postBuffergit config --local --unset http.postBuffer

I modified my post buffer to fix one of the issues I had with git but it was the reason for my future problems with git.

我修改了我的帖子缓冲区以解决我在使用 git 时遇到的问题之一,但这是我未来使用 git 出现问题的原因。