2017-07-25 50 views
0

我正在测试我将使用超级作曲作曲器构建的作品块链应用程序的可伸缩性。我正在使用基本样本网络进行测试。我已经使用这里找到的教程安装了基本样本网络https://hyperledger.github.io/composer/tutorials/developer-guide.html。它位于使用t2.xlarge存储运行Ubuntu 16.04的aws实例上。我在aws实例上设置了一个rest服务,并开始发送垃圾邮件请求来测试可伸缩性。过了一段时间,我得到了以下错误。超级作曲作曲器中的超时错误

Unhandled error for request POST /api/org.example.mynetwork.Trader: Error: error trying to query chaincode. Error: Error executing chaincode: Failed to execute transaction (Timeout expired while executing transaction) 
at channel.queryByChaincode.then.catch (/home/ubuntu/composer/my-network/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:758:34) 

Unhandled error for request POST /api/org.example.mynetwork.Commodity: Error: error trying to query chaincode. Error: Error executing chaincode: premature execution - chaincode (my-network:0.9.2) is being launched 
at channel.queryByChaincode.then.catch (/home/ubuntu/composer/my-network/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:758:34) 

任何线索是什么导致这个问题?

+0

您可以从运行开始的链代码容器连接日志,请。 –

+0

对不起,长时间回复。 [链接](https://github.com/ki0apa/Composer_Error/blob/master/err.txt) – ki0apa

+0

我也能够'撰写网络ping'工作。这是回应。 – ki0apa

回答