Error: Error trying to ping. Error: Error trying to query business network. Error: Connect Failed

0 votes

Working with Hyperledger Composer and following this link: Hyperledger Composer Queries Tutorial. But I'm getting the above error when executing step 4.

Possibly, I was getting the error as Fabric was not running in background. But even after running the Fabric the error I get is slightly different: 

Error trying to ping. Error: Error trying to query business network. Error: could not find chaincode with name 'tutorial-network' - make sure the chaincode tutorial-network has been successfully instantiated and try again Command failed

Jun 28, 2018 in Blockchain by sabby
• 4,350 points
336 views

1 answer to this question.

0 votes

Run the following commandbefore updating:

composer network start --card PeerAdmin@hlfv1 --networkAdmin admin --networkAdminEnrollSecret adminpw --archiveFile tutorial-network@0.0.1.bna --file networkadmin.card

This should help

answered Jun 28, 2018 by Perry
• 17,020 points

Related Questions In Blockchain

0 votes
1 answer

AWS multichain network, "Couldn't connect to the seed node" error

The error says "please check multichaind is ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,170 points
167 views
0 votes
1 answer
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 67,600 points
924 views
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,550 points
80 views
+1 vote
1 answer