Hyperledger Fabric Error while creating channel unknown consortium

0 votes

configtx.yaml file

Profiles:

    DocChainOrdererGenesis: #TwoOrgsOrdererGenesis:
        Capabilities:
            <<: *ChannelCapabilities
        Orderer:
            <<: *OrdererDefaults
            Organizations:
                - *OrdererNUSTOrg
            Capabilities:
                <<: *OrdererCapabilities
        Consortiums:
            DocChain:
                Organizations:
                    - *NUST
                    - *GIKI
                    - *LUMS
    DocChainOrgsChannel:
        Consortium: DocChain
        Application:
            <<: *ApplicationDefaults
            Organizations:
                - *NUST
                - *GIKI
                - *LUMS
            Capabilities:
                <<: *ApplicationCapabilities

 i try to create channel from cli container, i get this error

2018-05-11 11:33:13.956 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP
2018-05-11 11:33:13.956 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity
2018-05-11 11:33:13.957 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0ABF060A1408021A0608F9FED5D70522...5CB2E57136F84747C182E82B76191345 
2018-05-11 11:33:13.957 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 6B8E0CAC07B99E8E993D0C4C8692797D12AECD3CA09C56AF07D769B2B0783DD1 
Error: got unexpected status: BAD_REQUEST -- Unknown consortium name: DocChain
Usage:
  peer channel create [flags]

Flags:
  -c, --channelID string   In case of a newChain command, the channel ID to create.
  -f, --file string        Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
  -t, --timeout int

Oct 31, 2018 in Blockchain by digger
• 26,740 points
1,915 views

1 answer to this question.

0 votes

Firstly, replace DocChain with DocChainConsortium.

Then run:

docker-compose -f docker-compose-cli.yaml down --volumes --remove-orphans

This should work

answered Oct 31, 2018 by Omkar
• 69,220 points

Related Questions In Blockchain

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

Challenge while setting up Hyperledger Fabric 1.0 in Ubuntu 16.04

The rocksdb error you're seeing wouldn't be ...READ MORE

answered Mar 27, 2018 in Blockchain by ned_crew
• 1,610 points

edited Jun 8, 2020 by Sirajul 1,153 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
4 answers

Hyperledger Fabric: Error: 2 UNKNOWN: access denied: channel [contentbackchainchannel] creator org

Run the following command inside fabric-tools folder: ./teardownFabric.sh ./startFabric.sh ./createPeerAdminCard.sh Then ...READ MORE

answered Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
5,145 views
+2 votes
3 answers
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