Could not deploy business network to hyperledger fabric beta using composer

匿名 (未验证) 提交于 2019-12-03 02:35:01

问题:

I have tried to deploy a business network using composer to but it fails with the following error

Error: event message must be properly signed by an identity from the same organization as the peer: [Expected MSP ID Org1MSP, received ]]

what is the problem ?

回答1:

There are several reasons why you might get this error

  1. You are not running composer v0.8.0 or higher. You can check what level you are running by invoking the command

composer -v

  1. You haven't specified a valid hlfv1 profile or you forgot to specify the profile to use on the network deploy command. If you have followed the tutorials and guides on the hyperledger composer site then a profile will have been created called hlfv1. Ensure you specify it on the command line invocations. For example to deploy

composer network deploy -a test.bna -i PeerAdmin -s anything -p hlfv1



回答2:

You are running an older version of docker. Level may be checked by invoking the command: docker -v

Invoking the ./prereqs-ubuntu.sh detailed in the 'Installing a developing with Hyperledger Composer' will update the prerequisites accordingly.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!