Hyperledger Composer v0.16.0 network start error

前端 未结 10 788
南旧
南旧 2020-12-18 03:26

I\'m trying Hyperledger Composer v0.16.0. According to this procedure, I want to Deploy BNA to Fabric network on cloud. but following error occurs. Kindly let me know how I

相关标签:
10条回答
  • 2020-12-18 03:59

    That error can mean that the identity you are using to perform a network start doesn't have channel admin authority and thus is not authorised to perform a network start. I would suggest you check with whoever created your Hyperledger Fabric environment and channel to find out who the right identities are for administrative authority on the channel and build a card with the appropriate crypto material representing that identity in order to perform a network start.

    0 讨论(0)
  • 2020-12-18 04:02

    Please create a new card with your business network name. Hopefully it will work:

    composer network start --card PeerAdmin@myfabric --networkAdmin admin --networkAdminEnrollSecret adminpw --archiveFile trade-network.bna --file trade-network.card

    0 讨论(0)
  • 2020-12-18 04:02

    Well i was getting the similar error :-

    Upgrading business network definition. This may take a minute...
    Error: Error trying to upgrade business network. Error: No valid responses from any peers.
    Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message: could not find chaincode with name 'airlinev9')
    Command failed
    

    My composer version: v0.19.4

    What I was trying to do:-

    I was trying the update my BNA to a newer version. But got the error which i shown you above.

    What I did to solve the issue :-

    1. I first deleted the previous card using the command :-

    composer card delete -c admin@airlinev9

    1. And then start the BNA with (already created, installed):-

    composer network start -c PeerAdmin@hlfv1 -n airlinev9 -V 0.0.3 -A admin -S adminpw

    And it worked for me.

    0 讨论(0)
  • 2020-12-18 04:04
     1. ./stopFabric.sh
     2. export FABRIC_VERSION=hlfv11
     3. ./startFabric.sh
     4. ./createPeerAdminCard.sh
     5. install network
     6. start network
    
    0 讨论(0)
提交回复
热议问题