admin管理员组

文章数量:1353108

I am getting this problem when trying to run transactions using Java Fabric Gateway:

[policies] Convert -> ==Error Converting *policies.ImplicitMetaPolicy Policy /Channel/Application/Endorsement, err 
subpolicy number 2 type policies.rejectPolicy of policy Endorsement is not convertible

[lifecycle] Metadata -> could not convert policy for chaincode 'u-lr-chaincode' on channel mychannel-channel', err 'error converting policy with reference '/Channel/Application/Endorsement' on channel 'mychannel-channel' to SignaturePolicyEnvelope: subpolicy number 2 type policies.rejectPolicy of policy Endorsement is not convertible'

And after that...

[gateway] endorsementPlan -> PeersForEndorsement failed. error="No metadata was found for chaincode u-lr-chaincode in channel command-and-control-lr-channel" errorVerbose="No metadata was found for chaincode u-lr-chaincode in channel command-and-control-lr-channel

The network works as i can query and run chaincode transactions using peer chaincode invoke command... but not through Fabric Gateway. I recently moved to HLF 3.0 to use PBFT while also updated fabric-gateway and fabric-chaincode-shim dependencies in gradle. Any suggestions?

本文标签: Hyperledger Fabric 30 java gateway problem Error Converting *policiesImplicitMetaPolicyStack Overflow