lens icon indicating copy to clipboard operation
lens copied to clipboard

App crash at /workloads

Open Hawool opened this issue 1 year ago • 5 comments

Describe the bug When i connect to cluster i get error: "App crash at /workloads". But i can connect see pods and their log, my main pain is quick close the pods terminal. When i want to connect to Pod Shell i get fast try to connect and closing terminal.

To Reproduce Steps to reproduce the behavior:

  1. Go to Lens
  2. Click on your cluster with your config
  3. See error "App crash at /workloads"

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Environment (please complete the following information):

  • Lens Version: Lens-2024.4.230844-latest (i tired to find correct version in app)
  • OS: MacOS 14.3.1
  • Installation method: Lens-2024.4.230844-latest-arm64.dmg

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

Component stack:
    at LensChart (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:621385:17)
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at div
    at div
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at div
    at div
    at div
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at div
    at NonInjectedErrorBoundary (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:633275:32)
    at main
    at div
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at NonInjectedWorkloadsOverview (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:622118:5)
    at NonInjectedErrorBoundary (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:633275:32)
    at div
    at div
    at NonInjectedMainLayout (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:588722:29)
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at ObserverComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268194:23)
    at NonInjectedErrorBoundary (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:633275:32)
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at ObserverComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268194:23)
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)
    at NonInjectedKeyboardShortcutListener (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:638044:3)
    at ThemeProvider (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:133241:24)
    at https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:585447:18
    at Router (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:500321:30)
    at https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:585447:18
    at observerComponent (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:268146:16)

Error stack:

Error: "doughnut" is not a registered controller.
    at Registry._get (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:664475:19)
    at Registry.getController (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:664419:21)
    at Chart.buildOrUpdateControllers (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:665281:50)
    at Chart.update (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:665318:37)
    at new Chart (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:665088:18)
    at LensChart.renderChart (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:621493:20)
    at LensChart.componentDidMount (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:621395:12)
    at Yi (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:498902:411)
    at dk (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:498942:160)
    at exports.unstable_runWithPriority (https://eadcccd5b7a6b9ac8b619d8f8ba457b8.lens.app:57780/build/lens.js?1c120f6b84b6723d8520:524560:343)

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.

apiVersion: v1
clusters:
- cluster:
    insecure-skip-tls-verify: true
    server: url
  name: name_of_cluster
contexts:
- context:
    cluster: name_of_cluster
    namespace: namespace
    user: user@name_of_cluster
  name: user@name_of_cluster
current-context: user@name_of_cluster
kind: Config
preferences: {}
users:
- name: user@name_of_cluster
  user:
    token: long-token

Additional context Also i tried to install map extension from nevalla but it isn't help (link)

Hawool avatar Apr 26 '24 13:04 Hawool

I'm facing exactly the same behaviour, Lens components' versions are as follows:

Lens: 2024.3.271133-latest
Extension API: 6.10.35
Electron: 27.2.4
Chrome: 118.0.5993.159
Node: 18.17.1

sergey-chugunov-1985 avatar Apr 27 '24 11:04 sergey-chugunov-1985

Same here from other teammates, for the record, this version works for me:

Lens: 2024.3.191333-latest
Extension API: 6.10.34
Electron: 27.2.4
Chrome: 118.0.5993.159
Node: 18.17.1

I couldn't find yet which is the version that has introduced this issue...

adriantunez avatar Jun 12 '24 11:06 adriantunez

I have the same issue.

image

polouis avatar Jun 24 '24 10:06 polouis

Same error here image

update: if you hit the back button and try again it will work

reference: https://github.com/lensapp/lens/issues/8001

GustavoChiochetta avatar Jul 23 '24 13:07 GustavoChiochetta