Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit 9d8e225

Browse files
[FAB-5178] deliver envelope get 503 error
Change-Id: I3a37f7c9c56022bf41744692d30ddb763fa6e41f Signed-off-by: liuwenliang0632@qq.com <liuwenliang0632@qq.com>
1 parent e976abd commit 9d8e225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/hyperledger/fabric/sdk/Channel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ private Block getGenesisBlock(Orderer order) throws TransactionException {
658658

659659
DeliverResponse status = deliver[0];
660660
logger.debug(format("Channel %s getGenesisBlock deliver status: %d", name, status.getStatusValue()));
661-
if (status.getStatusValue() == 404) {
661+
if (status.getStatusValue() == 404 || status.getStatusValue() == 503) {
662662
logger.warn(format("Bad deliver expected status 200 got %d, Channel %s", status.getStatusValue(), name));
663663
// keep trying...
664664
} else if (status.getStatusValue() != 200) {

0 commit comments

Comments
 (0)