Github Push Error: RPC failed; result=22, HTTP code = 413

前端 未结 17 831
迷失自我
迷失自我 2020-11-28 02:27

stupid issue with Github going on right now. I have a decent amount of changes (~120MB in size), when I attempt to push, this is what happens:

error: RPC fai         


        
相关标签:
17条回答
  • 2020-11-28 03:05

    For those who use IIS 7 to host a git http/https endpoint:

    You need to increase your uploadReadAheadSize.

    Launch Internet Information Services (IIS) Manager

    1. Expand the Server field

    2. Expand Sites

    3. Select the site you want to make the modification for.

    4. In the Features section, double click Configuration Editor

    5. Under Section select: system.webServer > serverRuntime

    6. Modify the uploadReadAheadSize section (The value must be between 0 and 2147483647.)

    7. Click Apply

    8. Restart the Website

    0 讨论(0)
  • 2020-11-28 03:06

    I had the same problem but I was using a reverse proxy.

    So I had to set

    client_max_body_size 50m; 
    

    inside both configure files :

    • on the gitlab nginx web server (as said inside the previous answers)
    • but also on the nginx reverse proxy hosted on the dedicated server.
    0 讨论(0)
  • 2020-11-28 03:10

    I already had "HTTPS//" in the git URL yet faced this error.

    All I did was to add option -u with push and it worked.

    git push -u origin master

    0 讨论(0)
  • 2020-11-28 03:11

    Was facing same issue. In my case it was non-compatible GIT versions across multiple users who are accessing(pull/push) same project.

    have just updated GIT version and updated the path on Android studio settings and its working fine for me.

    Edit -

    Git for Windows (1.9.5) having some problem, updating the same may helps.

    0 讨论(0)
  • 2020-11-28 03:11

    Need to change remote url to ssh or https

    git remote set-url origin git@github.com:laravel/laravel.git
    

    or

    git remote set-url origin https://github.com/laravel/laravel.git
    

    Hope, this will help :)

    0 讨论(0)
提交回复
热议问题