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
443 views
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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote
Best answer
How to simple way to upgrade the fabric version?
answered Dec 18, 2018 by anonymous

selected May 7 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: https://hyperledger-fabric.readthedocs.io/en/release-1.3/upgrade_to_newest_version.html 

+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 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 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,040 points
263 views
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 1, 2018 in Blockchain by ariaholic
• 7,320 points
107 views
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
• 27,620 points
382 views
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
• 16,450 points
149 views
0 votes
1 answer
0 votes
1 answer
0 votes
3 answers
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.