admin管理员组文章数量:1642346
在获取通道的配置文件时出现错误
命令: peer channel fetch config config_block.pb -o orderer.example:7050 -c mychannel --cafile /opt/gopath/src/github/hyperledger/fabric/peer/crypto/ordererOrganizations/example/orderers/orderer.example/msp/tlscacerts/tlsca.example-cert.pem
Error: failed to create deliver client for orderer: orderer client failed to connect to orderer.example:7050: failed to create new connection: context deadline exceeded
同时,orderer节点logs也报错了:
错误原因
没有开启tls通信配置
解决
命令修改为:peer channel fetch config config_block.pb -o orderer.example:7050 -c mychannel --tls --cafile /opt/gopath/src/github/hyperledger/fabric/peer/crypto/ordererOrganizations/example/orderers/orderer.example/msp/tlscacerts/tlsca.example-cert.pem
本文标签: failedErrorcreateordererCLIENT
版权声明:本文标题:fabric2.2--Error:failed to create deliver client for orderer 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1729331213a1196414.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论