2017-07-25 54 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

回答