fatal: 无法访问 ‘‘github.com/“:GnuTLS recv error (-110): The TLS connection was non-properly terminated.

git clone报错:

fatal: 无法访问 ‘https://github.com/openstreetmap/osmosis.git/’:GnuTLS recv error (-110): The TLS connection was non-properly terminated.

解决方案:

关掉ssl
输入以下代码:

apt-get install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000
posted @ 2022-07-06 16:40  komomon  阅读(7722)  评论(0编辑  收藏  举报