聚焦资讯
服务于区块链创业者

GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error

chatGPT账号

一、问题报错:

I installed Git to get the latest version of Angular. When I tried to run

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. The IT guys are not sharing proxy information with me. What can do?


I finally managed to do it. I will update the procedure that I had taken in order to. I just wanted to compile all the steps that I did to get it to work.

二、解决方案

Well, I did the following steps

  1. Google the error
  2. Got to SO links (herehere) which suggested the same thing that I have to update the Git configuration for proxy setting
  3. Damn, I can not see proxy information from Control Panel. The IT guys must have hidden it. I can not even change the setting to not to use a proxy.
  4. I found this wonderful tutorial of finding which proxy your are connected to
  5. Updated the http.proxy key in the Git configuration by the following command
    git config --global http.proxy http[s]://userName:password@proxyaddress:port
    
  6. Error – “could not resolve proxy some@proxyaddress:port“. It turned out my password had a @ symbol in it.
  7. Encode @ in your password to %40, because Git splits the proxy setting by @
  8. If your userName is an email address, which has @, also encode it to %40. (see this answer)
     git config --global http.proxy http[s]://userName(encoded):password(encoded)@proxyaddress:port
    

Baam! It worked!

免责声明

发文时比特币价格:$31249

免责声明:

本文不代表行至网立场,且不构成投资建议,请谨慎对待。用户由此造成的损失由用户自行承担,与行至网没有任何关系;

行至网不对网站所发布内容的准确性,真实性等任何方面做任何形式的承诺和保障;

网站内所有涉及到的区块链(衍生)项目,行至网对项目的真实性,准确性等任何方面均不做任何形式的承诺和保障;

网站内所有涉及到的区块链(衍生)项目,行至网不对其构成任何投资建议,用户由此造成的损失由用户自行承担,与行至网没有任何关系;

行至区块链研究院声明:行至区块链研究院内容由行至网发布,部分来源于互联网和行业分析师投稿收录,内容为行至区块链研究院加盟专职分析师独立观点,不代表行至网立场。

chatGPT账号
赞(0) 打赏
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权,未经允许不得转载。
文章名称:《GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error》
文章链接:https://www.xingzhi.io/webthree/24502.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

服务于区块链创业者

业务范围商务合作

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的区块链世界!

支付宝扫一扫打赏

微信扫一扫打赏

登录后才能复制或下载网站内容