時出現網關超時我正在使用由我公司的內部雲(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']」 –