Error('Cannot find org.', orgName); ^ Error: Cannot find org.
Welcome aboard: United Marbles
Channel: mychannel
Org: Org1MSP
CA: fabric-ca
Orderer: fabric-orderer
Peer: fabric-peer-org1
Chaincode ID: marbles
Chaincode Version: v4
------------------------------------------ Websocket Up ------------------------------------------
info: [fcw] Going to enroll peer_urls=[grpc://localhost:7051], channel_id=mychannel, uuid=marblesDockerComposeNetworkmychannelOrg1MSPfabricpeerorg1, ca_url=http://localhost:7054, orderer_url=grpc://localhost:7050, enroll_id=admin, enroll_secret=adminpw, msp_id=Org1MSP, kvs_path=/root/fabric-samples/fabcar/hfc-key-store
error: [Client.js]: Failed to load user "admin" from local key value store. Error: Error: Private key missing from key store. Can not establish the signing identity for user admin
at _cryptoSuite.importKey.then.then (/opt/gopath/go/src/github.com/hyperledger/marbles/node_modules/fabric-client/lib/User.js:255:11)
at <anonymous>
error: [Client.js]: Failed to load an instance of requested user "admin" from the state store on this Client instance. Error: Error: Private key missing from key store. Can not establish the signing identity for user admin
at _cryptoSuite.importKey.then.then (/opt/gopath/go/src/github.com/hyperledger/marbles/node_modules/fabric-client/lib/User.js:255:11)
at <anonymous>
error: [fcw] Failed to get enrollment marblesDockerComposeNetworkmychannelOrg1MSPfabricpeerorg1 Error: Private key missing from key store. Can not establish the signing identity for user admin
at _cryptoSuite.importKey.then.then (/opt/gopath/go/src/github.com/hyperledger/marbles/node_modules/fabric-client/lib/User.js:255:11)
at <anonymous>
error: [fcw] could not format error
error: Exhausted all CAs. There are no more CAs to try.
error: could not enroll...
warn: removing older kvs and trying to enroll again
warn: removed older kvs
info: [fcw] Going to enroll peer_urls=[grpc://localhost:7051], channel_id=mychannel, uuid=marblesDockerComposeNetworkmychannelOrg1MSPfabricpeerorg1, ca_url=http://localhost:7054, orderer_url=grpc://localhost:7050, enroll_id=admin, enroll_secret=adminpw, msp_id=Org1MSP, kvs_path=/root/fabric-samples/fabcar/hfc-key-store
error: [Client.js]: Failed to load user "admin" from local key value store. Error: Error: Private key missing from key store. Can not establish the signing identity for user admin
at _cryptoSuite.importKey.then.then (/opt/gopath/go/src/github.com/hyperledger/marbles/node_modules/fabric-client/lib/User.js:255:11)
at <anonymous>
error: [Client.js]: Failed to load an instance of requested user "admin" from the state store on this Client instance. Error: Error: Private key missing from key store. Can not establish the signing identity for user admin
at _cryptoSuite.importKey.then.then (/opt/gopath/go/src/github.com/hyperledger/marbles/node_modules/fabric-client/lib/User.js:255:11)
at <anonymous>
error: [fcw] Failed to get enrollment marblesDockerComposeNetworkmychannelOrg1MSPfabricpeerorg1 Error: Private key missing from key store. Can not establish the signing identity for user admin
at _cryptoSuite.importKey.then.then (/opt/gopath/go/src/github.com/hyperledger/marbles/node_modules/fabric-client/lib/User.js:255:11)
at <anonymous>
error: [fcw] could not format error
error: Exhausted all CAs. There are no more CAs to try.
error: could not enroll...
warn: Error enrolling admin
遇以上错误 请检查connection_profile_local.json 文件,按以下提示进行修改。
https://github.com/IBM-Blockchain/marbles/issues/217
https://github.com/IBM-Blockchain/marbles/issues/198