Re: Peer instantiation error #fabric #fabric-sdk-node


Hi Baohua, 
Me to encoutering problems during chaincode instantiation. I don't use any SDKs. Just using CLI command but I get "Error: could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: container exited with 0" error. Could you please suggest me where should I look into to figure this out? The peer logs are in I am using 1.4.4 peer and orderers with Raft.

Thank you,

On Thu, 12 Dec 2019 at 20:22, Baohua Yang <yangbaohua@...> wrote:
Seems that's the policy issue, and have you joined the peer into the channel successfully? And what id are you using to do the installation?

Besides, I think this project might be helpful for you:

On Wed, Dec 11, 2019 at 12:31 AM <ankit.singh@...> wrote:
I am using fabric 1.4 with raft configuration. create channel, join channel, update anchor peers and install chaincode worked fine but facing this issue when trying to instantiate chaincode:

NodeJS logs:
(node:1463) UnhandledPromiseRejectionWarning: Error: Failed to instantiate the chaincode. cause:Error: instantiate proposal resulted in an error :: Error: failed to execute transaction 53450a9bb88694d82ab6c04f201f5016eecaf59140717d5ad2c4b4ba6710d48c: error sending: timeout expired while executing transaction

Blockchain logs:
Peer isn't eligible for channel mychannel : implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Readers' sub-policies to be satisfied    | runtime.goexit    | /opt/go/src/runtime/asm_amd64.s:1337

Best wishes!

Baohua Yang

Join to automatically receive all group messages.