GitHub - failed to connect to github 443 windows/

2019-01-02 19:46发布

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

标签: git github
20条回答
余欢
2楼-- · 2019-01-02 19:59

I feel more than desperate after trying all the above solutions. Fortunately, I finally find a way to solve it strangely on github homepage.

查看更多
只若初见
3楼-- · 2019-01-02 20:01

Before you try the fancy stuff, try disabling the firewall and antivirus and see if it works. That was my problem.

查看更多
何处买醉
4楼-- · 2019-01-02 20:02

ipconfig /renew - solved this issue for me.

查看更多
梦寄多情
5楼-- · 2019-01-02 20:03

(Not an answer, but a very similar problem) I have Git Gui installed on a Windows system behind a proxy. Issuing 'git clone' from a Linux virtual machine running on the Windows system works, but Git Gui yields the 443 error mentioned in the heading.

To fix this, one must edit %USERPROFILE%\.gitconfig to add an [http] section:

[http]
    postBuffer = 1000000000
    proxy = the.proxy.address:the.proxy.port
    sslcainfo = C:/Users/username/Documents/the.certificate.name.cer

Note that the path to the security certificate file has had its backslashes ('\') replaced by slashes ('/').

查看更多
栀子花@的思念
6楼-- · 2019-01-02 20:04

I got so:

git config --global http.proxy http://{domain}\\\{username}:{password}@{proxy ip}:{proxy port}

git config --global http.sslverify false
查看更多
骚的不知所云
7楼-- · 2019-01-02 20:05

I am using Tortoise Git and simply going to Git in Settings and applying the same settings to Global. Apply and Ok. Worked for me.

查看更多
登录 后发表回答