部署Fabric测试网络fabcar链码时出错 [英] Error deploying Fabric test-network fabcar chaincode

查看:256
本文介绍了部署Fabric测试网络fabcar链码时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注文档( https://hyperledger-fabric.readthedocs .io/en/latest/test_network.html ),以便在Amazon Lightsail的Ubuntu 16.04上为Fabric部署测试网络.所有命令均已成功执行,并获得预期的结果,直到

I am following the documentation (https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html) to deploy a test network for Fabric on Ubuntu 16.04 on Amazon Lightsail. All commands have been executed successfully with results as expected until

./network.sh deployCC -l javascript

收到以下错误消息:

Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction 2554869d3683a7e77202f448aa201fd2f97243faa4ff5dd4839eb8d3175cf53b: could not launch chaincode fabcar_1:bec08b518fdb2bda0a0fb41a4a6f996a87ba08887583febedbc791cba7e91537: chaincode registration failed: container exited with 0" !!!!!!!!!!!!!!! Invoke execution on peer0.org1 peer0.org2 failed !!!!!!!!!!!!!!!!

任何帮助将不胜感激.

K

推荐答案

现在一切正常.问题在于系统大小调整-将内存增加到4GB RAM修复了该问题

everything is working as expected now. The issue had been with system sizing - increasing the memory to 4GB RAM fixed it

谢谢大家的建议.

K

这篇关于部署Fabric测试网络fabcar链码时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆