"composer network ping"包括:在“提交者身份发布"之后,不会向参与者显示 [英] "composer network ping" won't show the participant after "composer identity issue"

查看:58
本文介绍了"composer network ping"包括:在“提交者身份发布"之后,不会向参与者显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 https://fabric-composer.github中的步骤中进行操作. io/managing/identity-issue.html 来检查参与者的身份发放.执行时没有错误,

I am following steps in https://fabric-composer.github.io/managing/identity-issue.html to check the identity issuing for participants. I get no errors and when executing:

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时我没有参与者:

The problem is that later I don't get the participant when pinging:

$ 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.

我错过了什么吗?谢谢.

Am I missing something? Thanks.

推荐答案

为使其与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 这样您的示例中的参与者字段应该具有正确的值.

In order for this to work with fabric v0.6, you need to start up the membership service with the following environment variable MEMBERSRVC_CA_ACA_ENABLED=true easiest way to do this is to update your docker compose file, for example membersrvc: image: hyperledger/fabric-membersrvc ports: - '7054:7054' environment: - MEMBERSRVC_CA_ACA_ENABLED=true command: membersrvc your example should then have the participant field with the correct value.

这篇关于"composer network ping"包括:在“提交者身份发布"之后,不会向参与者显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆