DEV Community

Martin Soderlund Ek
Martin Soderlund Ek

Posted on

Set Git Proxy

You clone a Git repo and get this error message:

Git failed with a fatal error.
unable to access 'https://github.com/THE_REPO':
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection github.com:443
Enter fullscreen mode Exit fullscreen mode

This might be because you're behind a proxy. You then need to set proxy for Git in your command tool:

git config --global http.proxy http://your-proxy-url:8080
git config --global https.proxy https://your-proxy-url:8080
Enter fullscreen mode Exit fullscreen mode

You also might need to disable SSL verification:

git config --global http.sslVerify false
Enter fullscreen mode Exit fullscreen mode

Top comments (0)