搭建Fabric网络时 出现如下错误:
fatal: unable to access 'https://github.com/hyperledger/fabric.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
提供解决方案如下:
解决方法1
git config --global --unset http.proxy
git config --global --unset https.proxy
解决方法2
git使用了libcurl4-gnutls-dev,而在ubuntu18中该库作出了修改,导致git无法使用SSL进行连接
sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev
解决方法3
执行使用编译好的安装包安装。安装包下载:openssl
sudo dpkg -i openssl_XXX.deb