简体   繁体   English

在结构1.3的节点中实例化fabcar链码时出错

[英]Error in instantiating fabcar chaincode in node, fabric 1.3

I am following this section of fabcar tutorial. 我正在关注fabcar教程的这一部分。 When i run : 当我跑步时:

./startFabric.sh

It works like charm. 它像魅力一样工作。 But when i run following command to run node.js chaincode: 但是当我运行以下命令来运行node.js chaincode时:

./startFabric.sh node

I get the error: 我得到错误:

Error: could not assemble transaction, err proposal response was not successful, error code 500, msg timeout expired while starting chaincode fabcar:1.0 for transaction 错误:无法组装交易,错误的提案响应未成功,错误代码500,启动链代码fabcar:1.0进行交易时,味精超时到期

I am using Fabric 1.3.0. 我正在使用Fabric 1.3.0。 Let me know how can i resolve this. 让我知道我该如何解决。

I got it worked. 我知道了。 Actually a chaincode with same name and version was existing. 实际上,已经存在具有相同名称和版本的链码。 So i just changed the version and it worked like charm. 所以我只是更改了版本,它就像魅力一样工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM