使用代理时出现此报错,解决方案如下

# 报错内容
Error: looks like "https://prometheus-community.github.io/helm-charts" is not a valid chart repository or cannot be reached: Get "https://prometheus-community.github.io/helm-charts/index.yaml": proxyconnect tcp: tls: first record does not look like a TLS handshake

# 解决方式
# 变量值由 https 修改为 http
https代理配置修改:
	将 export https_proxy='https://10.0.0.1:8889'
	修改为 export https_proxy='http://10.0.0.1:8889'

=

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐