Endorsement client failed


I keep getting this error , due to which i have to spin up a new fabric network every time ,

endorser client failed to connect to failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp connect: connection refused"

Am i missing anything in the configuration that causes this issue

asked 10 months ago974 views
1 Answer


Thank you for contacting us and for using Amazon Managed Blockchain.

I understand that you keep getting error :

connection error: desc = "transport: error while dialing: dial tcp connect: connection refused"

The error message you are seeing is due to a connection issue between your endorser client and the peer node. This could be caused by a number of reasons such as incorrect connection details for your Hyperledger Fabric network.

Please have a look at the instructions at Chainstack Docs: Hyperledger Fabric tools to correctly connect to the network[1].

The error message means that the endorser client is unable to connect to the peer at the specified address and port. There are a few possible reasons for this error:

  1. The peer may not be running.
  2. The peer may be running, but the endorser client may not have the correct network configuration.
  3. The peer may be running, and the endorser client may have the correct network configuration, but the peer may be refusing connections.

To troubleshoot this error, you can try the following steps:

  1. Verify that the peer is running. You can do this by checking the logs for the peer.
  2. Verify that the endorser client has the correct network configuration. You can do this by checking the connection profile for the endorser client.
  3. Verify that the peer is not refusing connections. You can do this by checking the logs for the peer.

If you have verified that all of the above are correct, and you are still getting the error, you may need to contact us at, AWS support for assistance.

To help you with further investigation on this issue, please feel free to cut a support ticket and provide more details about your account information like Blockchain network ID and the number of nodes in your network and we'd be glad to assist you further.

Please open a support case with AWS using the link:


Thank you

Resources :

[1] https://support.chainstack.com/hc/en-us/articles/900000804043-Connecting-to-a-Hyperledger-Fabric-network-fails-with-error-getting-endorser-client-for-channel-

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions