时出现网关超时我正在使用由我公司的内部云(KVM) - RHEL 6.4调配的VM。Git错误:请求的URL返回错误:访问http://
我能够从互联网上克隆外部存储库。但是,我无法弄清楚如何克隆公司内部网络上的内部存储库。
起初我没设置http_proxy
或https_proxy
并收到此错误:
error: The requested URL returned error: 401 Authorization Required while accessing http://....
设置http_proxy
和https_proxy
后,我现在正在等待约60秒后收到此错误:
error: The requested URL returned error: 504 Gateway Timeout while accessing http://...
我可以从我的笔记本电脑克隆这个回购找到,只是不是VM
任何想法,我应该看看?
谢谢。
我有完全一样的问题。 @Matthew你能解决它吗? –
@TsetNoitamotua它已经有一段时间了,但我很确定我最终做的是从HTTPS切换到SSH,并且一切正常。不幸的是我不记得这个问题的根源。你可以试试SSH并告诉我它是否适合你? –
我还没有尝试SSH,但我通过将本地地址添加到代理例外列表中来获得HTTPS,如下所述:http://ask.xmodulo.com/add-proxy-exceptions-ubuntu-desktop.html TL ; DR - gsettings set org.gnome.system.proxy ignore-hosts“['localhost','127.0.0.1','* .mycompany.com',':: 1']” –