E1023: Error occurs frequently

I keep getting this error every now and then and requires me to restart my laptop every time for lens to work. Any ideas as to how we would be able to solve this ?

The aws executable is there in its place and I am able to access it normally for all aws commands or even K8s CLI interface. This happens only with Lens.

E1023 08:38:01.840939 47882 proxy_server.go:147] Error while proxying request: getting credentials: exec: executable aws not found It looks like you are trying to use a client-go credential plugin that is not installed. To learn more about this feature, consult the documentation available at: Authenticating | Kubernetes

Hello @aravind.vis ,
thank you for reaching out !

Treatment

Temporary fix

Restarting Lens Desktop and running it through the terminal with the command:

/Applications/Lens.app/Contents/MacOS/Lens

Another possibility

There is a possibility that you changed something to do with AWS, like the profile.

You could try rerunning the command:

aws eks update-kubeconfig

Additional workaround

Launch Lens Desktop from the terminal then configure the GUI path:

  1. (From the terminal that kubectl works) run:

sudo launchctl config user path $PATH

  1. Reboot the Mac and try starting Lens Desktop normally.