0

我正在按照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.

我错过了什么吗?谢谢。

4

1 回答 1

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 您的示例应该具有参与者字段正确的值。

于 2017-03-21T15:34:13.677 回答