I recently created a repository on Github, and I get this error when I try to push to it.
$ git push -u origin master
Enumerating objects: 41, done.
Counting objects: 100% (41/41), done.
Delta compression using up to 4 threads
Compressing objects: 100% (38/38), done.
Writing objects: 100% (40/40), 182.00 MiB | 46.74 MiB/s, done.
Total 40 (delta 3), reused 27 (delta 0)
error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
I have tried the solutions listed in this answer and this answer, including:
Using a different network connection - I'm using my home wired connection which is usually quite fast and low latency.
git config http.postBuffer 524288000
orgit config http.postBuffer 2000000000
Running
git gc --aggressive
before thegit push
commandSetting the low speed limit and low speed time before
git push
git config --global http.lowSpeedLimit 0 git config --global http.lowSpeedTime 999999
Using a thin pack, e.g.,
git push -u origin master --thin
or the oppositegit push -u origin master --not-thin
git repack --max-pack-size=100M -a -d
before thegit push
command.
I have been able to push other commits to this same repository on this same machine and internet connection, so I don't think it's a firewall issue. I'm using git 2.24.1 on Windows 10.
What else can I do here?