hashgraph / hashgraph/solo-weaver
Retry software download
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
Currently `weaver` attempts to download software once, we need to have a configuration to set retry attempts and retry delay before giving up.
HTTP 502 Error encounterd:
```
install Cilium CLI error="software.download_error: failed to download from URL 'https://github.com/cilium/cilium-cli/releases/download/v0.18.7/│ Search For 2025-12-2... (C-r) │s_code: 504, url: https://github.com/cilium/cilium-cli/releases/download/v0.18.7/cilium-linux-amd64.tar.gz}" pid=122341 status=failed step_id=ins│ Type 2025-12-2... (C-y) │
│ Copy 2025-12-2... (c) │o setup Cilium error="automa.step_execution_error: workflow \"setup-cilium-cli\" completed with 1 step failures: [install-cilium-cli]" first_erro│ Copy Line (l) │d to download from URL 'https://github.com/cilium/cilium-cli/releases/download/v0.18.7/cilium-linux-amd64.tar.gz' {status_code: 504, url: https:/
```
Another HTTP 502 error that I encountered:
```
[vm:test:integration] [test:integration:verbose] 2025-12-20T18:17:47+11:00 ERR Failed to upgrade Block Node chart error="common.illegal_state: failed to upgrade block node chart, cause: common.illegal_argument: failed to locate chart, cause: failed to perform \"FetchReference\" on source: GET \"https://ghcr.io/v2/hiero-ledger/hiero-block-node/block-node-server/manifests/0.22.1\": response status code 502: Bad Gateway" pid=47196 status=failed step_id=upgrade-block-node
[vm:test:integration] [test:integration:verbose] 2025-12-20T18:17:47+11:00 ERR Failed to upgrade Block Node error="automa.step_execution_error: workflow \"upgrade-block-node\" completed with 1 step failures: [upgrade-block-node]" pid=47196 status=failed step_id=upgrade-block-node
[
```
```
[vm:test:integration] [test:integration:verbose] 2025-12-23T11:38:39+11:00 ERR Failed to install MetalLB error="failed to fetch https://github.com/metallb/metallb/releases/download/metallb-chart-0.15.2/metallb-0.15.2.tgz : 502 Bad Gateway" pid=19952 status=failed step_id=install-metallb
[vm:test:integration] [test:integration:verbose] 2025-12-23T11:38:39+11:00 ERR Failed to setup MetalLB error="automa.step_execution_error: workflow \"setup-metallb\" completed with 1 step failures: [install-metallb]" first_error="failed to fetch https://github.com/metallb/metallb/releases/download/metallb-chart-0.15.2/metallb-0.15.2.tgz : 502 Bad Gateway" first_error_step_id=install-metallb pid=19952 status=failed step_id=setup-metallb
[vm:test:integration] [test:integration:verbose]
```
Contributor guide
Assessment
This issue has not been assessed yet.