Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud SDK installer ERROR Download failed: connecting to host

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?

like image 690
user9055175 Avatar asked Jan 04 '23 03:01

user9055175


1 Answers

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
like image 158
T G Avatar answered Jan 30 '23 23:01

T G