IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Error occured when running "gulp marbles_local" #249

Closed offthewall123 closed 5 years ago

offthewall123 commented 5 years ago

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=/Users/xu/Desktop/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 (/Users/xu/Desktop/marbles/node_modules/fabric-client/lib/User.js:255:11) at 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 (/Users/xu/Desktop/marbles/node_modules/fabric-client/lib/User.js:255:11) at 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 (/Users/xu/Desktop/marbles/node_modules/fabric-client/lib/User.js:255:11) at 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

dshuffma-ibm commented 5 years ago

try deleting your key value store folder /Users/xu/Desktop/fabric-samples/fabcar/hfc-key-store and re-running the steps. also make sure you didn't skip the register steps.

miku2000 commented 5 years ago

See my merge request for the documentation, based on https://github.com/IBM-Blockchain/marbles/issues/208

dshuffma-ibm commented 5 years ago

closing - inactivity