“作曲家网络ping”将不会在“作曲家身份问题”后显示参与者

时间:2017-03-20 00:48:28

标签: hyperledger-composer

我正在跟踪https://fabric-composer.github.io/managing/identity-issue.html中的步骤,以检查参与者的身份证明。在执行时我没有错误:

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

问题是以后我在ping时没有得到参与者:

$ 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 个答案:

答案 0 :(得分:1)

为了使其与fabric v0.6一起使用,您需要使用以下环境变量启动成员资格服务 MEMBERSRVC_CA_ACA_ENABLED=true 最简单的方法是更新docker compose文件,例如 membersrvc: image: hyperledger/fabric-membersrvc ports: - '7054:7054' environment: - MEMBERSRVC_CA_ACA_ENABLED=true command: membersrvc 然后,您的示例应该使参与者字段具有正确的值。