报错过程:
进入fabric-samples 目录中的first-networkd子目录后,在使用“./byfn.sh —help”时报错:
error getting endorser client for channel: endorser client failed to connect to peer0.org1.example.com:7051: failed to create new connection: context deadline exceeded
解决方案:
将 /etc/resolv.conf 注释掉 options timeout:2 attempts:3 rotate single-request-reopen,再次运行可成功。