Git larger file error

Suleiman Abdullah
2 min readJun 13, 2022

--

Objective: Solve error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)

Before doing that we need to understand some time When you push you may experience this error:

RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)

send-pack: unexpected disconnect while reading sideband packet

Writing objects: 100% (1796/1796), 363.70 MiB | 178.00 KiB/s, done.

Total 1796 (delta 991), reused 0 (delta 0), pack-reused 0

fatal: the remote end hung up unexpectedly

In the first step, we need to increase the buffer size by using this command git config --global http.postBuffer 157286400

You may want to know why this error happened, go to this source down below.

link:https://confluence.atlassian.com/bitbucketserverkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-779171796.html

The next step is to, change the HTTP version, and run this command git config --global http.version HTTP/1.1

Extra if you count the same issue find Fiber connection with high speed will upload successfully.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Suleiman Abdullah
Suleiman Abdullah

Written by Suleiman Abdullah

Self taught Unity Developer, who is passion about making games ,and he loves Math For Game Development

Responses (2)

Write a response