fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054
The TLS connection to the Git host was dropped mid-transfer.
Exact message you may see
OpenSSL SSL_read Connection was reseterrno 10054 gitSSL_read: Connection was resetfatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054
Seen on:
Git
Meaning
Usually firewall/antivirus inspection, an unstable VPN or a proxy. Retry, disable SSL inspection for the host or use SSH.
Common causes
- Antivirus/proxy intercepting TLS
- VPN instability
- ISP resets large connections
⚡ Quick fix
- Retry or switch network
- Use SSH remotes
- Configure
http.proxycorrectly
Detailed fix by platform
Git
git remote set-url origin git@github.com:org/repo.git
How to diagnose
- Proxy — present?
- VPN — on?
- Antivirus — scanning?
🔧 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)
- ACM region CloudFront can't use my ACM certificate: it must be requested in us-east-1 (N. Virginia)
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.
Did this fix work for you?
Report a correction or suggest an improvement
Last updated 25 Nov 2026