hyperledger-fabric - 使用 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
我该如何解决?
解决方案
推荐阅读
- node.js - 如何在 Node.js 中通过 Postfix 邮件服务器发送消息?
- java - 如何更改 2d ArrayList 中某些 ArrayList 的大小?
- arrays - 在kotlin中将字符串类型转换为ByteArray
- java - 对象之间的 Java OOP 功能
- python - 创建消息收件箱(来自 Django 模型)?
- ios - 使用搜索栏时调用中的额外参数
- laravel - 即使驱动程序设置为 bcrypt,哈希函数也会检查 argon2id
- vue.js - 如何将一个组件用于不同的路径,并为此组件加载不同的数据?
- javascript - 循环遍历元素并从孩子那里获取价值
- amazon-web-services - 将大文件上传到 AWS S3 时出现 TaskCanceledException