我正在按照以下步骤操作https://fabric-composer.github.io/managing/identity-issue.html 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.
我错过了什么吗?谢谢。
为了使其能够与 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
然后,您的示例应该具有具有正确值的参与者字段。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)