BAE Git Error:rpc failed; result=22, HTTP code = 411 Solution

Source: Internet
Author: User

When using Bae git, you need to configure local git, or you may receive the following error:

Counting objects:13073, done.
Delta compression using up to 8 threads.
Compressing objects:100% (12182/12182), done.
Error:rpc failed; result=22, HTTP code = 411
Fatal:the remote end hung up unexpectedly
Writing objects:100% (13071/13071), 11.46 MiB | 5.10 mib/s, done.
Total 13071 (Delta 2059), reused 0 (Delta 0)
Fatal:the remote end hung up unexpectedly
Everything up-to-date

Solving method


You can configure it again by command:

The code is as follows Copy Code

$ git config–global http.postbuffer 52428800

Or This configuration:

BAE Git Warehouse defaults to upload the largest file of 1MB, by modifying Postbuffer to modify the maximum number of uploaded files, here we set to 524288000, that is, the largest can upload 500MB files.

It would be nice to resubmit it once again.

$ GIT push origin master
Counting objects:13073, done.
Delta compression using up to 8 threads.
Compressing objects:100% (12182/12182), done.
Writing objects:100% (13071/13071), 11.46 MiB | 5.92 mib/s, done.
Total 13071 (delta 2060), reused 0 (Delta 0)
To https://git.duapp.com/appid-lixiphp
2dc8143.. B87aad1 Master-> Master

Cloud Environment (BAE) supports developers in local development mode, managing and publishing application code through GIT clients

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.