guiqui / k8Studio

K8Studio: A Kubernetes IDE
https://k8studio.io
Other
794 stars 25 forks source link

application stuck after invalid sso auth #79

Closed lukas016 closed 5 months ago

lukas016 commented 5 months ago

I have some old clusters in my kubeconfig which use sso for authentification. This cluster probably doesn't exists anymore and authentification process end with error on server side. App was probably after wrong auth stuck and it doesn't load another clusters and it doesn't react to any action, I tried open Logs from menu but without any response.

I got this when i tried run it from cmd.

2024-03-15 18:48:15.859 K8Studio[19983:998094] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
e SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at Object.listen (/Applications/K8Studio.app/Contents/Resources/app.asar/dist/main/webpack:/K8Studio/src/main/controllers/app.ipc.ts:24:26)
    at createWindow (/Applications/K8Studio.app/Contents/Resources/app.asar/dist/main/webpack:/K8Studio/src/main/main.ts:139:10)
    at /Applications/K8Studio.app/Contents/Resources/app.asar/dist/main/webpack:/K8Studio/src/main/main.ts:274:5
/Applications/K8Studio.app/Contents/Resources/app.asar/dist/main
/Applications/K8Studio.app/Contents/Resources/app.asar/dist/main
/Applications/K8Studio.app/Contents/Resources/app.asar/dist/main
(node:20064) DeprecationWarning: findLogPath() is deprecated and will be removed in v5.
(Use `K8Studio Helper (Renderer) --trace-deprecation ...` to show where the warning was created)
^CDETROYING IPCS
mo-othman commented 5 months ago

Hi @lukas016, Thanks for reporting this, We will investigate into the issue

mo-othman commented 5 months ago

Hi @lukas016 Can you try again with v1.0.1-beta and let me know

lukas016 commented 5 months ago

@mo-othman it still doesn't work.

mo-othman commented 5 months ago

Hi @lukas016 Sorry for the inconvenience

We have improved that part and We have released v1.0.3-beta if you can try and let us know

lukas016 commented 5 months ago

@mo-othman it works now. thx. I will test it little. If i find some bugs, i will report them.