setup-helm icon indicating copy to clipboard operation
setup-helm copied to clipboard

Bug: Error: Error: Failed to download Helm from location https://get.helm.sh/helm-v3.18.3-linux-amd64.tar.gz

Open Smuger opened this issue 3 months ago • 41 comments

What happened?

My self-hosted runner is unable to pull any helm version. I don't see any other network issues

Version

  • [x] I am using the latest version

Runner

self-hosted

Relevant log output

Installing v3.18.3 Downloading 'v3.18.3' from 'https://get.helm.sh/' Request timeout: /helm-v3.18.3-linux-amd64.tar.gz Waiting 20 seconds before trying again Request timeout: /helm-v3.18.3-linux-amd64.tar.gz Waiting 12 seconds before trying again Error: Error: Failed to download Helm from location https://get.helm.sh/helm-v3.18.3-linux-amd64.tar.gz

Smuger avatar Oct 29 '25 16:10 Smuger

helm.sh looks to be down, same thing just started happening to us

MarcusSmith avatar Oct 29 '25 16:10 MarcusSmith

I face the same issue

dorozery-eng avatar Oct 29 '25 16:10 dorozery-eng

Same issue for me

mattiassikvall avatar Oct 29 '25 16:10 mattiassikvall

same issue here

tm-nadavsh avatar Oct 29 '25 16:10 tm-nadavsh

Looks like DNS entry for get.helm.sh vanished

vreddhi avatar Oct 29 '25 16:10 vreddhi

https://github.com/helm/helm/issues/31434

MarcusSmith avatar Oct 29 '25 16:10 MarcusSmith

experiencing same issue

meredith-adobe avatar Oct 29 '25 16:10 meredith-adobe

experiencing the same issue

amoghjay avatar Oct 29 '25 16:10 amoghjay

experiencing the same issue

gabrielbiasi avatar Oct 29 '25 16:10 gabrielbiasi

same issue for me

Alguineedy avatar Oct 29 '25 16:10 Alguineedy

experiencing the same issue.

poting-lin avatar Oct 29 '25 16:10 poting-lin

same issue

fichiokaku avatar Oct 29 '25 16:10 fichiokaku

Seeing this same issue trying to install Helm v3.17.0.

bmjen avatar Oct 29 '25 16:10 bmjen

Same issue v3.18.4

dmitry-kosar avatar Oct 29 '25 16:10 dmitry-kosar

Same here, I have reported https://github.com/helm/helm/issues/31438

dfliess avatar Oct 29 '25 16:10 dfliess

Same issue with v3.17.0 here.

matimercado avatar Oct 29 '25 17:10 matimercado

same issue

poperechnyi1 avatar Oct 29 '25 17:10 poperechnyi1

same issue

luqpy avatar Oct 29 '25 17:10 luqpy

same issue

harrisonlinowes avatar Oct 29 '25 17:10 harrisonlinowes

Azure Down .. Maybe a DNS related issue with Azure ? https://azure.status.microsoft/en-us/status

luqpy avatar Oct 29 '25 17:10 luqpy

Is there a workaround?

pravatk avatar Oct 29 '25 17:10 pravatk

UPDATED to validate checksum

This was a workaround for us in our self-hosted GH runners pipelines (that use ARC and the github runner Docker image). Everything was down so I found a random working mirror. Sub in whatever works for you.

  steps:
    ## Azure outage - commenting out until resolved
    # - name: Setup helm
    #   uses: azure/[email protected]
    #   continue-on-error: true
    #   with:
    #     version: v3.18.6

    - name: Install Helm
      shell: bash
      run: |
        if command -v helm &> /dev/null; then
          echo "✅ Helm already installed: $(helm version --short)"
        else
          echo "📦 Installing Helm v3.18.6..."
          
          # Download from mirror
          curl -fsSL -o helm.tar.gz https://mirrors.huaweicloud.com/helm/v3.18.6/helm-v3.18.6-linux-amd64.tar.gz
          
          # Verify checksum against official Helm release checksum
          echo "🔐 Verifying checksum..."
          EXPECTED_CHECKSUM="3f43c0aa57243852dd542493a0f54f1396c0bc8ec7296bbb2c01e802010819ce"
          ACTUAL_CHECKSUM=$(sha256sum helm.tar.gz | awk '{print $1}')
          if [ "$ACTUAL_CHECKSUM" != "$EXPECTED_CHECKSUM" ]; then
            echo "❌ Checksum verification failed! File may be compromised."
            echo "   Expected: $EXPECTED_CHECKSUM"
            echo "   Actual:   $ACTUAL_CHECKSUM"
            rm -f helm.tar.gz
            exit 1
          fi
          echo "✅ Checksum verified"
          
          # Extract and install
          tar -zxvf helm.tar.gz
          sudo mv linux-amd64/helm /usr/bin/helm
          rm -f helm.tar.gz helm.tar.gz.sha256sum
          helm version
          echo "✅ Helm installed successfully"
        fi

casey-robertson-paypal avatar Oct 29 '25 17:10 casey-robertson-paypal

This appears to be hosted on Azure Front Door (CDN), so will be down till they resolve the issues but I would recommend what @casey-robertson-paypal posted for failover, unfortunately we did not do this and would probably take longer than just waiting it out

lee5i3 avatar Oct 29 '25 17:10 lee5i3

same issue with v3.13.2.

ahramy avatar Oct 29 '25 17:10 ahramy

This is pretty ugly and slow but it will build from https://github.com/helm/ and not a mirror you may not trust

- name: Install build tools and Go
  run: |
    sudo apt-get update
    sudo apt-get install -y build-essential
    sudo rm -rf /usr/local/go
    curl -L -o go1.23.3.linux-amd64.tar.gz https://go.dev/dl/go1.23.3.linux-amd64.tar.gz
    sudo tar -C /usr/local -xzf go1.23.3.linux-amd64.tar.gz
    echo "/usr/local/go/bin" >> $GITHUB_PATH
    export PATH=/usr/local/go/bin:$PATH
    go version

- name: Install Helm
  run: |
    curl -fsSL -o helm.tar.gz https://github.com/helm/helm/archive/refs/tags/v3.19.0.tar.gz
    tar -zxf helm.tar.gz
    cd helm-3.19.0
    make build
    sudo mv bin/helm /usr/local/bin/helm
    helm version

Smuger avatar Oct 29 '25 18:10 Smuger

I'm experiencing this same issue:

Run azure/setup-helm@v4
  with:
    version: latest
    token: ***
    downloadBaseURL: https://get.helm.sh/
Warning: Error while fetching latest Helm release: TypeError: fetch failed. Using default version v3.18.4
Installing v3.18.4
  Downloading 'v3.18.4' from 'https://get.helm.sh/'
  Request timeout: /helm-v3.18.4-linux-amd64.tar.gz
  Waiting 19 seconds before trying again
  Request timeout: /helm-v3.18.4-linux-amd64.tar.gz
  Waiting 20 seconds before trying again
  Error: Error: Failed to download Helm from location https://get.helm.sh/helm-v3.18.4-linux-amd64.tar.gz

...even though I do see the appropriate Helm versions:

gh api graphql -f query='query {repository(name: "helm", owner: "helm") { releases(first: 100, orderBy: {field: CREATED_AT, direction: DESC}) { nodes { tagName } } } }' | jq

{
  "data": {
    "repository": {
      "releases": {
        "nodes": [
          {
            "tagName": "v4.0.0-beta.2"
          },
          {
            "tagName": "v4.0.0-beta.1"
          },
          {
            "tagName": "v3.19.0"
          },
          {
            "tagName": "v3.19.0-rc.1"
          },
          {
            "tagName": "v4.0.0-alpha.1"
          },
          {
            "tagName": "v3.18.6"
          },
          {
            "tagName": "v3.18.5"
          },
          {
            "tagName": "v3.17.4"
          },
          {
            "tagName": "v3.18.4"
          },
          {
            "tagName": "v3.18.3"
          },
          {
            "tagName": "v3.18.2"
          },
          {
            "tagName": "v3.18.1"
          },
          {
            "tagName": "v3.18.0"
          },
          {
            "tagName": "v3.18.0-rc.2"
          },
          {
            "tagName": "v3.18.0-rc.1"
          },
          {
            "tagName": "v3.17.3"
          },
          {
            "tagName": "v3.17.2"
          },
          {
            "tagName": "v3.17.1"
          },
          {
            "tagName": "v3.17.0"
          },
          {
            "tagName": "v3.17.0-rc.1"
          },
          {
            "tagName": "v3.16.4"
          },
          {
            "tagName": "v3.16.3"
          },
          {
            "tagName": "v3.16.2"
          },
          {
            "tagName": "v3.16.1"
          },
          {
            "tagName": "v3.16.0"
          },
          {
            "tagName": "v3.16.0-rc.1"
          },
          {
            "tagName": "v3.15.4"
          },
          {
            "tagName": "v3.15.3"
          },
          {
            "tagName": "v3.15.2"
          },
          {
            "tagName": "v3.15.1"
          },
          {
            "tagName": "v3.15.0"
          },
          {
            "tagName": "v3.15.0-rc.2"
          },
          {
            "tagName": "v3.15.0-rc.1"
          },
          {
            "tagName": "v3.14.4"
          },
          {
            "tagName": "v3.14.3"
          },
          {
            "tagName": "v3.14.2"
          },
          {
            "tagName": "v3.14.1"
          },
          {
            "tagName": "v3.14.0"
          },
          {
            "tagName": "v3.14.0-rc.1"
          },
          {
            "tagName": "v3.13.3"
          },
          {
            "tagName": "v3.13.2"
          },
          {
            "tagName": "v3.13.1"
          },
          {
            "tagName": "v3.13.0"
          },
          {
            "tagName": "v3.13.0-rc.1"
          },
          {
            "tagName": "v3.12.3"
          },
          {
            "tagName": "v3.12.2"
          },
          {
            "tagName": "v3.12.1"
          },
          {
            "tagName": "v3.12.0"
          },
          {
            "tagName": "v3.12.0-rc.1"
          },
          {
            "tagName": "v3.11.3"
          },
          {
            "tagName": "v3.11.2"
          },
          {
            "tagName": "v3.11.1"
          },
          {
            "tagName": "v3.11.0"
          },
          {
            "tagName": "v3.11.0-rc.2"
          },
          {
            "tagName": "v3.11.0-rc.1"
          },
          {
            "tagName": "v3.10.3"
          },
          {
            "tagName": "v3.10.2"
          },
          {
            "tagName": "v3.10.1"
          },
          {
            "tagName": "v3.10.0"
          },
          {
            "tagName": "v3.10.0-rc.1"
          },
          {
            "tagName": "v3.9.4"
          },
          {
            "tagName": "v3.9.3"
          },
          {
            "tagName": "v3.9.2"
          },
          {
            "tagName": "v3.9.1"
          },
          {
            "tagName": "v3.9.0"
          },
          {
            "tagName": "v3.9.0-rc.1"
          },
          {
            "tagName": "v3.8.2"
          },
          {
            "tagName": "v3.8.1"
          },
          {
            "tagName": "v3.8.0"
          },
          {
            "tagName": "v3.8.0-rc.2"
          },
          {
            "tagName": "v3.8.0-rc.1"
          },
          {
            "tagName": "v3.7.2"
          },
          {
            "tagName": "v3.7.1"
          },
          {
            "tagName": "v3.7.0"
          },
          {
            "tagName": "v3.7.0-rc.3"
          },
          {
            "tagName": "v3.7.0-rc.2"
          },
          {
            "tagName": "v3.7.0-rc.1"
          },
          {
            "tagName": "v3.6.3"
          },
          {
            "tagName": "v3.6.2"
          },
          {
            "tagName": "v3.6.1"
          },
          {
            "tagName": "v3.6.0"
          },
          {
            "tagName": "v3.6.0-rc.1"
          },
          {
            "tagName": "v3.5.4"
          },
          {
            "tagName": "v3.5.3"
          },
          {
            "tagName": "v3.5.2"
          },
          {
            "tagName": "v3.5.1"
          },
          {
            "tagName": "v3.5.0"
          },
          {
            "tagName": "v3.5.0-rc.2"
          },
          {
            "tagName": "v3.5.0-rc.1"
          },
          {
            "tagName": "v3.4.2"
          },
          {
            "tagName": "v3.4.1"
          },
          {
            "tagName": "v3.4.0"
          },
          {
            "tagName": "v2.17.0"
          },
          {
            "tagName": "v3.4.0-rc.1"
          },
          {
            "tagName": "v2.17.0-rc.1"
          },
          {
            "tagName": "v3.3.4"
          },
          {
            "tagName": "v2.16.12"
          },
          {
            "tagName": "v3.3.3"
          },
          {
            "tagName": "v2.16.11"
          },
          {
            "tagName": "v3.3.2"
          }
        ]
      }
    }
  }
}

mprimeaux avatar Oct 29 '25 18:10 mprimeaux

@mprimeaux yes there are tags but the underlying artifacts are hosted at https://get.helm.sh/TAR_FILE and that site and underlying CDN are down.

casey-robertson-paypal avatar Oct 29 '25 18:10 casey-robertson-paypal

This is breaking our pipelines too.

rohit-fpcc avatar Oct 29 '25 18:10 rohit-fpcc

Seems like Azure Front Door is down https://azure.status.microsoft/en-us/status , which is front-end for get.helm.sh as seen in nslookup, so the problem is not related to GH actions directly.

nslookup get.helm.sh

Non-authoritative answer:
get.helm.sh	canonical name = get-helm-front-door-cdn-c9drhfggd8ewfzck.z03.azurefd.net.
get-helm-front-door-cdn-c9drhfggd8ewfzck.z03.azurefd.net	canonical name = mr-z03.tm-azurefd.net.
mr-z03.tm-azurefd.net	canonical name = shed.dual-low.part-0017.t-0009.t-msedge.net.
shed.dual-low.part-0017.t-0009.t-msedge.net	canonical name = part-0017.t-0009.t-msedge.net.
Name:	part-0017.t-0009.t-msedge.net
Address: 13.107.246.45
Name:	part-0017.t-0009.t-msedge.net
Address: 13.107.213.45
Name:	part-0017.t-0009.t-msedge.net
Address: 2620:1ec:bdf::45
Name:	part-0017.t-0009.t-msedge.net
Address: 2620:1ec:46::45

~~Installing directly from Github artifacts in https://github.com/helm/helm/releases/tag/v3.19.0 will help until https://get.helm.sh gets up back~~ upd. Github artifacts are also not available as they're linking the same urls :(

Endevir avatar Oct 29 '25 18:10 Endevir

Experiencing the same issues within our repos as well 😢

justin-tahara avatar Oct 29 '25 18:10 justin-tahara