【发布时间】:2015-10-13 20:20:40
【问题描述】:
我查看了很多与此问题相关的帖子,但似乎没有任何东西可以解决我的问题。所以现在我希望你们能给我一个神奇的答案。
我正在使用 Intellij(但也尝试使用 SourceTree)从 Fisheye 拉/推/克隆存储库。但是我收到错误:
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: unable to access 'https://myUser@myUrl/fisheye/git/myRepo.git/': Received HTTP code 503 from proxy after CONNECT
关于 503 的提示意味着由于维护而导致的临时停机对我不起作用,因为这个问题现在持续了一周。
关于错误/缺失代理设置的提示似乎也不起作用。我为系统 git 和 IDE (Intellij) 设置了 http 和 https 代理。
它以前工作过,我能够克隆存储库。然后我创建了一个新分支,进行了一些更改并希望将其推送回主分支。
我真的很期待一些聪明的提示。
谢谢
更新
我补充说:
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
我收到了以下日志:
$ git fetch
trace: built-in: git 'fetch'
trace: run_command: 'git-remote-https' 'origin' 'https://Username@myWebService.de/randomGit.git/'
* Couldn't find host myWebService in the _netrc file; using defaults
* Trying 15.46.16.11...
* Connected to myProxy.com (15.46.16.11) port 8080 (#0)
* Establish HTTP proxy tunnel to myWebService.de:443
> CONNECT myWebService.de:443 HTTP/1.1
Host: webapp-entw.mlp.de:443
User-Agent: git/1.9.5.msysgit.1
Proxy-Connection: Keep-Alive
Pragma: no-cache
< HTTP/1.1 503 Service Unavailable
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Proxy-Connection: close
< Connection: close
< Content-Length: 732
<
* Received HTTP code 503 from proxy after CONNECT
* Closing connection 0
fatal: unable to access 'https://Username@myWebService.de/randomGit.git/': Received HTTP code 503 from proxy after CONNECT
【问题讨论】:
-
你能显示
git remote -v的输出吗? -
origin https://[myUser]@[myGit].git (fetch)origin https://[myUser]@[myGit].git (push)
标签: git intellij-idea proxy atlassian-sourcetree http-status-code-503