gpt4 book ai didi

git - 错误 : RPC failed; HTTP 503 curl 22 The requested URL returned error: 503

转载 作者:行者123 更新时间:2023-12-04 12:17:12 27 4
gpt4 key购买 nike

尝试将代码提交到 https://github.com 时,我面临以下错误.

$ git push
Enumerating objects: 26, done.
Counting objects: 100% (26/26), done.
Delta compression using up to 8 threads
Compressing objects: 100% (18/18), done.
Writing objects: 100% (26/26), 9.37 KiB | 799.00 KiB/s, done.
Total 26 (delta 0), reused 0 (delta 0)
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

我已经通过链接: 503 error pushing to remote .但仍然无法正常工作,很多人都遇到过这个问题,但没有人对此做出确认的答案。

是因为我像以前一样在公司防火墙后面才能做到吗?

最佳答案

GitHub 通常不会产生 503 错误,因此您遇到的这个错误很可能是由于中间某处的机器造成的。

您提到您使用的是公司防火墙,这可能是此问题的根源。其他可能性是任何类型的代理或防病毒软件。有时,这些程序认为它们在 Git 的压缩数据中发现了恶意、攻击性或不适当的内容并阻止它,或者它们需要身份验证而您没有提供任何内容。

尝试解决这个问题的最简单方法是完全卸载除 Windows Defender 之外的任何防病毒软件(禁用它通常是不够的),然后移动到不受代理或公司防火墙限制的另一个位置。然后,重新引入这些情况中的每一种,直到问题再次发生。

如果是代理问题,可以设置http_proxy环境变量来引用代理的 URL,Git 会遵守它。如果是您的公司代理或公司规定的防病毒软件,请联系您公司的 IT 部门并将问题告知他们。

如果一切都失败了,你可以 view the documentation on the GitHub website链接到 GitHub 调试门户以帮助您进一步解决问题。

关于git - 错误 : RPC failed; HTTP 503 curl 22 The requested URL returned error: 503,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57739905/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com