Skip to content

Instantly share code, notes, and snippets.

@rahulEth
Last active February 14, 2020 09:02
Show Gist options
  • Save rahulEth/00689c816ada59e95e580f51715e3bc0 to your computer and use it in GitHub Desktop.
Save rahulEth/00689c816ada59e95e580f51715e3bc0 to your computer and use it in GitHub Desktop.
Hyperledger Fabric

Error : Failed to submit transaction: Error: Endorsement has failed

possible cause :

  1. if somehow peer got down before completion of endorsment phase.

  2. your peer is not insync with other peer.

  3. chaincode is taking more time than predefined execution_time_out to execute the transaction.

possible solution :

  1. make sure peer is running throughout the transaction and fully sync with other peers of the defined channel.

  2. increases the chaincode execution time from default 30s environment:

    • CORE_CHAINCODE_EXECUTETIMEOUT=300s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment