Failed to refresh accessibility: RangeError: Maximum call stack size exceeded

Hi,

I am running into the following errors when trying to access EKS cluster.Is there any solution for this error?

Failed to refresh accessibility: RangeError: Maximum call stack size exceeded

Hi, does the Lens UI freeze when you get this error? Is that error from the developer tools? Do other clustesr work?

UI Doesn’t freeze.The Error is from lens UI.Other clusters work after deleting eks cluster context from ~/.kube/config.

Can you use kubectl to connect to the cluster? Is the cluster shared through Lens Teamwork?

I can connect using kubectl.No it is not shared through lens teamwork.

Hi! I have the same issue. I can’t use the app because of it.

@phorsmalahti @kumar.wasad Did you manage to resolve the problem?

i have same problem, kubectl work correctly

Some additional information would help us to resolve the issue. @tesalovdima
can you provide following information?

  1. Cluster kubeconfig structure with omitted sensitive data.
  2. Try to connect EKS cluster, see the error and than Go to Menu → Export Support Logs. In a provided file try to find lines with refreshAccessibility and refreshMetadata keywords. Do they both found in logs?

Hello,
I have the same issue. kubectl work correctly.
I encounter this problem when I add Prometheus adapter. It adds an API to the list of resources.

debug: [LIST-API-RESOURCES]: found the following groupLists {"clusterId":"f542d147b9f1a370089e378b7400883c","groupLists":[{"group":"","path":"/api/v1"},{"group":"apiregistration.k8s.io","path":"/apis/apiregistration.k8s.io/v1"},{"group":"apps","path":"/apis/apps/v1"},{"group":"events.k8s.io","path":"/apis/events.k8s.io/v1"},{"group":"authentication.k8s.io","path":"/apis/authentication.k8s.io/v1"},{"group":"authorization.k8s.io","path":"/apis/authorization.k8s.io/v1"},{"group":"autoscaling","path":"/apis/autoscaling/v2"},{"group":"autoscaling","path":"/apis/autoscaling/v1"},{"group":"autoscaling","path":"/apis/autoscaling/v2beta2"},{"group":"batch","path":"/apis/batch/v1"},{"group":"certificates.k8s.io","path":"/apis/certificates.k8s.io/v1"},{"group":"networking.k8s.io","path":"/apis/networking.k8s.io/v1"},{"group":"policy","path":"/apis/policy/v1"},{"group":"rbac.authorization.k8s.io","path":"/apis/rbac.authorization.k8s.io/v1"},{"group":"storage.k8s.io","path":"/apis/storage.k8s.io/v1"},{"group":"storage.k8s.io","path":"/apis/storage.k8s.io/v1beta1"},{"group":"admissionregistration.k8s.io","path":"/apis/admissionregistration.k8s.io/v1"},{"group":"apiextensions.k8s.io","path":"/apis/apiextensions.k8s.io/v1"},{"group":"scheduling.k8s.io","path":"/apis/scheduling.k8s.io/v1"},{"group":"coordination.k8s.io","path":"/apis/coordination.k8s.io/v1"},{"group":"node.k8s.io","path":"/apis/node.k8s.io/v1"},{"group":"discovery.k8s.io","path":"/apis/discovery.k8s.io/v1"},{"group":"flowcontrol.apiserver.k8s.io","path":"/apis/flowcontrol.apiserver.k8s.io/v1beta2"},{"group":"flowcontrol.apiserver.k8s.io","path":"/apis/flowcontrol.apiserver.k8s.io/v1beta1"},{"group":"azmon.app.monitoring","path":"/apis/azmon.app.monitoring/v1"},{"group":"monitoring.coreos.com","path":"/apis/monitoring.coreos.com/v1"},{"group":"monitoring.coreos.com","path":"/apis/monitoring.coreos.com/v1alpha1"},{"group":"snapshot.storage.k8s.io","path":"/apis/snapshot.storage.k8s.io/v1"},{"group":"snapshot.storage.k8s.io","path":"/apis/snapshot.storage.k8s.io/v1beta1"},{"group":"custom.metrics.k8s.io","path":"/apis/custom.metrics.k8s.io/v1beta1"},{"group":"metrics.k8s.io","path":"/apis/metrics.k8s.io/v1beta1"}]}
error: Failed to refresh accessibility: RangeError: Maximum call stack size exceeded {"meta":{"accessible":true,"disconnected":false,"id":"f542d147b9f1a370089e378b7400883c","name":"aks-q-berg-middle-01","online":true,"ready":false}}

Any idea ?