Error trying to use gcloud beta compute ssh

1,627 views
Skip to first unread message

Aneesh Deshmukh

unread,
Feb 11, 2022, 3:37:05 PM2/11/22
to Google Cloud Developers
I keep getting the following error message when trying to compute to any vm instance using my local WSL since the last 1-2 hours. Everything was working fine and i was able to ssh onto my vm instances with no issues until before that time

gcloud crashed (TransportError): HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f18ae805af0>, 'Connection to oauth2.googleapis.com timed out. (connect timeout=120)'))

Jose Lorea Sanchez

unread,
Feb 11, 2022, 7:13:33 PM2/11/22
to Google Cloud Developers

Apparently this error log has been reported multiple times in different case scenarios with also different solutions. I will leave these so you can check them. Some use different technologies but you can verify the solutions related to gcloud.

This is the more similar to your case: https://stackoverflow.com/questions/68982548/gcloud-init-error-gcloud-crashed-connectionerror

Also recommend you to try to get more information about the error so we can get a more specific solution here and could you run the following commands as seen here:

gcloud info

To check network connectivity and hidden properties, run:

gcloud info --run-diagnostics

To print the contents of the most recent log file, run:

gcloud info --show-log

Reply all
Reply to author
Forward
0 new messages