作曲家身份问题授权失败错误hyperldeger作曲家v0.15.0 [英] composer identity issue Authorization failure error hyperldeger composer v0.15.0
问题描述
我遇到了与此处相同的问题,并且基于关于评论,我通过删除.composer-credentials目录并再次部署网络来解决此问题.现在,我正在使用新版本的composer(v0.15.0).我已经删除了两个目录(.composer-credentials
和.composer-connection-profiles
),但是当我运行
I had the same issue which discussed here, and based on comments I fixed the problem by removing .composer-credentials directory and deploying my network again. Now I am using the new version of composer(v0.15.0). I already removed two directories (.composer-credentials
and .composer-connection-profiles
), but again when I run
composer identity issue -c admin@test-network -f membercard -u member -a "resource:org..."
我遇到相同的错误-> fabric-ca请求寄存器失败,错误为[[{{code:400," message:" Authorization failure}]]].
I get the same error --> fabric-ca request register failed with errors [[{"code":400,"message":"Authorization failure"}]].
推荐答案
在0.15.x版本中,连接配置文件不再存储在$ {HOME}/.composer-connection-profiles中.它们存储在您的卡中.现在,连接配置文件不应包含keyValStore属性,因此$ {HOME}/.composer-credentials目录不再用于缓存凭据. 对于0.15.0,如果要清除卡和缓存的凭据,则现在需要删除$ {HOME}/.composer目录,然后重新导入所有卡. 将来,您将能够删除一张卡,该卡还将清除所有缓存的凭据.
In 0.15.x release connection profiles are not stored in ${HOME}/.composer-connection-profiles anymore. They are stored in your cards. Connection profiles should now not include a keyValStore property and as such the directory ${HOME}/.composer-credentials is not used to cache credentials anymore. For 0.15.0 if you want to clear out cards and cached credentials then for now you need to delete the ${HOME}/.composer directory and re-import all your cards. In the future you will be able to delete a card which will also clear any cached credentials.
这篇关于作曲家身份问题授权失败错误hyperldeger作曲家v0.15.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!