lens icon indicating copy to clipboard operation
lens copied to clipboard

App crash at /apis/apps/statefulsets

Open kanonkanin opened this issue 9 months ago • 8 comments

First time we have had this issue.

I am not able to view status of the Cluster in Lens. The cluster itself works ok, and I can view it in Azure

In one cluster (1/3), we get: at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at Suspense at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:381319 at Object.apply (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:12762460) at Suspense at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:381319 at div at div at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at Suspense at ofe at Y (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1408092) at k (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:9863772) at v (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:378996) at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at v (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:378996) at Y (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1408092) at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at v (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:378996) at we (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:983709) at Object.apply (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:12762460) at A (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:5589884) at Object.apply (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:12762460) at div at Pe (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:10176817) at Object.apply (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:12762460) at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at v (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:378996) at div at Y (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:10171333) at div at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at Suspense at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:381319 at k (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:9863772) at v (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:378996) at div at div at div at div at Y (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:10171333) at https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1407647 at k (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:9863772) at v (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:2:378996) at Y (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1408092) at main at div at L (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:12614772) at Y (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:1408092)

Error stack:

Error: Error invoking remote method 'state-snapshot-channel': SyntaxError: Unexpected non-whitespace character after JSON at position 49 (line 4 column 4) at invoke (node:electron/js2c/renderer_init:2:7076) at async https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:11225147 at async instantiate (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:11225895) at async instantiate (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:9694712) at async instantiate (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:9697515) at async instantiate (https://lens.app:50523/build/lens.js?afcb2cc0fd364f5a748a:8:9632944)

Image

kanonkanin avatar Mar 11 '25 12:03 kanonkanin

Dear @kanonkanin

Thank you for reaching out to Lens Support!

Thanks for reporting a bug. We are working on your issue. Stand by for further updates.

Regards, Oleksandr from Lens

koshevka avatar Mar 12 '25 07:03 koshevka

Hi, we are aware of the bug and are working on it. In the meantime you can probably resolve the issue by deleting folder persisted-state in /Users/<username>/Library/Application Support/Lens

panuhorsmalahti avatar Mar 14 '25 08:03 panuhorsmalahti

I did and it works. Thanks.

kanonkanin avatar Mar 14 '25 08:03 kanonkanin

Hi, we are aware of the bug and are working on it. In the meantime you can probably resolve the issue by deleting folder persisted-state in /Users/<username>/Library/Application Support/Lens

Where is the folder on Ubuntu?

GerDner avatar Mar 14 '25 10:03 GerDner

Does not Fix a similar Problem on Ubuntu

Image

GerDner avatar Mar 14 '25 11:03 GerDner

@GerDner that is a different error/bug. Can you post any other details?

panuhorsmalahti avatar Mar 14 '25 12:03 panuhorsmalahti

@GerDner that is a different error/bug. Can you post any other details?

So many more Views broke and i rebootet. Now all problems are gone. It seems that the local Proxy Servers for Bored had Problems and missing states. All API calls crashed with 500 Error and no Lens restart helped. Seems like they dont restart with lens? Only Reboot helped.

Nothing to reproduce right now, but i exported the Support Logs. Just don't want to Upload them here.

GerDner avatar Mar 14 '25 12:03 GerDner

Hey guys! Not sure if you guys found the solution to it. We fixed the issue by deleting the data folder of lens, usually inside C drive program files folder but we were using one drive to save app data so it was inside C:/Users//AppData/Roaming/Lens/ Delete the lens folder and reinstall lens. This solved our issue.

SRBK21 avatar Mar 18 '25 11:03 SRBK21