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

前端 未结 17 932
迷失自我
迷失自我 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 02:44

    The error occurs in 'libcurl', which is the underlying protocol for https upload. Solution is to somehow updgrade libcurl. To get more details about the error, set GIT_CURL_VERBOSE=1

    https://confluence.atlassian.com/pages/viewpage.action?pageId=306348908

    Meaning of error, as per libcurl doc: CURLE_HTTP_RETURNED_ERROR (22)

    This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400.

    http://curl.haxx.se/libcurl/c/libcurl-errors.html

提交回复
热议问题