Git returns "RPC failed; result=22, HTTP code = 411". What do I do? | projectlocker

Git returns "RPC failed; result=22, HTTP code = 411". What do I do?

Your POST buffer for Git may be too small. Run:

git config http.postBuffer 524288000

 

or your client's equivalent to change the setting to an arbitrarily high value.