Search code examples
gcloud

gcloud crashed HTTPSConnectionPool


gcloud auth login not coming back to terminal on macos:

ERROR: gcloud crashed (ConnectionError):
HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x105347130>:
Failed to establish a new connection: [Errno 60] Operation timed out'))

gcloud auth login working fine on my other PC windows bash terminal with same Wifi.

Given read & write permissions to everyone of folder google-cloud-sdk


Solution

  • The problem is with your ISP, Airtel India. Use a VPN, and it work.