0
votes

I am facing the below problem while doing my tutorial,

I was on the step on Deploying the business network and issued the following command from terminal on my mac

composer network start --card PeerAdmin@hlfv1 \
--networkAdmin admin --networkAdminEnrollSecret adminpw \
--archiveFile [email protected] --file networkadmin.card

But I have been ending up with ,

Error: Error trying to instantiate composer runtime. Error: Failed to receive commit notification for transaction '95b241579673c195c630aa687bbf92d5453fb893a1074ab669f08222d1a6c124' within the timeout period Command failed

Below is the complete message from command to error message :

composer network start --card PeerAdmin@hlfv1 --networkAdmin admin --networkAdminEnrollSecret adminpw --archiveFile [email protected] --file networkadmin.card Starting business network from archive: [email protected] Business network definition: Identifier: [email protected] Description: tutorial for new application in BC

Processing these Network Admins: userName: admin

✖ Starting business network definition. This may take a minute... Error: Error trying to instantiate composer runtime. Error: Failed to receive commit notification for transaction '95b241579673c195c630aa687bbf92d5453fb893a1074ab669f08222d1a6c124' within the timeout period Command failed

Please help :(

1

1 Answers

0
votes

Assuming you have created the PeerAdmin card through running the createPeerAdminCard.sh script, it sounds like you did not do a composer runtime install -n tutorial-network -c PeerAdmin@tutorial-network first. If you did, then I suspect (in your tutorial, as you called it) that your Fabric is not configured correctly and the orderers are unable to push events back into the peers. First check the AnchorPeers and other hostnames in your file configtx.yaml and ensure you run configtxgen once you have made those changes. If you mean 'this tutorial' https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-single-org.html then I would just follow it to the 'letter'.