0

I have mentioned all the orderer details in the configtx.yaml & in ccp.json file still I am getting error

grpcs://orderer1.gov.io:7050
2022-12-05T11:33:18.962Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Committer- name: orderer1.gov.io, url:grpcs://orderer1.gov.io:7050, connected:false, connectAttempted:true
2022-12-05T11:33:18.963Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server orderer1.gov.io url:grpcs://orderer1.gov.io:7050 timeout:3000
2022-12-05T11:33:18.964Z - info: [NetworkConfig]: buildOrderer - Unable to connect to the committer orderer1.gov.io due to Error: Failed to connect before the deadline on Committer- name: orderer1.gov.io, url:grpcs://orderer1.gov.io:7050, connected:false, connectAttempted:true
grpcs://orderer2.gov.io:7051
2022-12-05T11:33:21.966Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Committer- name: orderer2.gov.io, url:grpcs://orderer2.gov.io:7051, connected:false, connectAttempted:true
2022-12-05T11:33:21.966Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server orderer2.gov.io url:grpcs://orderer2.gov.io:7051 timeout:3000
2022-12-05T11:33:21.966Z - info: [NetworkConfig]: buildOrderer - Unable to connect to the committer orderer2.gov.io due to Error: Failed to connect before the deadline on Committer- name: orderer2.gov.io, url:grpcs://orderer2.gov.io:7051, connected:false, connectAttempted:true

Orderer Configuration in ccp.json

 "orderers": {
    "orderer1.gov.io": {
      "url": "grpcs://orderer1.gov.io:7050",
      "grpcOptions": {
        "ssl-target-name-override": "orderer1.gov.io",
        "request-timeout": 3000000
      },
      "tlsCACerts": {
        "path": "/home/ubuntu/pankajb/hyperledger/coffee_poc/crypto-config/ordererOrganizations/gov.io/orderers/orderer1.gov.io/msp/tlscacerts/tlsca.gov.io-cert.pem"
      }
    },
    "orderer2.gov.io": {
      "url": "grpcs://orderer2.gov.io:7051",
      "grpcOptions": {
        "ssl-target-name-override": "orderer2.gov.io",
        "request-timeout": 3000000
      },
      "tlsCACerts": {
        "path": "/home/ubuntu/pankajb/hyperledger/coffee_poc/crypto-config/ordererOrganizations/gov.io/orderers/orderer2.gov.io/msp/tlscacerts/tlsca.gov.io-cert.pem"
      }
    },
    "orderer3.gov.io": {
      "url": "grpcs://orderer3.gov.io:7052",
      "grpcOptions": {
        "ssl-target-name-override": "orderer3.gov.io",
        "request-timeout": 3000000
      },
      "tlsCACerts": {
        "path": "/home/ubuntu/pankajb/hyperledger/coffee_poc/crypto-config/ordererOrganizations/gov.io/orderers/orderer3.gov.io/msp/tlscacerts/tlsca.gov.io-cert.pem"
      }
    }
  },

I have checked my docker containers all are up & running. I am using v2.2 binaries

I have tried to change url multiple times & seen other stackoverflow answers, but I am confused that though I have mentioned all the details in ccp.json & still getting the error.

0 Answers0