RPC failed Git Origin: Build & delivery Last updated 12 Oct 2026

error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly

A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.

Exact message you may see the remote end hung up unexpectedlyHTTP/2 stream 1 was not closed cleanlysend-pack: unexpected disconnect while reading sideband packet
Seen on: Git

Meaning

Big pushes (large files or history) exceed proxy/server limits; HTTP/2 stream errors happen on some networks. The fix depends on whether it’s size or network.

Common causes

  • Very large push (big files, many commits)
  • Corporate proxy/antivirus interfering
  • HTTP/2 issues
  • Low http.postBuffer for older Git versions

⚡ Quick fix

  1. Push in smaller chunks or remove large files (use Git LFS)
  2. Try HTTP/1.1: git config --global http.version HTTP/1.1
  3. Use SSH instead of HTTPS

Detailed fix by platform

Git

  1. git config --global http.version HTTP/1.1

How to diagnose

  1. Size — How big is the push?
  2. Network — Proxy/VPN?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):

0x80070035 — 0x80070035: The network path was not found (System error 53) (Windows)0x800700350x80072EE7 — Error 0x80072EE7 (Windows Update / Microsoft Store: server name could not be resolved) (Windows)0x80072EE70x8024402C — Windows Update error 0x8024402C (cannot connect to update server) (Windows)0x8024402C14 UNAVAILABLE — gRPC Error: 14 UNAVAILABLE: No connection established / failed to connect to all addresses (API)14 UNAVAILABLEauth/network-request-failed — Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred (Authentication)auth/network-request-…CDN: trunk URL couldn't be downloaded — [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/... (iOS)CDN: trunk URL couldn…Client.Timeout exceeded — Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded) (Docker)Client.Timeout exceed…Could not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve hostRPC failed

Explore the map of this error Full error map →

🧠 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.