GitHub - 无法连接到github 443窗口/无法连接到gitHub - 没有错误 [英] GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error
问题描述
git clone https://github.com/angular/angular-phonecat.git
我没有连接到github 443错误
我甚至尝试
git clone git://github.com/angular/angular-phonecat.git
$ c
$ p
$ b 这让我无法连接任何错误信息。
我身后公司防火墙。当我转到控制面板 - > Internet选项 - >时,我看不到我的代理详情。连接 - >局域网设置
.IT球员不与我分享代理信息。我不知道该怎么办?
我终于设法做到了。我会更新我为了
所采取的程序。只是想编译我所做的所有步骤,以使其正常工作。
解决方案好的,我做了以下步骤:
-
Google错误
-
-
该死的,无法从控制面板看到代理信息。 IT人员必须隐藏它。我甚至无法改变设置,以不使用代理。
发现这个奇妙的 tutorial 找到你连接的代理服务器。
-
通过以下命令更新了git config中的 http.proxy
键
git config --global http.proxy
http [s]:// userName:password @ proxyaddress:port
-
错误 - 无法解析代理某些@ proxyaddress:port
。原来我的密码里有@符号。
-
将密码中的 @
编码为%40
因为git会通过@拆分代理设置
git config --global http .proxy
http [s]:// userName:password(encoded)@proxyaddress:port
Baam!它的工作!
注意 - 我只是想回答这个问题,像我这样的人,谁会来寻找这样的答案:D
Q - I intalled git to get the latest version of Angular. When i tried called
git clone https://github.com/angular/angular-phonecat.git
I got failed to connect to github 443 error
I even tried
git clone git://github.com/angular/angular-phonecat.git
That gave me failed to connect no error message.
I am behind my company firewall. I can not see my proxy details when I go to control panel->Internet Options -> connections -> lan setting
.IT guys are not sharing proxy information with me. I do not know what to do ??
I finally managed to do it. I will update the procedure that I had taken in order to
Just wanted to compile all the steps that I did to get it to work
解决方案 Well I did following steps
Google the error
Got to SO Links(here, here) which suggested the same thing, that I have to update the Git Config for proxy setting
Damn, can not see proxy information from control panel. IT guys must have hidden it. I can not even change the setting to not to use proxy.
Found this wonderful tutorial of finding which proxy your are connected to
Updated the http.proxy
key in git config by following command
git config --global http.proxy
http[s]://userName:password@proxyaddress:port
Error - could not resolve proxy some@proxyaddress:port
. It turned out my password had @ symbol in it.
Encode @
in your password to %40
because git splits the proxy setting by @
git config --global http.proxy
http[s]://userName:password(encoded)@proxyaddress:port
Baam ! It worked !
Note - I just wanted to answer this question for souls like me, who would come looking for answer on SO :D
这篇关于GitHub - 无法连接到github 443窗口/无法连接到gitHub - 没有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!