git push 时出现error: RPC failed; result=22 HTTP code = 413 主要是nginx对传输的内容大小做了限制 设置nginx 的client_max_body_size
这样的话首先改一下git的传输字节限制 右键点击选择Git Bash输入:git config http.postBuffer 524288000 然后这时候在传输或许会出现另一个错误 error: RPC failed; result=22, HTTP code = 413 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date 这...
error: RPC failed; result=22, HTTP code = 413| 7.66 MiB/s fatal: The remote end hung up unexpectedly 查了下,属于项目中有大文件,而http推送限制造成的,需要修改服务器配置。因为git服务器是通过nginx做反向代理之后实现的,因此需要修改nginx和appache(git服务器): 1、nginx服务器配置:/etc/nginx/conf....
error:RPC failed;result=22,HTTP code=413fatal:The remote end hung up unepectedly 出现这个错误的主要原因是传输的内容比较大。 二、解决方法 本文测试均以本人新建的 github 仓库 My_String 为例进行说明,其中克隆该仓库使用的是 http 方式。 2.1 方法一:将传输方式由 http 改为 ssh (推荐) 如果使用的...
I cannot push a relatively large repo over HTTPS. This is what I get: On the pushing side: Compressing objects: 100% (60002/60002), done. error: RPC failed; result=22, HTTP code = 413 | 282.00 KiB/s fatal: The remote end hung up unexpect...
Total 2469 (delta 316), reused 0 (delta 0) error: RPC failed; result=22, HTTP code = 413 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly What version of the product are you using? On what operating system? GitBlit Express 1.1.0 Please provide any...
I had this error (error: RPC failed; result=22, HTTP code = 413) when I tried to push my initial commit to a new BitBucket repository. The error occurred for me because the BitBucket repo had no master branch. If you are using SourceTree you can create a master branch on the o...
今天下班,提交React Native项目时,git报错了。 HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large 原因很明显,请求体太大导致的。 怎么解决呢?有的说设置postBuffer, error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly ...
$ git push -u origin master Counting objects: 5, done. Writing objects: 100% (3/3), 279 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) error: RPC failed; result=22, HTTP code = 403 fatal: The remote end hung up unexpectedly fatal: The remote end hung up ...
error: RPC failed; result=22, HTTP code =413fatal: The remote end hung up unexpectedly 解决:1、修改 /etc/gitlab/gitlab.rb //把这两项的#号去掉nginx['enable'] =truenginx['client_max_body_size'] ='250m' 2、git remote add origin http://xx.xxxx.com/group/xxx.git 设置远程地址时url...