2
curl可以訪問URL,但「git pull」不能。我想有一些錯誤的git的URL處理,如果有用戶+密碼+端口的網址:git拉過https和端口失敗
[email protected]:~/src/foo$ git pull
error: The requested URL returned error: 503 while accessing https://user:[email protected]:40443/repos/djangotools/info/refs?service=git-upload-pack
fatal: HTTP request failed
捲曲可以訪問網頁:
[email protected]:~/src/foo$ curl https://user:[email protected]:40443/repos/djangotools/info/refs?service=git-upload-pack
001d# service=git-upload-pack000000b525ceda9ef5cd8ef3542c3917c26229c4745d1342 HEADmulti_ack thin-pack side-band side-band-64k ofs-delta shallow no-progress include-tag multi_ack_detailed no-done agent=git/1.8.1.4
0040f22a42834c303630d0173ea0b232a9b486e92...
Git版本1.8.1.4
使用https,用戶名+密碼和其他端口進行任何更改?
如何在git('git remote -v')中指定URL?另外,它是什麼服務器? – CharlesB
503錯誤通常是暫時的 - 稍後再試 – exussum