2017-03-20 29 views
0

我按照https://fabric-composer.github.io/managing/identity-issue.html中的步骤检查参与者的身份发布。我没有得到任何错误和执行时:“作曲家网络ping”在“作曲家身份问题”后不会显示参与者

composer identity issue -n 'mychain-network' -i WebAppAdmin -s DJY27pEnl16d -u user1 -a "com.example.model.Owner#userid" 

我得到正确:

The participant can now connect to the business network with the following details: 
    userID = user1 
    userSecret = kJoWHaYCxnes 

的问题是,后来查验时,我没有得到参与者:

$ composer network ping -n 'mychain-network' -i user1 -s kJoWHaYCxnes 
The connection to the network was successfully tested: 
    version = 0.5.5 
    participant = <no participant found> 
Command completed successfully. 

上午我遗漏了什么?谢谢。

回答

1

为了这个与面料V0.6工作,你需要用下面的环境变量 MEMBERSRVC_CA_ACA_ENABLED=true 最容易做,这是更新您的码头工人,撰写文件的方式启动会员服务,例如 membersrvc: image: hyperledger/fabric-membersrvc ports: - '7054:7054' environment: - MEMBERSRVC_CA_ACA_ENABLED=true command: membersrvc 您的示例应该具有正确值的参与者字段。