DEV Community

Martin Soderlund Ek
Martin Soderlund Ek

Posted on

2

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)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay