fatal: unable to access: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
The TLS connection was dropped during the handshake.
OpenSSL SSL_connect SSL_ERROR_SYSCALL in connection to github.com:443SSL_ERROR_SYSCALL gitfatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 Meaning
Usually a firewall, VPN or proxy resetting the connection, or outdated TLS libraries. Test with curl -v https://github.com, change network, update Git, or use SSH.
Common causes
- Firewall/VPN interference
- Proxy resets TLS
- Old Git/OpenSSL
⚡ Quick fix
curl -v https://github.comto test- Try another network or disable VPN
- Update Git or use SSH
Detailed fix by platform
Shell
curl -v https://github.com 2>&1 | head -20
How to diagnose
- curl — works?
- VPN — on?
- Git — recent?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- -1200 iOS: NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made"
- .NET TLS The request was aborted: Could not create SSL/TLS secure channel (.NET Framework TLS 1.2 not enabled)
- 0x80070035 0x80070035: The network path was not found (System error 53)
Most viewed in Git
- gpg failed to sign error: gpg failed to sign the data — fatal: failed to write commit object
- workflow scope ! [remote rejected] … (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/x.yml` without `workflow` scope)
- kex_exchange_identification kex_exchange_identification: Connection closed by remote host
Other ways to find it
Where this error sits
Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026