# Unable to connect to clusters after OpenLens update

**URL:** <https://forums.k8slens.dev/t/unable-to-connect-to-clusters-after-openlens-update/338>\
**Category:** Lens Support & Troubleshooting\
**Tags:** lens-desktop\
**Created:** [April 12, 2023, 9:01am UTC](https://forums.k8slens.dev/t/unable-to-connect-to-clusters-after-openlens-update/338 "2023-04-12T09:01:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![argotto](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/a/b38774/32.png) [@argotto](https://forums.k8slens.dev/u/argotto)\
**Post date:** [April 12, 2023, 9:01am UTC](https://forums.k8slens.dev/t/unable-to-connect-to-clusters-after-openlens-update/338/1 "2023-04-12T09:01:39Z")

</div>

Hi, I’ve updated the OpenLens and now i get the following error:

 ![image](https://forums.k8slens.dev/original/1X/ba20877e2781f5826116d1b7901dceafbe127892.png)

And my kubeconfig is like:

apiVersion: v1  
clusters:

- cluster:  
server: XXXX  
certificate-authority-data: XXXX  
name: kubernetes  
contexts:
- context:  
cluster: kubernetes  
user: aws  
name: aws  
current-context: aws  
kind: Config  
preferences: {}  
users:
- name: aws  
user:  
exec:  
apiVersion: [client.authentication.k8s.io/v1alpha1](http://client.authentication.k8s.io/v1alpha1)  
command: aws-iam-authenticator  
args:  
- “token”  
- “-i”  
- “dev”

---

<div class="post-metadata">

**Author:** ![jehrismann](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/jehrismann/32/398_2.png) [@jehrismann](https://forums.k8slens.dev/u/jehrismann)\
**Post date:** [April 14, 2023, 3:18pm UTC](https://forums.k8slens.dev/t/unable-to-connect-to-clusters-after-openlens-update/338/2 "2023-04-14T15:18:42Z")

</div>

Can you still connect to the cluster using `kubectl`? Try recreating the kubeconfig by running `aws eks update-config` (if relevant)?
