fatal: unable to access 'https://github.com/username/repo.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
文章摘要
GPT 4
此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
投诉fatal: unable to access ‘https://github.com/username/repo.git/‘: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
解决方案:
1 | apt-get install gnutls-bin |
- 安装gnutls-bin
- 禁用全局SSL验证
- 增大 http.postBuffer 的大小,http.postBuffer 决定了 Git 向远程服务器发送数据时的缓冲区大小,默认值为 1MB。将缓冲区大小增大到 1GB(1048576000 字节)可以解决因数据量大导致的推送中断问题。
本文是原创文章,采用CC BY-NC-SA 4.0协议,完整转载请注明来自DaoXuan
评论 ()