"error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated"

"error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated"

亲爱的社区,当我从 bitbucket 克隆项目时出现此错误消息

"error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated"

有谁知道我该如何解决?? 提前致谢。

请试试这个:

git config --global http.postBuffer 524288000

git config --global https.postBuffer 524288000

git config --global core.compression -1

您可能需要使用 openssl 而不是 gnults 重新编译 git。请参考这个 它适用于 Ubuntu 18.04 和 20.04

严重:无法访问 'https://github.com/****':GnuTLS 接收错误 (-110):TLS 连接已 non-properly 终止。

解决方法: https://stdworkflow.com/782/fatal-cannot-access-https-github-com-gnutls-recv-error-110-the-tls-connection-was-non-pr

运行命令如下:

apt-get install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000