CanineHQ/canine · error · Error

Failed to fetch repository index

Error message

Failed to fetch repository index

What it means

Error "Failed to fetch repository index" thrown in CanineHQ/canine.

Source

Thrown at app/javascript/controllers/add_ons/helm_repo_browser_controller.js:73

      return
    }

    this.showLoading()
    this.hideError()

    try {
      const response = await fetch('/add_ons/fetch_helm_repository_index', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
          'X-CSRF-Token': document.querySelector('[name="csrf-token"]').content
        },
        body: JSON.stringify({ repo_url: repoUrl })
      })

      if (!response.ok) {
        const errorData = await response.json()
        throw new Error(errorData.error || 'Failed to fetch repository index')
      }

      const data = await response.json()
      this.charts = data.charts
      this.populateChartSelector()
      this.hideLoading()
      this.showChartSelector()
    } catch (error) {
      this.hideLoading()
      this.showError(error.message)
      this.hideChartSelector()
    }
  }

  populateChartSelector() {
    const repoUrl = this.repoUrlTarget.value.trim()
    const repoAlias = this.getRepoAlias(repoUrl)

View on GitHub (pinned to ba4ee3968d)

When it happens

Trigger: Thrown at app/javascript/controllers/add_ons/helm_repo_browser_controller.js:73 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23). Data as JSON: /api/errors/807dc79ab8e70e4b. Report an issue: GitHub.