Channel fails to create Hyperledger Fabric

0 votes

So Im trying to create a channel with 

peer channel create -o orderer.bloyal.com:7050 -c bloyal -f ./channel-artifacts/channel.tx --outputBlock ./bloyal.block --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/bloyal.com/orderers/orderer.bloyal.com/msp/tlscacerts/tlsca.bloyal.com-cert.pem

But I keep getting this error, and I have no clue what else to try

Error: got unexpected status: BAD_REQUEST -- error validating channel creation transaction for new channel 'bloyal', could not succesfully apply update to template configuration: error authorizing update: error validating ReadSet: existing config does not contain element for [Group] /Channel/Application/ZaraMSP but was in the read set

All my files are taken from byfn but modified to fit my bloyal network

May 26, 2020 in Blockchain by Sara
• 130 points
1,554 views

1 answer to this question.

0 votes

Hi, @Sara,

I guess this error is happening because the channel was already started. If this is the case then try
./byfn.sh -m restart -c channelName

I hope this helps.

answered May 26, 2020 by Gitika
• 65,910 points
Hi @Gitika, Thank you for your input!

I cleaned containers, images, volumes and networks and started from scratch.. Still same error.

It wont let me add a peer to this channel either, so can it be something else in your opinion?

Best regards

Hi, @Sara,

Don't forget to set *TLS_ENABLED to false in peer_base.yaml and orderer_base.yaml, cause some example under no-tls, distinguish them is to see whether there is --cafile $ORDERER_CA in command.

Start with a fresh config and new channel name. Also, try passing the -t int flag in peer channel create command. Might be an issue that the command is timing before generating the channel genesis block.

Related Questions In Blockchain

+2 votes
3 answers
+1 vote
0 answers
0 votes
1 answer

How to join a peer to a channel in Hyperledger Fabric?

When you run the command: peer channel create ...READ MORE

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

Hyperledger Fabric: Cant create channel on peer

Add host entries to your /etc/hosts should resolve your ...READ MORE

answered Oct 26, 2018 in Blockchain by Omkar
• 69,210 points
1,084 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,211 views
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,740 points
704 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP