MuhammedKalkan / OpenLens

OpenLens Binary Build Repository
4.07k stars 272 forks source link

Failed to start connection: Error: failed to retrieve port from stream #123

Closed djarami726 closed 1 year ago

djarami726 commented 1 year ago

Describe the bug One of my collegues is trying to setup openlens and gets the following error when connecting to the AKS cluster. Failed to start connection: Error: failed to retrieve port from stream

To Reproduce Steps to reproduce the behavior:

Start OpenLens Click on catalog See error Kubectl works fine from the terminal against that cluster. I'm able to do the following without a problem: Kubectl get pods -A Kubectl get ns -A

Expected behavior The cluster should open up. I have installed it on another machine same version and os and it works fine.

Screenshots image

Environment (please complete the following information):

Lens Version: 6.4.0-beta.10 OS: Windows 11 Download exe and install Logs: When you run the application executable from command line you will see some logging output. Please paste them here:

didn't see any console logs

trungklam commented 1 year ago

I got the same issue with beta.9 on Windows 10. I have tried to uninstall + delete OpenLens in Appdata\Roaming and Appdata\Local then reinstall but the issue still happen The error message show the k8s-proxy.exe but I couldn't find the file with that path image

avg07 commented 1 year ago

I had the same issue. Solved by adding the binary from here to AppData\Local\Programs\OpenLens\resources\x64\

trungklam commented 1 year ago

I had the same issue. Solved by adding the binary from here to AppData\Local\Programs\OpenLens\resources\x64\

Nice ! I can confirm this works ! For me I installed OpenLens for all users so it would look like this in the end image

jkroepke commented 1 year ago

Duplicate of https://github.com/MuhammedKalkan/OpenLens/issues/109