Intellipaat Back

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

composer network install --card PeerAdmin@hlfv1 --archiveFile [email protected]

when I run the command , I got the below error

✖ Installing business network. This may take a minute... Error: Error trying install 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 (14.4k points)

The issue you are facing is because you are not able to connect to the fabric network.

Check that you have imported your PeerAdmin card correctly:

composer card list -c PeerAdmin@hlfv1

Then restart the network with the fabric-tools scripts:

./StopFabric.sh

./teardownFabric.sh

Start it again by:

./startFabric.sh

./createPeerAdminCard.sh

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...