创建peer的错误:Failed to reach implicit threshold of 1 sub-policies, required 1 remaining

文章目录


执行peer时返回如下错误:

Error: Got unexpected status: BAD_REQUEST -- Error authorizing update: Error validating DeltaSet: 
Policy for [Groups] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 
sub-policies, required 1 remaining

错误原因:

The most common reasons are:

    The identity is not in the list of admins for the org.
    The identity's certificate is not validly signed by the org CA chain.
    The identity's org is not known to the orderer.

Some other unlikely possibilities because you are using the peer binary and not custom code:

    The signature does not match the identity or signed bytes.
    The identity is malformed.

解决方法
参考yacovm在stackoverfolw上给出的方法。
主要思想就是检查:configtx.yaml文件中的证书位置,然后重新生成创世区块即可。

你可能感兴趣的:(Fabric)