前言

在前一个小时提交代码还好好的,项目紧急修改bug提交,出现如下错误,啥情况,怎么代码提交不了了???

core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/2.0.0:refs/heads/2.0.0
Pushing to https://git.xxx.git
POST git-receive-pack (173709 bytes)
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

以为是Soutcetree的问题,用终端命令git push依然报错:

Enumerating objects: 56, done.
Counting objects: 100% (42/42), done.
Delta compression using up to 8 threads
Compressing objects: 100% (26/26), done.
Writing objects: 100% (26/26), 168.94 KiB | 28.16 MiB/s, done.
Total 26 (delta 16), reused 0 (delta 0), pack-reused 0
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

依然没解决问题,去GitLab上面看发现:

You won`t be able to pull or push project code via SSH until you add an SSH key to your profile

那就设置SSH吧,
设置SSH

还是不行,谷歌一下!

解决方法:

git config --global http.version HTTP/1.1
git config --global http.postBuffer 157286400

END.

git error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)相关推荐

  1. ❤ error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

    使用Git的时候今天突然遇到了问题 ❤ Mac上使用git突然遇到报错: git 提交报错 error: RPC failed; curl 92 HTTP/2 stream 0 was not clo ...

  2. mac上git clone报错:error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (e

    一,加大缓存区 git config --global http.postBuffer 524288000 这个大约是500M 二.少clone一些,–depth 1 git clone https: ...

  3. error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying st...

    git clone 时候报错 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the u ...

  4. 解决RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying str

    git push代码时提示:"RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the und ...

  5. git error: RPC failed; curl 56 GnuTLS recv error 解决方案

    git error: RPC failed; curl 56 GnuTLS recv error 解决方案 参考文章: (1)git error: RPC failed; curl 56 GnuTLS ...

  6. 对于在git上面拉代码报“error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054“解决方法

    对于在git上面拉代码报"error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054"解 ...

  7. 【Git】error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was rece

    目录 一. 问题 二. 解决 一. 问题 今天拉取代码,出现如下所示错误: error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packe ...

  8. error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054

    error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054 1.问题:git下载代码时,报" ...

  9. error: RPC failed; curl 18 transfer closed with outstanding read

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote en ...

最新文章

  1. 基于知识图谱、认知推理、逻辑表达的认知图谱,则被越来越多的国内外学者和产业领袖认为是 “目前可以突破这一技术瓶颈的可行解决方案之一
  2. ----==《在路上》==----
  3. Unable to compile class for JSP的解决方法
  4. boost::connected_components用法的测试程序
  5. 【MapReduce】
  6. Bootstrap 5款常用模板
  7. 条令考试小程序辅助器_可以自己编题的答题软件,自定义题库考试出题工具,微信答题小程序...
  8. python打印一个对象的所有属性_python打印出所有的对象/模块的属性代码详解
  9. Linux防火墙设置IP端口白名单
  10. 数值的八进制、十六进制表示,及以二进制进行显示
  11. cmake中添加引用动态链接_C和C++使用对方编译的动态链接库
  12. 手机访问电脑虚拟服务器,User Agent Switcher插件使用教程【电脑模拟手机访问网站】...
  13. ssh框架 mysql 配置文件_SSH框架与配置文件的简单搭建
  14. vue项目退出登录清除 store 数据
  15. 8款逆天的在线实用工具
  16. 高德地图打开卫星地图(高德地图设置方法)
  17. 今日头条含室内设计用户粉丝数量统计(2019.12.24)
  18. linux中send函数MSG_NOSIGNAL
  19. 五一南京-无丝竹无案牍
  20. 周末了,看,首富出门遛狗。

热门文章

  1. 学习笔记☞ MongoDB(芒果数据库) ☞【查找,删除,操作符】
  2. oracle同步软件技术实现对比
  3. 网站绑定域名后不能用IP直接访问了?
  4. ros局部路径规划器dwa
  5. 工作组模式下Windows共享分析
  6. 【Javscript Java】解决CSV中文乱码的问题
  7. 929. Unique Email Addresses*
  8. smtp outlook邮件发送非授权码模式
  9. 【笔记】IAR重命名工程文件名称
  10. 《辩证行为疗法》摘录 -- 人际交往篇