Git 错误 : The requested URL returned error: 504 Gateway Timeout while accessing http://

标签 git http-status-code-504

我正在使用由我公司的内部云 (KVM) - RHEL 6.4 提供的虚拟机。

我能够从互联网上克隆外部存储库。然而,我不知道如何在我公司的内部网上克隆内部存储库。

起初我没有设置http_proxyhttps_proxy 并收到此错误:

error: The requested URL returned error: 401 Authorization Required while accessing http://....

设置 http_proxyhttps_proxy 后,我现在在等待大约 60 秒后收到此错误:

error: The requested URL returned error: 504 Gateway Timeout while accessing http://...

我可以从我的笔记本电脑克隆这个 repo find,而不是 VM

关于我应该看哪里的任何想法?

谢谢。

最佳答案

在 .gitconfig 文件中使用它,然后这个问题就会解决。

- [http]
     proxy = http://127.0.0.1:8087
     sslVerify = false

git config --global http.proxy ''

关于Git 错误 : The requested URL returned error: 504 Gateway Timeout while accessing http://,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21085607/

相关文章:

git 错误 : inflate: data stream error (incorrect data check) after download was done

windows - Windows 命令行 merge 工具

amazon-ec2 - 504 Gateway Timeout - 两个带有负载均衡器的 EC2 实例

Java,有没有办法使用servlet输出流 append 字节数组而不是覆盖?

c# - 长时间运行 WCF 504 GATEWAY_TIMEOUT 错误

php - 脚本在 "504 Gateway Time-out"之后继续执行

git - 如何为 gitk 添加更好的复制检测?

git - git 提交 ID 存储在哪里?

Git 用 url 硬重置