nodejs SDK - channel.sendInstanstiateProposal timing out


Gowri R <gowri.r@...>
 

  • Hi, I getting a REQUEST_TIMEOUT while using the channel.sendInstantiateProposal API. Docker logs on peer output is as follows - 2018-10-31 22:42:39.627 UTC [endorser] simulateProposal -> DEBU 291b [][7c550f74] Exit
    2018-10-31 22:42:39.627 UTC [endorser] ProcessProposal -> ERRO 291c [][7c550f74] simulateProposal() resulted in chaincode name:"cscc" response status 500 for txid: 7c550f74e27843f04cf2be20b287608b4b56b5ddd412deb303ae3894c09552e1
    2018-10-31 22:42:39.627 UTC [endorser] ProcessProposal -> DEBU 291d Exit: request from%!(EXTRA string=172.21.0.1:53420)
    2018-10-31 22:42:40.682 UTC [endorser] ProcessProposal -> DEBU 291e Entering: Got request from 172.21.0.1:53432
    2018-10-31 22:42:40.682 UTC [protoutils] ValidateProposalMessage -> DEBU 291f ValidateProposalMessage starts for signed proposal 0xc421bcab40
    2018-10-31 22:42:40.682 UTC [protoutils] validateChannelHeader -> DEBU 2920 validateChannelHeader info: header type 3
  • The way I send parameters is as follows: 
    await ClientUtils.instantiateChaincode([Constants.peer0org1], 'mychannel', 'utility_workflow', 'v0', 'init', 'go', '[]', ClientUtils.getUserName(), Constants.ORG1);
And also the code, I follow is from the balance-transfer example. I did not update anchor peers through the nodejs client code.


Any pointers would be greatly helpful

Thanks
Gowri

Join {fabric@lists.hyperledger.org to automatically receive all group messages.