How to resolve the hyperledger fabric versions set up

+1 vote
bc@bc-HP-Pro-3090-Microtower-PC:~/product-network$ composer network start --networkName product-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
Starting business network product-network at version 0.0.1

Processing these Network Admins:
    userName: admin

✖ Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: Failed to connect to any peer event hubs. It is required that at least 1 event hub has been connected to receive the commit event
Command failed
Dec 18, 2018 in Blockchain by Bhemeswararao
• 210 points
Hey @Bhemeswararao! Which version and Fabric and Composer are you using?
Fabric1.0 and composer o.20
The compatible versions of Fabric for Composer 0.20 and above are Fabric 1.2.0, 1.2.1 and 1.3.0. Upgrade the Fabric and then try. Let us know if it solves the problem.

3 answers to this question.

+1 vote
Best answer
How to simple way to upgrade the fabric version?
answered Dec 18, 2018 by anonymous

selected May 7, 2019 by Omkar

The steps to upgrade Fabric is as follows:

  • Upgrade the binaries for the ordering service, the Fabric CA, and the peers. These upgrades may be done in parallel.
  • Upgrade client SDKs.
  • Enable the two v1.3 capabilities.

You will find the complete guide on how to do it here: 

+1 vote

Maybe you didn't mention the npmrc file while installing composer network. 

You have to install it like this:

composer network install --c PeerAdmin@hlfv1 --a tutorial-network@0.0.1.bna -o npmrcFile=/home/user1/config/npmConfig
answered May 7, 2019 by Yogi

Hi @Yagi, what is the this npmrc file?

Hi @Tina. My name is "Yogi" :P. The npmrc file is used to specify npm configuration for Composer runtime. 

0 votes
Check your Channel name. I had faced this issue because I had mentioned the wrong channel name.
answered May 7, 2019 by Kunal
how do i find the correct channel name though?

Related Questions In Blockchain

0 votes
1 answer

How to set up Hyperledger Fabric v0.6 network without docker?

Hyperledger Fabric v0.6 does not provide any ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,350 points
0 votes
1 answer

How to set up hyperledger fabric on 2 different PCs?

I would recommend that you look at ...READ MORE

answered Aug 2, 2018 in Blockchain by aryya
• 7,450 points
0 votes
1 answer
0 votes
1 answer

How to set chaincode path in Hyperledger Fabric?

For chaincode to properly run on your ...READ MORE

answered Jul 27, 2018 in Blockchain by digger
• 26,740 points
0 votes
1 answer

How to define the path to hyperledger-fabric chaincode?

You can find that in docker-compose files ...READ MORE

answered Oct 4, 2018 in Blockchain by Perry
• 17,100 points
+2 votes
1 answer
0 votes
1 answer
0 votes
3 answers
0 votes
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP