我将项目fabric-samples
克隆到我的文件名HYFA
。
我创建了文件名init.sh
,并将链接https://github.com/hyperledger/fabric-samples/blob/release-1.3/scripts/bootstrap.sh的内容复制到其中。
init.sh
以下载二进制文件和docker映像。peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
错误:无法创建交付客户端:订购者客户端无法连接到orderer.example.com:7050:未能创建新的连接:超出了上下文期限
我该如何解决这个问题?
答案 0 :(得分:0)
我只是遇到了同样的错误,我所做的只是修剪容器等(简而言之,重新启动网络)。它再次起作用。这可能不是您的解决方案,但请添加更多详细信息:)