lens icon indicating copy to clipboard operation
lens copied to clipboard

Can't open pod shell after update to 554 from 546

Open lishoujun opened this issue 2 years ago • 5 comments

Describe the bug Can't open pod shell after update to 554 from 546

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Pods'
  2. Click on any pod
  3. Click on 'Pod shell'
  4. See error ‘Error from server: Terminal will auto-close in 15 seconds ...’

Expected behavior open pod shell

Screenshots 图片

Environment (please complete the following information):

  • Lens Version:5.5.4
  • OS: OSX12.4
  • Installation method (e.g. snap or AppImage in Linux):dmg

Logs: When you run the application executable from command line you will see some logging output. Please paste them here:

No

Kubeconfig: Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.

No

Additional context Add any other context about the problem here.

I installed both 5.5.4 and 5.4.6, 5.4.6 is fine to open pod shell

https://github.com/lensapp/lens/issues/5663

lishoujun avatar Jun 28 '22 13:06 lishoujun

Is this a rancher cluster?

Nokel81 avatar Jun 28 '22 13:06 Nokel81

Yes rancher v2.6.3 .

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.8", GitCommit:"5575935422cc1cf5169dfc8847cb587aa47bac5a", GitTreeState:"clean", BuildDate:"2021-06-16T13:00:45Z", GoVersion:"go1.15.13", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-aliyun.1", GitCommit:"66492d8", GitTreeState:"", BuildDate:"2021-08-16T03:38:25Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}

lishoujun avatar Jun 29 '22 01:06 lishoujun

Hello,

same issue here with Rancher v2.6.5 (no problem using direct access to the cluster)

rverchere avatar Jun 30 '22 07:06 rverchere

@rverchere Yes thanks, that is what I have been able to reproduce as well.

Nokel81 avatar Jun 30 '22 12:06 Nokel81

maybe duplicate with https://github.com/lensapp/lens/issues/5628

lishoujun avatar Jul 11 '22 09:07 lishoujun

After update to version 6, all fine~ thanks

lishoujun avatar Aug 01 '22 02:08 lishoujun