惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
N
Netflix TechBlog - Medium
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
V
Visual Studio Blog
H
Help Net Security
Engineering at Meta
Engineering at Meta
Hugging Face - Blog
Hugging Face - Blog
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
博客园 - 【当耐特】
B
Blog
Stack Overflow Blog
Stack Overflow Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
GbyAI
GbyAI
博客园 - 司徒正美
博客园 - 叶小钗
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - 乱炖er

CSS/CSS3 Format/Optimize/Minify Tool 在线处理工具 android重复点击问题 macOS下生成pdf报错:No wkhtmltopdf executable found 错误:为 repo 'appstream' 下载元数据失败 : Cannot prepare internal mirrorlist: No URLs in mirrorlist Python爬虫'utf-8' codec can't decode byte 0xxx in position 1: invalid start byte的解决方案 Lombok requires enabled annotation processing: Do you want to enable annotation processors? visual studio code的markdown生成侧边栏目录 SpringBoot @Column SpringBoot2.6+单元测试 IDEA中SpringBoot热部署 Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord android studio右侧Gradle不显示Tasks PyCharm OSError: [Errno 48] Address already in use [Swift]扩展UIColor:实现十六进制颜色字符串与UIColor之间的相互转换 photoshop将png图片里的文字改成其他颜色 python json.dumps 中文编码问题 java.lang.RuntimeException: A TaskDescription's primary color should be opaque item2使用pem文件登陆 腾讯云服务器ssh登陆频繁断开链接的解决方案
fatal: unable to access 'https://github.com/xxx/'...
乱炖er · 2023-02-08 · via 博客园 - 乱炖er

push时候一直提示这个错误,网上有几个方法,基本都是推荐将git的通信协议由 http/2 改为 http/1.1

http/2 和 http/1.1之间有个区别是“HTTP2 基于 SPDY,专注于性能,最大的一个目标是在用户和网站间只用一个连接”

于是关闭所有github所有页面,关闭所有和github之间的连接,然后再次push,就成功了。

附将通信协议由 http/2 改为 http/1.1 的方法

$ git config --global http.version HTTP/1.1