【发布时间】: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 和哪个链码?
-
我也一样,是在实例化过程中