Hyperledger fabric 从结构示例生成平衡传输时,签名集不满足策略/通道/应用程序/组织1/管理员的要求

Hyperledger fabric 从结构示例生成平衡传输时,签名集不满足策略/通道/应用程序/组织1/管理员的要求,hyperledger-fabric,hyperledger,hyperledger-fabric-ca,Hyperledger Fabric,Hyperledger,Hyperledger Fabric Ca,我正在尝试建立Hyperledger网络,就像从织物样品转移到balanace一样。 我有错误 status: 'BAD_REQUEST', - info: 'Error authorizing update: Error validating DeltaSet: Policy for [Groups] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, requir

我正在尝试建立Hyperledger网络,就像从织物样品转移到balanace一样。 我有错误

status: 'BAD_REQUEST',
-  info: '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'
  • docker记录order.exmaple.com
    output

  • 我使用cryptogen和configtxgen生成工件
  • 我知道,在尝试创建通道时,此错误伴随着错误的证书
  • 我可以使用cli创建通道、加入对等点、添加新对等点和添加新通道,例如,使用cli执行相同的步骤
    docker exec-e“CORE\u PEER\u LOCALMSPID=Org1MSP”-e“CORE\u PEER\u MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp“peer0.org1.example.com对等通道创建-o order.example.com:7050-c usachannel-f/etc/hyperledger/configtx/channel.tx
    工作正常

感谢您的帮助

您需要的是Gov1MSP.管理员的签名,而不是任何其他MSPHey@yacovm的签名,谢谢您的回复。我正在使用
client.loadFromConfig(hfc.getConfigSetting('Gov1MSP-connection-profile-path')设置管理员身份下一步我做
client.initCredentialStores
。对于“Gov1MSP连接配置文件路径”,我有以下.yaml文件。x-type:“hlfv1”版本:“1.0”客户端:组织:Gov1MSP凭据存储:路径:“./fabric-client-kv-org1”加密存储:路径:“/tmp/fabric-client-kv-org1”wallet:wallet名称所以我猜
credentialStore:path:
应该是我在CORE\u PEER\u MSPCONFIGPATH?@yacovm与docker exec一起使用的文件,或者在与Fabric Node SDK进行某些事务之前,有其他方法设置证书?
-2018-06-26 14:41:04.631 UTC [policies] Evaluate -> DEBU 120 Signature set  did not satisfy policy /Channel/Application/Gov1MSP/Admins
-2018-06-26 14:41:04.631 UTC [policies] Evaluate -> DEBU 121 == Done Evaluating *cauthdsl.policy Policy /Channel/Application/Gov1MSP/
-2018-06-26 14:41:04.631 UTC [policies] func1 -> DEBU 122 Evaluation Failed: Only 0 policies were satisfied, but needed 1 of [ Gov1MSP.Admins ]
-2018-06-26 14:41:04.631 UTC [policies] Evaluate -> DEBU 123 Signature set did not satisfy policy /Channel/Application/ChannelCreationPolicy
-2018-06-26 14:41:04.631 UTC [policies] Evaluate -> DEBU 124 == Done Evaluating *policies.implicitMetaPolicy Policy /Channel/Application/ChannelCreationPolicy
-2018-06-26 14:41:04.631 UTC [orderer/common/broadcast] Handle -> WARN 125 [channel: usachannel] Rejecting broadcast of config message from 172.18.0.1:46638 because of error: 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
-2018-06-26 14:41:04.631 UTC [orderer/common/server] func1 -> DEBU 126 Closing Broadcast stream