'error: RPC failed; curl transfer closed with outstanding read data remaining; Error: xx bytes of body are still expected

....

Remote: Compressing objects: 100% (2253/2253), done.

Error: RPC failed curl 18 transfer closed with outstanding read data remaining

Error: 1813 bytes of body are still expected

Git failed with a fatal error.

early EOF

fetch-pack: invalid index-pack output

I am using Visual Studio 2017, Git-2.26.2-64-bit, and GitLab Extension for Visual Studio v1.0.206.

I tried below command

git config --global http.postBuffer 1G

git config --global core.compression 0

git config --global http.maxRequestBuffer 2G

But The same error occured.

I reinstalled Visual studio 2017, Git-2.26.2-64-bit, GitLab Extension for Visual Studio v1.0.206. But still have same issue.

How can I solve this problem? (The project Size : 1.3 GB Files, 1.3 GB Storage)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source