Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

I'm working on the hyperledger blockchain on Ubuntu 18-04 LTS via this tuto hyperledger.github.io/composer/latest/tutorials/developer-tutorial . I have installed all the pre-requisites and in this step of running "composer network install", I faced this issue and tried some solutions but still not working. Any help please? Thanks!

~/tutorial-network$ composer network install --card PeerAdmin@hlfv1 --archiveFile [email protected]

Installing business network. This may take a minute... Error: Error trying to install the business network. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: Failed to connect before the deadline Command failed

1 Answer

0 votes
by (29.5k points)
edited by

It seems like your fabric isn't running so, the first thing you need to do is go to your fabric-dev-servers folder and run ./startFabric.sh

if you get any errors there, like some containers already exist then do a ./teardownFabric.sh first then run the start command again. This will give you a basic running network with one org, one peer and one orderer.
Once your network is running then you need to create your admin card by running ./createPeerAdminCard.sh
once you reach this point then you are ready to install and start your
chaincode.

Other reason may be proxy issues, so you need to clear that in order to deploy successfully.

If you want to be an expert in your field, then enroll in Blockchain Certification by Intellipaat.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...