{"action":"created","issue":{"url":"https://api.github.com/repos/helm/helm/issues/4326","repository_url":"https://api.github.com/repos/helm/helm","labels_url":"https://api.github.com/repos/helm/helm/issues/4326/labels{/name}","comments_url":"https://api.github.com/repos/helm/helm/issues/4326/comments","events_url":"https://api.github.com/repos/helm/helm/issues/4326/events","html_url":"https://github.com/helm/helm/issues/4326","id":340191694,"node_id":"MDU6SXNzdWUzNDAxOTE2OTQ=","number":4326,"title":"Cannot perform helm init behind proxy","user":{"login":"ptylenda","id":11139004,"node_id":"MDQ6VXNlcjExMTM5MDA0","avatar_url":"https://avatars3.githubusercontent.com/u/11139004?v=4","gravatar_id":"","url":"https://api.github.com/users/ptylenda","html_url":"https://github.com/ptylenda","followers_url":"https://api.github.com/users/ptylenda/followers","following_url":"https://api.github.com/users/ptylenda/following{/other_user}","gists_url":"https://api.github.com/users/ptylenda/gists{/gist_id}","starred_url":"https://api.github.com/users/ptylenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptylenda/subscriptions","organizations_url":"https://api.github.com/users/ptylenda/orgs","repos_url":"https://api.github.com/users/ptylenda/repos","events_url":"https://api.github.com/users/ptylenda/events{/privacy}","received_events_url":"https://api.github.com/users/ptylenda/received_events","type":"User","site_admin":false},"labels":[{"id":778135666,"node_id":"MDU6TGFiZWw3NzgxMzU2NjY=","url":"https://api.github.com/repos/helm/helm/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/helm/helm/milestones/55","html_url":"https://github.com/helm/helm/milestone/55","labels_url":"https://api.github.com/repos/helm/helm/milestones/55/labels","id":3517674,"node_id":"MDk6TWlsZXN0b25lMzUxNzY3NA==","number":55,"title":"2.11.0 - Features","description":"Feature branch for 2.11 milestone","creator":{"login":"technosophos","id":89193,"node_id":"MDQ6VXNlcjg5MTkz","avatar_url":"https://avatars1.githubusercontent.com/u/89193?v=4","gravatar_id":"","url":"https://api.github.com/users/technosophos","html_url":"https://github.com/technosophos","followers_url":"https://api.github.com/users/technosophos/followers","following_url":"https://api.github.com/users/technosophos/following{/other_user}","gists_url":"https://api.github.com/users/technosophos/gists{/gist_id}","starred_url":"https://api.github.com/users/technosophos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technosophos/subscriptions","organizations_url":"https://api.github.com/users/technosophos/orgs","repos_url":"https://api.github.com/users/technosophos/repos","events_url":"https://api.github.com/users/technosophos/events{/privacy}","received_events_url":"https://api.github.com/users/technosophos/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":18,"state":"open","created_at":"2018-07-23T19:48:56Z","updated_at":"2018-09-02T18:59:51Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2018-07-11T10:55:40Z","updated_at":"2018-09-03T12:32:57Z","closed_at":null,"author_association":"NONE","body":"Output of `helm version`: v2.10.0-rc.1 (https://github.com/kubernetes/helm/releases/tag/v2.10.0-rc.1)\r\n\r\nOutput of `kubectl version`: v1.11.0\r\n\r\nCloud Provider/Platform (AKS, GKE, Minikube etc.): bare metal\r\n\r\nDescription:\r\nWhen checking the latest RC version (https://github.com/kubernetes/helm/releases/tag/v2.10.0-rc.1) I am unable to perform \"helm init\" behind proxy:\r\n```\r\n$ ./helm init --node-selectors \"beta.kubernetes.io/os\"=linux\r\nCreating /home/ubuntu/.helm\r\nCreating /home/ubuntu/.helm/repository\r\nCreating /home/ubuntu/.helm/repository/cache\r\nCreating /home/ubuntu/.helm/repository/local\r\nCreating /home/ubuntu/.helm/plugins\r\nCreating /home/ubuntu/.helm/starters\r\nCreating /home/ubuntu/.helm/cache/archive\r\nCreating /home/ubuntu/.helm/repository/repositories.yaml\r\nAdding stable repo with URL: https://kubernetes-charts.storage.googleapis.com\r\nError: Looks like \"https://kubernetes-charts.storage.googleapis.com\" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp 216.58.214.80:443: connect: connection timed out\r\n```\r\n\r\nMy environment is set properly for proxy:\r\n```\r\n$ export\r\n...\r\ndeclare -x HTTPS_PROXY=\"http://some-proxy:1234\"\r\ndeclare -x HTTP_PROXY=\"http://some-proxy:1234\"\r\n...\r\ndeclare -x http_proxy=\"http://some-proxy:1234\"\r\ndeclare -x https_proxy=\"http://some-proxy:1234\"\r\n```\r\n\r\nAnd downgrading to latest stable release v2.9.1 (https://github.com/kubernetes/helm/releases/tag/v2.9.1) solves the issue:\r\n```\r\n$ ./helm init --node-selectors \"beta.kubernetes.io/os\"=linux\r\nCreating /home/ubuntu/.helm/repository/repositories.yaml\r\nAdding stable repo with URL: https://kubernetes-charts.storage.googleapis.com\r\nAdding local repo with URL: http://127.0.0.1:8879/charts\r\n$HELM_HOME has been configured at /home/ubuntu/.helm.\r\n\r\nTiller (the Helm server-side component) has been installed into your Kubernetes Cluster.\r\n\r\nPlease note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.\r\nFor more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation\r\nHappy Helming!\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/helm/helm/issues/comments/418102038","html_url":"https://github.com/helm/helm/issues/4326#issuecomment-418102038","issue_url":"https://api.github.com/repos/helm/helm/issues/4326","id":418102038,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODEwMjAzOA==","user":{"login":"derkoe","id":123199,"node_id":"MDQ6VXNlcjEyMzE5OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/123199?v=4","gravatar_id":"","url":"https://api.github.com/users/derkoe","html_url":"https://github.com/derkoe","followers_url":"https://api.github.com/users/derkoe/followers","following_url":"https://api.github.com/users/derkoe/following{/other_user}","gists_url":"https://api.github.com/users/derkoe/gists{/gist_id}","starred_url":"https://api.github.com/users/derkoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derkoe/subscriptions","organizations_url":"https://api.github.com/users/derkoe/orgs","repos_url":"https://api.github.com/users/derkoe/repos","events_url":"https://api.github.com/users/derkoe/events{/privacy}","received_events_url":"https://api.github.com/users/derkoe/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T12:32:57Z","updated_at":"2018-09-03T12:32:57Z","author_association":"NONE","body":"Create PR #4579 which should fix this."}}
{"actor":{"display_login":"derkoe"}}