XP-Dev.com Documentation

Pushing Changes Over HTTPS

UPDATE: This article is no longer relevant to Git Hosting XP-Dev.com as our load-balancer now supports HTTP chunked requests. We're keeping this article here for archiving purposes, and in case it might be useful to others.

If you're using HTTPS for cloning and pushing repositories to XP-Dev.com, you may hit a problem when attempting to push your changes over HTTPS:

error: RPC failed; result=22, HTTP code = 411

The reason this happens is that the Git client will start using HTTP chunked requests if the changeset is bigger than the current buffer size for HTTP requests. Our current load balancer does not support HTTP chunked requests. The work-around for the moment is to set the config variable http.postBuffer to a value sufficiently large to fit your changeset size:

To set it to 500MB, you would do:

$ git config --global http.postBuffer 524288000

Feel free to contact us if you need any assistance.