Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rahulEth/e680a722f7559f177d1b267e62a4ef38 to your computer and use it in GitHub Desktop.
Save rahulEth/e680a722f7559f177d1b267e62a4ef38 to your computer and use it in GitHub Desktop.
hyperledger fabric

Error: Failed to send transaction successfully to the orderer status:SERVICE_UNAVAILABLE

Cause:

 if you are getting SERVICE_UNAVAILABLE error after endorsing the transaction,
in raft orderering service if there is no leader elected.
check any of the active orderering node logs it would be like below:
 2019-11-20 10:08:07.345 UTC [orderer.consensus.etcdraft] serveRequest -> WARN 18d No leader is present, cluster size is 2 channel=chheader node=2
Error: Failed to send transaction successfully to the orderer status:SERVICE_UNAVAILABLE.

Solution:

make sure there is always leader oderer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment