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

downloading binaries: proxyconnect tcp: tls: oversized record received with length 20527 #4252

Closed
kishorejannarapu opened this issue May 14, 2019 · 2 comments
Labels
cause/firewall-or-proxy When firewalls or proxies seem to be interfering priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@kishorejannarapu
Copy link

I am trying to start minikube cluster in Ubuntu VM. I am behind the http proxy. I am getting the below error.
osboxes@osboxes:$ sudo minikube start --docker-env http_proxy=$http_proxy --docker-env https_proxy=$https_proxy
o minikube v1.0.1 on linux (amd64)

Creating none VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...

  • "minikube" IP address is 10.0.2.15
  • Configuring Docker as the container runtime ...
  • Version of container runtime is 18.09.5
  • Preparing Kubernetes environment ...
    X Unable to load cached images: loading cached images: loading image /home/osboxes/.minikube/cache/images/gcr.io/k8s-minikube/storage-provisioner_v1.8.1: stat /home/osboxes/.minikube/cache/images/gcr.io/k8s-minikube/storage-provisioner_v1.8.1: no such file or directory
    @ Downloading kubeadm v1.14.1
    @ Downloading kubelet v1.14.1

! Failed to update cluster: downloading binaries: downloading kubeadm: Error downloading kubeadm v1.14.1: failed to download: failed to download to temp file: download failed: 5 error(s) occurred:

@RA489
Copy link

RA489 commented May 14, 2019

@javakishore Do you mind attaching the output of minikube logs when this failure happens?

@tstromberg tstromberg changed the title Unable to start minikube in ubuntu vm downloading binaries: proxyconnect tcp: tls: oversized record received with length 20527 May 14, 2019
@tstromberg tstromberg added cause/firewall-or-proxy When firewalls or proxies seem to be interfering triage/needs-information Indicates an issue needs more information in order to work on it. labels May 14, 2019
@tstromberg
Copy link
Contributor

While you have specified --docker-env overrides, you actually need to set the HTTP_PROXY and HTTPS_PROXY environment variables to tell minikube about your proxy, as per:

https://github.com/kubernetes/minikube/blob/master/docs/http_proxy.md

I've now updated the doc to mention this specific issue. Please let me know if this helps.

@tstromberg tstromberg added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/firewall-or-proxy When firewalls or proxies seem to be interfering priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants