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 in Blockchain by Sara
• 130 points
84 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 by Gitika
• 31,430 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
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,670 points
749 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,040 points
391 views
0 votes
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,670 points
168 views
0 votes
1 answer

Can someone tell me how to solve the Hyperledger playground installation issue?

Hey, @Ratul, I would suggest using this command ...READ MORE

answered May 13 in Blockchain by Gitika
• 31,430 points
49 views