Manolo� 2020-03-27 11:15 采纳率: 0%
浏览 1162

关于编写链码时的报错error: RPC failed; curl 18 transfer closed with outstanding read data remaining

从书上看到,编写链码之前应该确定在本系统中有 Hyperledger Fabric 提供的相关API,如果本地系统中没有相关的API,请执行如下下载命令:

go get -u github.com/hyperledger/fabric/core/chaincode/shim

我执行之后,报错

# cd .; git clone https://github.com/hyperledger/fabric /home/yous/go/src/github.com/hyperledger/fabric
正克隆到 '/home/yous/go/src/github.com/hyperledger/fabric'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: 过早的文件结束符(EOF)
fatal: index-pack failed
package github.com/hyperledger/fabric/core/chaincode/shim: exit status 128

查了百度,基本上都在说 curl的postBuffer的默认值太小
我重新设置了一下还是不行。
我发现https://github.com/hyperledger/fabric/core/chaincode/shim 根本打不开网页,是不是这个包被关闭或删除了呢?

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2020-03-27 16:59
    关注
    评论

报告相同问题?