'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 1:[1]
I tried both browser and no-browser options, but kept getting the problem. To resolve this, I connected my corporate VPN and the problem was solved.
Solution 2:[2]
on MacOS goto your icloud settings and enable Private Relay(Beta) which resolved my problem
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ouflak |
| Solution 2 |
