ERROR: gcloud crashed (SSLError):

4,842 views
Skip to first unread message

Ashish Singh

unread,
Apr 22, 2021, 11:06:39 AM4/22/21
to Google Cloud Developers
Hi, 
Facing this issue with GCLOUD SDK -

Updated property [core/project].
ERROR: gcloud crashed (SSLError): HTTPSConnectionPool(host='cloudresourcemanager.googleapis.com', port=443): Max retries exceeded with url: /v1/projects/learned-acolyte-310704?alt=json (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

gcloud's default CA certificates failed to verify your connection, which can happen if you are behind a proxy or firewall.
To use a custom CA certificates file, please run the following command:
  gcloud config set core/custom_ca_certs_file /path/to/ca_certs
C:\Users\1920456>gcloud info --run-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
    Cannot reach https://accounts.google.com with httplib2 (SSLCertVerificationError)
    Cannot reach https://cloudresourcemanager.googleapis.com/v1beta1/projects with httplib2 (SSLCertVerificationError)
    Cannot reach https://accounts.google.com with requests (SSLError)
    Cannot reach https://cloudresourcemanager.googleapis.com/v1beta1/projects with requests (SSLError)
Network connection problems may be due to proxy or firewall settings.


Do you have a network proxy you would like to set in gcloud (Y/n)?  n

ERROR: Network diagnostic failed (0/1 checks passed).

Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).

ERROR: (gcloud.info) Some of the checks in diagnostics failed.

How can I fix this ?

Thanks
Ashish Singh


C.J. Collier

unread,
Apr 22, 2021, 12:03:26 PM4/22/21
to Ashish Singh, Google Cloud Developers
Do you have the latest version of gcloud?

--
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/d30c240f-b336-4bcf-a1cf-3a7e0c2bf2can%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages