I'm trying to install the Google Cloud SDK (https://cloud.google.com/sdk/docs/quickstart-mac-os-x) and get this error:
ERROR: (gcloud.components.list) Failed to fetch component listing from server. Check your network settings and try again.
Already tried updating OpenSSL and corresponding Python (also tried Python 2.7.8):
openssl version
OpenSSL 1.0.2k 26 Jan 2017
python -V
Python 2.7.13
Python is also using this OpenSSL version:
>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.2k 26 Jan 2017'
I'm running mac OS 10.12.4
I've also tried brew cask install google-cloud-sdk
which effectively just downloads the normal version und executes the install.sh script. Same result.
Further debugging showed, it's unable to load https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
and throws this error: URLError: <urlopen error timed out>
.
Loading this file via Python directly works:
urllib2.urlopen('https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json')
Any ideas? Also any hints how to further debug this, would be appreciated :)