Git CL upload remote hang up problem (and solution)

15 views
Skip to first unread message

Stephen Chenney

unread,
Oct 30, 2025, 9:08:43 AM (yesterday) Oct 30
to Chromium-dev
Some of us have been seeing an error when uploading CLs, in which the remote hangs up. For example (hat tip to Helmut Januschka):

Enumerating objects: 1986, done.
Counting objects: 100% (1986/1986), done.
Delta compression using up to 12 threads
Compressing objects: 100% (964/964), done.
Writing objects: 100% (1319/1319), 1.01 MiB | 20.33 MiB/s, done.
Total 1319 (delta 974), reused 626 (delta 294), pack-reused 0 (from 0)
error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

The problems started around the time of the ReAuth changes, though I think it is probably not directly related.

One solution is a git config change:

git config --global http.postBuffer 524288000

There is some debate on Stack Overflow about the best size to choose, but the one above is known to work for at least 3 of us.

Cheers,
Stephen.
Reply all
Reply to author
Forward
0 new messages