-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Lens v5.0.0 first connection attempt fails #3226
Comments
Additional observation: When performing the initial failing connect attempt there is only the message "Connecting..." and no message "Authentication proxy started" at any stage. When clicking to try again there is the message "Reconnecting..." and then after a while "Authentication proxy started" after which the connection then succeeds. |
That is a good hint thanks |
Can take 2 or 3 times to connect and it's not quick compared to previous versions. Also, I just get the error "Oops, something went wrong." |
When can we expect the fix for this recurring issue please ? This is so frustrating |
I assumed this would be resolved before 5.0 release since it was noted by the team in the beta, but it's still a very prevalent issue. Now when Lens has very high CPU usage (after opening a couple clusters or so now) and I go to restart Lens, I run into this error for every cluster individually and it can take 1 to 5 reconnection attempts before it eventually works. Any thoughts on what could be the cause? Basically:
I have noticed that if I then immediately or in the next few minutes try to connect to another cluster, it works more often than not. |
Marking this as a blocker for 5.1.1 as we plan to release 5.1 (with some other bug fixes) today. |
Yes we are currently investigating why that proxy connection is failing on windows. Thanks for the additional report. |
Yes the local web server is part of Lens, we are still looking into this. |
#3458 seems to have fixed the issue 🎉 |
🎉 Excellent, what about you @Kolossi ? |
@Nokel81 : Unfortunately not quite there for me on Windows 10 and exactly same "help->about" as image in ramanNarasimhan77 previous post. When I click to connect to first cluster, it goes through "connecting..." ->5secs delay -> "Authentication proxy started", but then spins forever (at least to 5 mins), no error shown. If I click a second cluster I again get "connecting..." -> "Authentication proxy started", but then spins forever, no error shown. Clicking back on the first cluster, it says "connecting..." then connection completes after about a second and overview shown. Clicking back on the second cluster, it says "connecting..." then connection completes after about a second and overview shown. Having done this, if I click on a third cluster I still get "connecting..." -> "Authentication proxy started" and it spins forever, no error shown. Clicking off to first or second cluster then back to third cluster, it says "connecting..." then connection completes after about a second and overview shown. |
I'm too experiencing connection issues with Lens 5. It doesn't get solved for me in the second attempt. Not sire if I need to open a separate issue for this. |
@Nokel81 Any luck tracking this down? Mostly it still does as per my previous comment, but just occasionally (like this morning) it connects straight in. This does make me wonder again (with no evidence other than suspicion) whether #2750 is involved? |
We have #3511 which is slated to be part of the 5.2.0 release. As for 2750, I wonder if that is a race condition... We use the port that is automatically given to us by the OS. However, in 4.2.4 there was a race condition where we would try and get a port and then stop using it before trying to use it again, that has been removed. |
I still experienced the issue with 5.1.3 as well. |
Will close this then. Please open a new issue (referencing this one) if you encounter it again. |
It's now connecting in version 5.2 but causes a blue screen of death in Windows... I'll open a new issue. |
Describe the bug
After adding external "sync" configs to lens for windows v5.0.0, first attempt to connect to the cluster always fails with "Invalid Credentials error"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Where config is valid, first attempt should suceed without error.
Screenshots
Screenshot, including failed attempt to get debug logs for win version using WSL terminal:
Environment (please complete the following information):
Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
Unable to get debug logs from windows lens - see later part of discussion on https://k8slens.slack.com/archives/C1U90NQN8/p1625045050141900 and screenshot in this post.
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 **
Would like to grab and post debug logging, will do so when advised how to do it in windows version of lens.
The text was updated successfully, but these errors were encountered: