MuhammedKalkan/OpenLens

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

djarami726 opened this issue · 4 comments

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

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

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

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

Duplicate of #109