Git PUSH results in RPC failed, result=22, HTTP code = 411
症状
An attempt to push to a Fisheye/Crucible managed repository results in the following error:
HTTP Status Code 411 (411 Content Length Not Specified)
$ git push origin master
Username:
Password:
Counting objects: 4372, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4274/4274), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (4372/4372), 89.62 MiB | 19.17 MiB/s, done.
Total 4372 (delta 2630), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
原因
The default file post size for Git has been exceeded.
ソリューション
Based on this resolution, run the following command to increase the buffer to 500MB after navigating to the repository:git config http.postBuffer 524288000
関連情報
Git PUSH results in RPC failed, result=22, HTTP code = 413
最終更新日 2018 年 7 月 31 日
Powered by Confluence and Scroll Viewport.