Rancher无法访问集群

使用rancher访问k8s集群时报错,无法访问。

img

我初步定位原因是cattle-cluster-agent和fleet-agent这两个pod不断挂掉,log如下:

level=info msg=“Downloading repo index from https://releases.rancher.com/index.yaml”
level=error msg="failed to unmarshal https://releases.rancher.com/index.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type repo.IndexFile"
level=error msg="error syncing 'rancher-latest': handler helm-clusterrepo-download: failed to parse response from https://releases.rancher.com/index.yaml, requeuing"
Observed a panic: runtime.boundsError{x:3, y:0, signed:true, code:0x2} (runtime error: slice bounds out of range [:3] with capacity 0)

请问有解决方法吗