My first Hyperledger fabric network is not working

0 votes

I am trying to work on my first network in Hyperledger Fabric. 

But, when I run the following:

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

I got hte following error:

Error: Got unexpected status: BAD_REQUEST

In an attempt to resolve I follow the solution but faced error on running

/bin/bash -c './scripts/script.sh ${CHANNEL_NAME}; sleep $TIMEOUT'  
Aug 10, 2018 in Blockchain by Christine
• 15,790 points
1,960 views

1 answer to this question.

0 votes
Delete as admin the channel-artifacts folder, down the network and restart it. Your error must be related to an error at channel-artifacts generation.

You need to be in /c/users when you run the curl command.

Continue on with other setup instructions

also, please make sure you run your docker command prompt in administrator mode.
answered Aug 10, 2018 by Johnathon
• 9,090 points

Related Questions In Blockchain

0 votes
3 answers
0 votes
1 answer

Hyperledger fabric: curl not working to invoke chaincode

Hyperledger Fabric does not offer a REST ...READ MORE

answered Oct 23, 2018 in Blockchain by Perry
• 17,100 points
1,118 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,451 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
1,004 views
+1 vote
1 answer
0 votes
1 answer

How do I use hyperledger fabric blockchain to build my own application?

To use fabric I would recommend you ...READ MORE

answered May 17, 2018 in Blockchain by Johnathon
• 9,090 points
1,075 views
0 votes
1 answer
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