首页 > 解决方案 > 使用 Fabric 测试网络时出现 ClientHandshake 错误

问题描述

我尝试按照说明 [https://hyperledger-fabric.readthedocs.io/en/latest/deploy_chaincode.html#install-the-chaincode-package] 安装链代码包。

在“安装链码包”中,当我发出对等生命周期链码 isntall 命令时: peer lifecycle chaincode install basic.tar.gz

我收到了客户端握手错误:

Error: failed to retrieve endorser client for install: endorser client failed to connect to localhost:9051: failed to create new connection: context deadline exceeded
2021-10-16 16:36:33.100 CST [comm.tls] ClientHandshake -> ERRO 001 Client TLS handshake failed after 2.999466269s with error: context canceled remoteaddress=[::1]:9051

我该如何解决?

标签: hyperledger-fabrichyperledger-chaincode

解决方案


推荐阅读