SUSE Support

Here When You Need Us

How to resolve a TLS handshake timeout error when adding an app repository on a downstream cluster

This document (000021019) is provided subject to the disclaimer at the end of this document.

Situation

When adding repositories to a downstream cluster under Apps > Repositories in the Rancher UI, they appear in a Downloading state with an error that says Get "https://<chart_URL>/index.yaml": net/http: TLS handshake timeout

Other behavior which may be seen as a result of this is performance problems when browsing the Apps > Charts section and charts in that section not loading.

Resolution

The following environment variables should be defined in the Agent Environment Variables in the downstream cluster's configuration:
HTTP_PROXY
HTTPS_PROXY
NO_PROXY

This can be done in the Rancher UI for both RKE1 and RKE2 clusters with the following steps:
RKE1
  1. In the Rancher UI go to Cluster Management
  2. Select the 3-dot menu for the downstream cluster in question and click Edit Config
  3. Scroll down to the end of Advanced Options section and click the Add Environment Variable button and add to add variables and values for HTTP_PROXY, HTTPS_PROXY, and NO_PROXY
RKE2
  1. In the Rancher UI go to Cluster Management
  2. Select the 3-dot menu for the downstream cluster in question and click Edit Config
  3. Scroll down to the Cluster Configuration > Agent Environment Vars section and click the Add button and add to add variables and values for HTTP_PROXY, HTTPS_PROXY, and NO_PROXY

Cause

This can happen when Rancher is behind a proxy, and the proxy configuration has not been defined on the agents in a downstream cluster.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021019
  • Creation Date: 17-Mar-2023
  • Modified Date:26-Sep-2023
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.