在Hyperledger Fabric中创建Peer 通道失败



我正在按照教程将Hyperledger Composer区块链业务网络部署到多个组织中的Hyperledger Fabric,可在以下位置获得:https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org

我遵循了先决条件,在执行第一步时,在成功生成通道的证书和创世块后,在执行命令时:

./byfn.sh -m up -s couchdb -a

它给出以下错误:

Channel name : mychannel
Creating channel...
2018-08-29 21:10:17.473 UTC [main] main -> ERRO 001 Cannot run peer because cannot init crypto, missing /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp folder
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========
+ res=1
+ set +x
ERROR !!!! Test failed

有人知道如何解决这个问题吗?

确保正确设置GOPATH

看看crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp路径是否存在。此路径位于crypto-config文件夹中。

有时,由于根用户,无法访问管理员证书。

最新更新