Welcome to the Linux Foundation Forum!

Not able to connect to orderer pod from cli pod

Hi,

I was trying to add org to the system channel for which I was running the script from cli pod but getting the error


2021-05-11 04:09:04.991 UTC [common.tools.configtxgen] main -> INFO 001 Loading configuration
2021-05-11 04:09:05.012 UTC [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 orderer type: etcdraft
2021-05-11 04:09:05.012 UTC [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 Orderer.EtcdRaft.Options unset, setting to tick_interval:"500ms" election_tick:10 heartbeat_tick:1 max_inflight_blocks:5 snapshot_interval_size:16777216
2021-05-11 04:09:05.012 UTC [common.tools.configtxgen.localconfig] LoadTopLevel -> INFO 004 Loaded configuration: /etc/hyperledger/fabric/configtx.yaml
Error: failed to create deliver client for orderer: orderer client failed to connect to orderer0-hlf-ord.bc.svc.cluster.local:7050: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp 10.56.6.60:7050: connect: connection refused"
command terminated with exit code 1


Note : Deploying fabric in kubernetes.

Can anyone suggest what can be the issue ?

Comments

  • Posts: 193

    @purnimaagrawal Hello, Lets see if we can determine the cause of this error message. is the message occurring in Lab 2.1 when attempting to add Org 3 to the network .

    Bobbi

  • @Bobbijn Hi actually the issue is resolved now .
    Even though orderer pod was running , orderer service was not running inside pod hence connection was getting refused.

This discussion has been closed.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training