0x4*_*16e 6 git proxy intellij-idea http-status-code-503 atlassian-sourcetree
我检查了很多与此问题相关的帖子,但似乎没有什么能解决我的问题.所以现在我希望你们能给我神奇的答案.
我正在使用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
Run Code Online (Sandbox Code Playgroud)
关于503的提示意味着因维护而导致的临时停机时间对我不起作用,因为此问题现在持续一周.
关于错误/丢失代理设置的提示似乎也不起作用.我为系统git和IDE(Intellij)设置了http和https代理.
它以前工作过,我能够克隆存储库.然后我创建了一个新的分支,进行了一些更改,并希望将其推回到主服务器.
我真的很期待一些聪明的提示.
谢谢到目前为止
UPDATE
我补充说:
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
Run Code Online (Sandbox Code Playgroud)
我发现我的代理无法识别 webapp 地址,所以我安装了 Privoxy 并告诉他传递除那些针对我的 git 的请求之外的所有请求。它有效。
因此,如果我必须连接到存储库,我会跳过代理并直接连接。
| 归档时间: |
|
| 查看次数: |
24271 次 |
| 最近记录: |