我在GitHub上使用Hyperledger Fabric代码。当我手动以下从生成证书要通过CLI容器启动网络中的所有步骤,我得到了下面的错误,当我执行Hyperledger Fabric Peer 2通道启动中的对等错误
peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls $CORE_PEER_TLS_ENABLED --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/cacerts/ca.example.com-cert.pem
我甚至 export FABRIC_CFG_PATH=$PWD
但但我仍然得到以下错误:
2017-06-15 19:35:37.332 UTC [msp] getMspConfig -> INFO 001 intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]om/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/A[email protected]m/msp/intermediatecerts: no such file or directory]
2017-06-15 19:35:37.332 UTC [msp] getMspConfig -> INFO 002 crls folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]om/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/A[email protected]m/msp/crls: no such file or directory]
2017-06-15 19:35:37.333 UTC [msp] getMspConfig -> INFO 003 MSP configuration file not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]om/msp/config.yaml]: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/A[email protected]m/msp/config.yaml: no such file or directory]
,当我尝试通过./network.sh了,我碰到下面的错误中提供的自动脚本来运行它:
2017-06-15 20:18:45.664 UTC [grpc] Printf -> DEBU 006 Failed to dial orderer.example.com:7050: connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid"; please retry.Error: Error connecting due to rpc error: code = Internal desc = connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid"
我指 http://hyperledger-fabric.readthedocs.io/en/latest/getting_started.html?cm_mc_uid=64108713483714975446507&cm_mc_sid_50200000=1497559454&cm_mc_sid_52640000=1497559454 创建并启动网络,这样我可以查询或调用交易。 –