# Can not exec to pod when update 2023.9.290703 on MacOS

**URL:** https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799
**Category:** Lens Support & Troubleshooting
**Tags:** macos, lens-desktop
**Created:** [October 11, 2023, 7:30am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799 "2023-10-11T07:30:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tannb](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@tannb](https://forums.k8slens.dev/u/tannb)
#### Post date: [October 11, 2023, 7:30am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/1 "2023-10-11T07:30:11Z")

</div>

I’ve just updated Lens Desktop to version 2023.9.290703-latest Extension API: 6.22.5 on Mac OS intel, and then I can not open the terminal on Lens and exec to the pod’s container by clicking the shell button. The first time open the app it throws “If terminal shell is not ready please check your shell init files, if applicable.”. I have checked the terminal setting and set the shell path to /usr/local/bin/zsh or /bin/zsh or /bin/bash, but it still Connecting …

Does anyone have any idea?

---

<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: [October 12, 2023, 7:20am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/2 "2023-10-12T07:20:54Z")

</div>

You might encounter a 4s timeout for starting the shell. We will increase this to 8s in a later release.

---

<div class="post-metadata">

### Author: ![tannb](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@tannb](https://forums.k8slens.dev/u/tannb)
#### Post date: [October 12, 2023, 9:11am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/3 "2023-10-12T09:11:52Z")

</div>

Thank you! I’ll wait for the next update.

---

<div class="post-metadata">

### Author: ![tannb](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@tannb](https://forums.k8slens.dev/u/tannb)
#### Post date: [October 12, 2023, 9:59am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/4 "2023-10-12T09:59:08Z")

</div>

Is the previous release 2023.8.29 the timeout higher than 4s? I exec to pod in my friend’s lens desktop with the previous version and it takes only ~2 seconds, my Lens in the previous version worked fine as well. Are there any changes?

Is the issue related to [need to load bashrc or zshrc · Issue #3320 · lensapp/lens · GitHub](https://github.com/lensapp/lens/issues/3320) ?

---

<div class="post-metadata">

### Author: ![tannb](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@tannb](https://forums.k8slens.dev/u/tannb)
#### Post date: [October 17, 2023, 2:23am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/5 "2023-10-17T02:23:34Z")

</div>

I’m still can not exec in the updated version Lens: 2023.10.122002-latest, Extension API: 6.22.5, Electron: 25.8.3, Chrome: 114.0.5735.289, Node: 18.15.0, © 2023 Mirantis, Inc. ☹

---

<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: [October 17, 2023, 6:59am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/6 "2023-10-17T06:59:05Z")

</div>

2023.10.122002-latest contains a minor bug fix, not the increased timeout yet.

---

<div class="post-metadata">

### Author: ![tannb](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@tannb](https://forums.k8slens.dev/u/tannb)
#### Post date: [November 17, 2023, 2:41am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/7 "2023-11-17T02:41:18Z")

</div>

@phorsmalahti Has anyone in charge of testing or fixing this issue yet, through 2 updated versions, my issue is still there ☹ The issue seems to happen not only to me but the user in this thread [Unable to run commands in Lens terminal](https://forums.k8slens.dev/t/unable-to-run-commands-in-lens-terminal/1891). Hope I get anyone for support. Thank you in advance!

---

<div class="post-metadata">

### Author: ![guifengli824](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@guifengli824](https://forums.k8slens.dev/u/guifengli824)
#### Post date: [April 24, 2025, 11:59am UTC](https://forums.k8slens.dev/t/can-not-exec-to-pod-when-update-2023-9-290703-on-macos/1799/8 "2025-04-24T11:59:03Z")

</div>

Hi, i had same issue about terminal shell. I was set Terminal Shell Path C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe. the issue has been solved. now i can normly exec pod
