-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
ISO download fails with proxy: A connection attempt failed because the connected party did not properly respond #2425
Comments
Does it work this way?
|
@ErikWegner No, and I think that's because there are some initial things that minikube needs to download in order to make the machine itself - the docker-env variables are for the machine that minikube makes. The following command does not work behind an NTLM-authenticating proxy, either: minikube get-k8s-versions minikube does not appear to use the HTTP_PROXY and HTTPS_PROXY Windows environment variables. Docker for Windows works with Fiddler if you set Fiddler to listen to remote traffic (check your Windows firewall first!) and give Docker for Windows your PC's IP address as the proxy. |
Maybe privoxy can be your solution. It can be setup to add the authorization headers for an upstream proxy.
Then you can point your HTTP_PROXY and HTTPS_PROXY to your locally running instance: Privoxy can also listen to the virtual box interface on 192.168.99.1 to allow your virtual machine to access remote resources. |
Download cmder, type bash to switch to bash |
I am trying out minikube on Windows 10 Professional behind a corporate proxy, so far without luck. I have tried using CNTLM for windows, but turns out unless minikube itself uses proxy, that's not going to help.
Also tried wireshark while running "minikube get-k8s-versions" and I can see t is directly going to storage.googleapis.com and not routing it through proxy server at all. I am lost.. Any help appreciated... |
Thanks @jzinedine, that worked for me too! |
Thanks @jzinedine. This method worked perfect for me. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
The important snippet from the logs: Starting VM...
Downloading Minikube ISO
E0112 16:35:47.717429 5924 start.go:150] Error starting host: Error attemptin
g to cache minikube ISO from URL: Error downloading Minikube ISO: failed to down
load: failed to download to temp file: download failed: 5 error(s) occurred:
* Temporary download error: Get https://storage.googleapis.com/minikube/iso/mini
kube-v0.23.6.iso: dial tcp 74.125.133.128:443: connectex: A connection attempt f
ailed because the connected party did not properly respond after a period of tim
e, or established connection failed because connected host has failed to respond |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug
What happened:
Trying to start minikube with command as :
C:>minikube start --docker-env="HTTP_PROXY=http://XXXX/YYY" \ --docker-env="HTTPS_PROXY=http://XXX/YYY" --alsologtostderr
over windows with corporate proxy, with Virtual box VM. It fails to start with the following error (Attached):
ErrorWithoutStdErrorLog.txt
ErrorWithStdErrorLog.txt
I have also set the environment variables
Proxy is present in the form of .PAC file
Used the IP from PAC file , still it does not work
What you expected to happen:
MiniKube should have started.
How to reproduce it (as minimally and precisely as possible):
Start Mini kube with the below command:
C:>minikube start --docker-env="HTTP_PROXY=http://XXXX/YYY.pac" \ --docker-env="HTTPS_PROXY=http://XXX/YYY.pac" --alsologtostderr
Anything else we need to know?:
Minikube starts fine without corporate proxy
Windows 8 enterprise:
Kubernetes version command gave the following error
kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommi
t:"6e937839ac04a38cac63e6a7a306c5d035fe7b0a", GitTreeState:"clean", BuildDate:"2
017-09-28T22:57:57Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"windows/amd6
4"}
Unable to connect to the server: dial tcp 127.0.0.1:8080: connectex: No connecti
on could be made because the target machine actively refused it.
hardware configuration:
8Gb RAM
64 Bit OS
OS (e.g. from /etc/os-release):Windows 8 enterprise:
Kernel (e.g.
uname -a
):Install tools:
Others:
The text was updated successfully, but these errors were encountered: