Error downloading Fabric image fatal: unable to access 'https://github.com/hyperledger/fabric.git/': gnutls_handshake

The following error occurs when building a Fabric network:

fatal: unable to access 'https://github.com/hyperledger/fabric.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

Solutions are provided as follows:

Solution 1

git config --global --unset http.proxy 
git config --global --unset https.proxy

Solution 2

git uses libcurl4-gnutls-dev, and the library has been modified in ubuntu18, causing git to fail to connect using SSL

sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev

Solution 3
Execute the installation using the compiled installation package. Download the installation package: openssl

sudo dpkg -i openssl_XXX.deb

Guess you like

Origin blog.csdn.net/weixin_42694422/article/details/129239245