# Unable to connect to any kubernetes cluster using open lens

**URL:** https://forums.k8slens.dev/t/unable-to-connect-to-any-kubernetes-cluster-using-open-lens/2678
**Category:** Lens Support & Troubleshooting
**Tags:** macos, lens-desktop, kubernetes
**Created:** [January 22, 2024, 12:07am UTC](https://forums.k8slens.dev/t/unable-to-connect-to-any-kubernetes-cluster-using-open-lens/2678 "2024-01-22T00:07:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amathamsetty](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@amathamsetty](https://forums.k8slens.dev/u/amathamsetty)
#### Post date: [January 22, 2024, 12:07am UTC](https://forums.k8slens.dev/t/unable-to-connect-to-any-kubernetes-cluster-using-open-lens/2678/1 "2024-01-22T00:07:12Z")

</div>

Unable to connect to kubernetes using open lens app. Can anyone please help with this?

 ![Screenshot 2024-01-21 at 4.06.22 PM](https://forums.k8slens.dev/original/1X/e052103f515353a59c564e1325e7e87d184a4fa7.png)

---

<div class="post-metadata">

### Author: ![cvdlinden](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@cvdlinden](https://forums.k8slens.dev/u/cvdlinden)
#### Post date: [January 22, 2024, 2:03pm UTC](https://forums.k8slens.dev/t/unable-to-connect-to-any-kubernetes-cluster-using-open-lens/2678/2 "2024-01-22T14:03:13Z")

</div>

Hello amathamsetty, thank you for contacting lens forums , could you tell me a bit more about your situation so i could have a better understanding of the situation .

What is your content of the synced items?

---

<div class="post-metadata">

### Author: ![phorsmalahti](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/phorsmalahti/32/560_2.png) [@phorsmalahti](https://forums.k8slens.dev/u/phorsmalahti)
#### Post date: [January 23, 2024, 1:18pm UTC](https://forums.k8slens.dev/t/unable-to-connect-to-any-kubernetes-cluster-using-open-lens/2678/3 "2024-01-23T13:18:14Z")

</div>

Looks like the “too many files open” error is the cause here.

---

<div class="post-metadata">

### Author: ![nidhisinghmnit](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/n/b3f665/32.png) [@nidhisinghmnit](https://forums.k8slens.dev/u/nidhisinghmnit)
#### Post date: [December 18, 2024, 7:56am UTC](https://forums.k8slens.dev/t/unable-to-connect-to-any-kubernetes-cluster-using-open-lens/2678/4 "2024-12-18T07:56:13Z")

</div>

I need help here , facing error  
have copy pasted the content from .kube/config file  
and after that on trying to connect its throwing the same error  
where as all wok fine from kubectl command line prompt

 ![image](https://forums.k8slens.dev/original/2X/4/4ef2d456ef01129a409758deb17de373807ac52d.png)
