ARTIFACTORY: How to solve the Error: scheme "local" not supported when Resolving Helm Charts from Helm repositories

ARTIFACTORY: How to solve the Error: scheme "local" not supported when Resolving Helm Charts from Helm repositories

Products
Frog_Artifactory
Content Type
Use_Case
AuthorFullName__c
Jordan Tangy
articleNumber
000006427
ft:sourceType
Salesforce
FirstPublishedDate
2025-04-24T07:05:34Z
lastModifiedDate
2025-04-22
VersionNumber
2
When attempting to resolve Helm charts from a Helm repository, you might encounter the following error returned by the Helm client:
Error: scheme "local" not supported

In this article, we will present the steps to resolve this issue.

Root Cause

This error typically occurs when the index.yaml file in the repository contains chart URLs prefixed with local:// instead of a valid https:// URL. This usually indicates that a Custom Base URL has not been configured in your JFrog Platform instance.

Resolution Steps

1. Set the Custom Base URL
 Navigate to Administration → General → Settings → Custom Base URL, and ensure that a valid HTTPS URL is set (e.g., https://<JFROG-URL>). If it’s not configured, add the appropriate URL.

2. Recalculate the index
Navigate to the Application module → Artifactory → Artifacts, search for the repository and right click on it, then click on “Recalculate index”. The ‘index.yaml’ should be updated based on the added ‘Custom Base URL’ added in step 1.

3. Verify the index.yaml File
After recalculating the index, check the content of the index.yaml file. Ensure that the chart URLs now reflect the Custom Base URL (i.e., they begin with https:// rather than local://).

4. Retry Pulling the Chart
 Once the index is correct, attempt to pull the chart again using the Helm client.