Timeout error in Hyperledger Composer -


i'm testing scalability of block chain app going build using hyper ledger composer. using basic-sample-network testing purposes. have installed basic-sample-network using tutorial found here https://hyperledger.github.io/composer/tutorials/developer-guide.html. located on aws instance running ubuntu 16.04 t2.xlarge storage. setup rest service on aws instance, , started spam requests test scalability. after while, got following errors.

unhandled error request post /api/org.example.mynetwork.trader: error: error trying query chaincode. error: error executing chaincode: failed execute transaction (timeout expired while executing transaction) @ channel.querybychaincode.then.catch (/home/ubuntu/composer/my-network/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:758:34)  unhandled error request post /api/org.example.mynetwork.commodity: error: error trying query chaincode. error: error executing chaincode: premature execution - chaincode (my-network:0.9.2) being launched @ channel.querybychaincode.then.catch (/home/ubuntu/composer/my-network/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:758:34) 

any clue causing problem?

note issue being tracked here: https://github.com/hyperledger/composer/issues/1670


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -