Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clone failed unable to access "https://....." failed connect to github:443 no error

I am using Android project and I'm sick of this error:

fatal: unable to access 'https://github.com/caddy2519/MyBabyGrowing.git/': Failed connect to github.com:443; No error

How do I fix this?

I don't use proxy server.

like image 885
LattaliAhmed Avatar asked Dec 03 '14 22:12

LattaliAhmed


People also ask

Why is my git clone not working?

Make sure that the path in the git clone call is correct. If you have an authorization error, have an administrator check the ACLs in Administration > Repositories > <repoName> > Access. Have an administrator check the bare repo in the GitCentric storage directory.

How do I authenticate git in terminal?

There are three main approaches you can take: Using a personal authentication token or password. Using an SSH key. Using your GitHub password with 2-factor authentication.

Why am I getting repository not found?

Error: Repository not found. If you see this error when cloning a repository, it means that the repository does not exist or you do not have permission to access it.

How do I push GitHub to terminal?

At the top of your repository on GitHub.com's Quick Setup page, click to copy the remote repository URL. In Terminal, add the URL for the remote repository where your local repository will be pushed. Push the changes in your local repository to GitHub.com.


1 Answers

Check if your network is protected, if so, you can configure proxy for git provided in that answer, as follows:

git config --global http.proxy http://proxyuser:[email protected]:8080
  • change proxyuser to your proxy user
  • change proxypwd to your proxy password
  • change proxy.server.com to the URL of your proxy server
  • change 8080 to the proxy port configured on your proxy server

Otherwise, you should consider a fresh install of git.

like image 61
hurturk Avatar answered Oct 19 '22 21:10

hurturk