2017-03-20 24 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 您的示例應該具有正確值的參與者字段。