Google Cloud SDK installer ERROR Download failed: connecting to host
Asked Answered
F

2

5

I'm trying to download Google Cloud SDK in my computer but during the installation that error occurred:

Download failed: connecting to host.

Can you help me to solve it?

Farquhar answered 5/12, 2017 at 9:3 Comment(1)
did you solve it? I am having the same issue and i doesn't seem to be a connectivity issue.Slantwise
C
10

This error could also occur if your computer is behind corporate firewall. The easiest solution is to NOT use installer, but download versioned archive using the following link https://cloud.google.com/sdk/docs/downloads-versioned-archives, then follow the instructions on the page e.g. for windows run

.\google-cloud-sdk\install.bat
Contrapuntist answered 24/8, 2018 at 18:39 Comment(2)
We should consider to add proxy setting also,set HTTP_PROXY=http://<proxy host>:80 set HTTPS_PROXY=http://<proxy host>:80Stedman
I had HTTP(S)_PROXY configured, it was not the issue for me. I had this issue for over 6 weeks and this the obvious troubleshooting stepsAl
S
-1

When i tried to install it today,i had the same issue,i figured out that it was the antivirus installed in my system which was creating the issue,either disable it for a while or change the settings to give download permission.

Sedimentology answered 3/2, 2021 at 23:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.