【问题标题】:HyperLeder Fabric: Failed to invoke chaincode name:"lscc" , error: timeout expired while starting chaincodeHyperLeder Fabric:无法调用链代码名称:“lscc”,错误:启动链代码时超时已过期
【发布时间】:2018-12-09 17:13:28
【问题描述】:

我在安装我的链码时开始出现超时错误。链码非常基本,事实上,我只是扩展了 fabcar node.js 示例。请查看我收到的错误:

Error: could not assemble transaction, err Proposal response was not successful, error code 500, msg failed to execute transaction e865662f96312f27ee8a221faba6893633498693408f95e57e5e404e58731afd: timeout expired while starting chaincode aar:1.0 for transaction e865662f96312f27ee8a221faba6893633498693408f95e57e5e404e58731afd

来自 Peer 节点容器日志的错误:

2018-10-16 09:44:13.640 UTC [endorser] SimulateProposal -> ERRO 038 [mychannel][e865662f] 未能调用链代码名称:“lscc”,错误:为事务启动链代码 aar:1.0 时超时已过期e865662f96312f27ee8a221faba6893633498693408f95e57e5e404e58731afd

我已经增加了以下两个环境变量的值但是没有用:

  • CORE_CHAINCODE_DEPLOYTIMEOUT=1000s
  • CORE_CHAINCODE_STARTUPTIMEOUT=1000s

【问题讨论】:

  • 您能否确认这是在安装或实例化阶段以及哪个 SDK 和哪个链码?
  • 我也一样,是在实例化过程中

标签: hyperledger-fabric


【解决方案1】:

对我来说,chaincode 文件夹内的 JS 类中存在编译错误。因此,请确保您的链代码文件夹中的所有内容都正常,否则在对等节点上安装链代码时您将收到 lscc 超时错误

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-08-04
    • 2011-02-28
    • 1970-01-01
    • 2013-11-23
    相关资源
    最近更新 更多