unable to fetch config block of system channel from the orderer pod #orderer #fabric-orderer #fabric-kubernetes #fabric-questions #grpc
overview of the problem
i need to add a new consortium to a an existing HLF setup.For that i need to fetch config block of the system channel and edit it to add the new consortium info.
I am trying to fetch the system channel config block directly from the orderer pod itself using
"peer channel fetch config sys_config.pb -c syschannel"
I also did try with specifying tls and certs
"peer channel fetch config config_block.pb -c syschannel --tls --cafile ./tls-cert.pem"
(i have copied the tls file of ca to test directory and trying from there)
I am running into connection refused errors shown below
/var/hyperledger/orderer # peer channel fetch config config_block.pb -c syschannel --tls --cafile ./tls-cert.pem
Error: error getting deliver client for channel: failed to create deliver client for peer: deliver client failed to connect to 0.0.0.0:7051: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp 0.0.0.0:7051: connect: connection refused"
attached is the orderer.yaml file.
Any help will be appreciated