We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff68284 + 2ea9393 commit db6b769Copy full SHA for db6b769
1 file changed
aries_cloudagent/config/ledger.py
@@ -31,7 +31,9 @@ async def fetch_genesis_transactions(genesis_url: str) -> str:
31
headers["Content-Type"] = "application/json"
32
LOGGER.info("Fetching genesis transactions from: %s", genesis_url)
33
try:
34
- return await fetch(genesis_url, headers=headers)
+ # Fetch from --genesis-url likely to fail in composed container setup
35
+ # https://github.com/hyperledger/aries-cloudagent-python/issues/1745
36
+ return await fetch(genesis_url, headers=headers, max_attempts=20)
37
except FetchError as e:
38
raise ConfigError("Error retrieving ledger genesis transactions") from e
39
0 commit comments