lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.5k stars 1.46k forks source link

Helm3 app does not work with lens ide v3.6.7 behind http proxy #1098

Open aaraodeo opened 3 years ago

aaraodeo commented 3 years ago

Describe the bug Helm3 app is not working in lens ide 3.6.7 behind http proxy

To Reproduce Steps to reproduce the behavior:Steps to reproduce the behavior:

  1. Start Lens ide
  2. It connects to last known k8s cluster configuration
  3. Goto Workloads >> Pods
  4. It shows details of the running pods in k8s cluster
  5. Now goto Apps >> Charts
  6. It takes a very long time to show list of charts.
  7. Click Releases. It shows list of Helm releases.
  8. Click on one of the release. It shows release details in a new windows. Now click Upgrade button.
  9. It opens a terminal in a new tab with title "Helm Upgrade:" and its remains stuck in this with a busy rolling circle symbol and it does not comes out of it.
  10. Now goto Charts and click any of the available chart.
  11. It tries to open the chart details in a new windows and its remain stuck in this with a busy rolling circle symbol and it does not comes out of it.

Expected behavior Helm Release Upgrade to be completed successfully and Chart details to be shown without any issue.

Screenshots Screenshot 2020-10-18 182255 Screenshot 2020-10-18 182333

Environment (please complete the following information):

Logs: N/A

Kubeconfig:

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: https://kubernetes.docker.internal:6443
  name: docker-desktop
contexts:
- context:
    cluster: docker-desktop
    user: docker-desktop
  name: docker-desktop
current-context: docker-desktop
kind: Config
preferences: {}
users:
- name: docker-desktop
  user:
    client-certificate-data: REDACTED
    client-key-data: REDACTED

Additional context kubectl version Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:12:48Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"windows/amd64"} Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:04:18Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

helm version version.BuildInfo{Version:"v3.3.4", GitCommit:"a61ce5633af99708171414353ed49547cf05013d", GitTreeState:"clean", GoVersion:"go1.14.9"}

Note: I am using a http proxy to connect to internet.

The steps mentioned above to reproduce the issue works fine on a another machine connected to internet without using a proxy.

So its seems helm3 does not work with lens ide 3.6.7 behind http proxy.

taker93 commented 3 years ago

Same problem for me as the internal call never returns a valid result: image

aaraodeo commented 3 years ago

The issue persists in latest Lens IDE Version: 4.0.4 on Docker Desktop 3.0.0

Nokel81 commented 3 years ago

Are you proxying all networking?

aaraodeo commented 3 years ago

Yes. All internet access is through an HTTP proxy.

On Fri, Mar 26, 2021 at 1:33 AM Sebastian Malton @.***> wrote:

Are you proxying all networking?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lensapp/lens/issues/1098#issuecomment-807388052, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACI663TSXAL4UXCUFDD2KVLTFOJJ3ANCNFSM4SVCIVKQ .