Open raswinraaj opened 3 years ago
Is this related to #2547 ?
What do you mean by "session"? Lens doesn't have session.
Yes, I know it doesnt have a session. But what I mean is, after few minutes of inactivity, we do not have the cluster information like new pods, new nodes data updated, the pod logs do not open, etc . They start working only after we restart the Lens app itself. This is something which has been a case for earlier versions of Lens app as well. I understand this might be a Windows specific bug. I was not sure how to capture/share a log for this . Please suggest if any.
No. It doesn't have anything to do with #2547. For a lack of a better word, I have used the term 'session'
You can get logs by following https://docs.k8slens.dev/v4.2.2/faq/#where-can-i-find-application-logs
Please also run in DEBUG mode if possible.
This sounds like our kubectl watch
or kubectl proxy
are closed on the windows side...
Yes. That's exacy right. Kubectl watch doesn't work properly on the lens app. But it works fine when I run the command directly on the command prompt
Does it work correctly even if you leave it open for 30 minutes?
No it doesn't work even if I am actively working on the same cluster.
Thanks for the information, any ideas @ixrock ?
@raswinraaj Are you able to provide any logs? What about a short video showing what happens when you click on the pod logs button?
https://user-images.githubusercontent.com/50330414/116232124-52fa1500-a777-11eb-8d02-33160962f79b.mp4 If you have a look at the above video, auditing service shows 3 pods in lens UI with 1 pod with CrashLoopError and the other 2 pods are newer ones. But if you look in the command prompt where I have run kubectl get pods, you can see that there are actually only 2 pods running at that point of time. Here the crashed pod even though deleted, is still being shown in the Lens UI. Also I have attached the logs. logs.zip
Describe the bug Session expires after first 30 minutes or so after opening the app
To Reproduce Steps to reproduce the behavior:
Expected behavior Opening any pod log should happen successfully. But on clicking of the pod log button, nothing opens
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Logs: No logs available
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.
Additional context Add any other context about the problem here.