Failed to connect to github 443

后端 未结 4 1142
一向
一向 2021-01-04 19:18

I tried to push some changes to github using git push origin master, but after some time it showed an error

fatal: unable to access \'https://gi         


        
相关标签:
4条回答
  • 2021-01-04 19:38

    The reason is continuous DDoS attack ... https://status.github.com/messages

    0 讨论(0)
  • 2021-01-04 19:39

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

    git config --global http.proxy http[s]://userName:password@proxyaddress:port
    

    Where port might be 3128 and userName:password might be your windows login credentials

    0 讨论(0)
  • 2021-01-04 19:44

    Try to configure the environment by using:

    sudo vim.tiny /etc/environment
    

    Add there:

    http_proxy=http://your.proxy.server.address:port
    https_proxy=http://your.proxy.server.address:port
    ftp_proxy=http://your.proxy.server.address:port
    

    Add proxy setup in the gitconfig file also.

    0 讨论(0)
  • 2021-01-04 19:45

    Are you behind a proxy? Check content of C:\Users\[your username]\.gitconfig and make sure proxy is configured:

    [http]  
        proxy = http://yourproxy.com:8080  //change your settings here
    [https] 
        proxy = http://yourproxy.com:8080  //change your settings here
    
    0 讨论(0)
提交回复
热议问题