Skip to content
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

Cannot connect cause of proxy authentication #8105

Open
K4leri opened this issue Oct 10, 2024 · 4 comments
Open

Cannot connect cause of proxy authentication #8105

K4leri opened this issue Oct 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@K4leri
Copy link

K4leri commented Oct 10, 2024

Describe the bug
I just installed new version of lens and it tries to use proxy conection for no reason.
I have never use proxy and i dont have set up them.

To Reproduce

  1. I decide to install new version
  2. after installed i cant connect cause of luck conection to proxy

Expected behavior
I dont wanna my lens use proxy conection if i dont have any proxy conections.

Screenshots
изображение

Environment (please complete the following information):

  • Lens Setup: 2024.9.300059-latest.exe
  • OS: Windows 10 22H2 19045.2965

Kubeconfig:

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: ...
  name: ...
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: ...
  name: ...
contexts:
- context:
    cluster: ...
    user: ...
  name: yc-general
- context:
    cluster: ...
    user: ...
  name: yc-kube-massive
current-context: yc-general
kind: Config
preferences: {}
users:
- name: ...
  user:
    exec:
      apiVersion: ...
      args:
      - k8s
      - create-token
      - --profile=...
      command: C:\Users\...\yandex-cloud\bin\yc.exe
      env: null
      interactiveMode: IfAvailable
      provideClusterInfo: false
- name: ...
  user:
    exec:
      apiVersion: ...
      args:
      - k8s
      - create-token
      - --profile=easycommerse
      command: ...
      env: null
      interactiveMode: IfAvailable
      provideClusterInfo: false

Aditional content:

@K4leri K4leri added the bug Something isn't working label Oct 10, 2024
@K4leri K4leri changed the title Cannot connect cause of proxy authenthication Cannot connect cause of proxy authentication Oct 10, 2024
@clrothmann
Copy link

Thank you @K4leri for your report. I addressed your issue to the corresponding team.

@dechegaray
Copy link

Hi @K4leri , the aforementioned proxy is internal to Lens and is there for legacy reasons. In the near future, we are planning to offer an option to opt-out of it, but it has been there for a long time (years I would say)... Can you connect to this cluster through plain kubectl and run for example kubectl get --raw /api?

@K4leri
Copy link
Author

K4leri commented Oct 16, 2024

@dechegaray yes i can. But the same thing as i am describing in this message:

I found exectly whats wrong. I installed exe to all users on my windows OS. Then i start Lens.exe whithout admin rights and in such case it gives this error to me.

When i start my Lens.exe with admin rights => all is working. So for some reason it should work under admin rights.
I dont know if its an error. If not, then the topic should be closed

@dechegaray
Copy link

@dechegaray yes i can. But the same thing as i am describing in this message:

I found exectly whats wrong. I installed exe to all users on my windows OS. Then i start Lens.exe whithout admin rights and in such case it gives this error to me.

When i start my Lens.exe with admin rights => all is working. So for some reason it should work under admin rights. I dont know if its an error. If not, then the topic should be closed

Admin rights should not be required, but if users are under strict security rules, it must be checked that they can execute .exe files from C:\Users\<username>\AppData\. We had another case in which the user had to move Lens' folders to a different location because of its strict setup.

May I suggest the following:

  • Uninstall Lens.
  • Remove anything in C:\Users<username>\AppData\Local\Programs\Lens
  • Install again the latest release.

We had few cases (Windows only) in which remaining files in that location where causing some permission related issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants