happilymarrieddad/k8s-hyperledger-fabric-2.2

orderer client failed to connect to orderer0-service:7050:

cdesch opened this issue · 1 comments

When running the command to create the main channel for the order:

  kubectl exec -it $(kubectl get pods -o=name | grep cli-peer0-ibm-deployment | sed "s/^.\{4\}//") -- bash -c 'peer channel create -c mainchannel -f ./channels/mainchannel.tx -o orderer0-service:7050 --tls --cafile=/etc/hyperledger/orderers/msp/tlscacerts/orderers-ca-service-7054.pem'

I get the error:

 Error: failed to create deliver client for orderer: orderer client failed to connect to orderer0-service:7050: failed to create new connection: context deadline exceeded

command terminated with exit code 1

This issue was because we had the HTTP_PROXY environment variable set