超级账本无法更新频道

问题描述

我正在尝试更新现有频道以启用生命周期。

官方链接 https://hyperledger-fabric.readthedocs.io/en/release-2.2/enable_cc_lifecycle.html

在我的同伴上启动此命令:

peer channel update -f config_update_in_envelope.pb -c channelid -o orderer.domain.com:7050 --cafile /opt/gopath/s
rc/github.com/hyperledger/fabric/crypto-config/peerOrganizations/*******/ca

错误

got unexpected status: BAD_REQUEST -- initializing channelconfig Failed: Could 
not create channel Consortiums sub-group config: setting up the MSP 
managerFailed: expected at least one CA certificate

我尝试了网络上所有可用的现有ca证书,但无法正常工作

请帮助

谢谢

解决方法

此错误是“可能”是由于版本不匹配所致……我的网络上使用的一个订购器仍在使用1.4版本,因为该订购器已升级,因此无法再次再现此错误。即使我不明白为什么错误消息msg正在谈论CA文件...