fablo: Error: error getting endorser client for channel. CouchDb instance not starting

This is my current configuration but when I try to setup the network I receive the error below. Also the CouchDb instances are not starting for both peers. What could be the solution? Error: error getting endorser client for channel: endorser client failed to connect to peer0.org1.com:7041: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp 172.18.0.5:7041: connect: connection refused".

{
  "$schema": "https://github.com/softwaremill/fablo/releases/download/0.3.0/schema.json",
  "networkSettings": {
    "fabricVersion": "2.3.2",
    "tls": true
  },
  "orgs": [
    {
      "organization": {
        "name": "Orderer",
        "domain": "orderer.com"
      },
      "orderers": [
        {
          "groupName": "group1",
          "type": "solo",
          "instances": 1
        }
      ],
      "tools": {}
    },
    {
      "organization": {
        "name": "Org1",
        "domain": "org1.com"
      },
      "peer": {
        "instances": 2,
        "db": "CouchDb"
      },
      "tools": {}
    }
  ],
  "channels": [
    {
      "name": "my-channel1",
      "orgs": [
        {
          "name": "Org1",
          "peers": [
            "peer0",
            "peer1"
          ]
        }
      ]
    }
  ],
  "chaincodes": [
    {
      "name": "chaincode1",
      "version": "0.0.1",
      "lang": "node",
      "channel": "my-channel1",
      "directory": "./chaincodes/chaincode-kv-node"
    }
  ]
}

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

@manjinder98 thanks! That was unexpected 😃. We’ve made issue for that. Our recommendations are:

  • if you just want to use Fablo you can use workaround provided by Jakub above
  • we will post proper bugfix in the next release (coming soon, probably new year)

Ps. If you want to contribute feel free to grab the issue and we will explain that needs to be done. If no it’s also fine and one of us will grab it shortly 😃

Thanks - we’re on it. Will let you know.