I'm running gcloud on ubuntu 20.04 (through WSL2).
gcloud operations work fine, except for anything authentication-related. For commands such as gcloud init
or gcloud auth
, it will take up to 30 minutes to either pop up in the browser, or to provide a link with the --no-browser
flag.
Steps taken:
- reinstalling the google-cloud-cli through apt
- deleting the user config directory and reinstalling
It's quite annoying as every new day that I use gcloud I need to reauthenticate, which takes an inordinate amount of time. Would appreciate any debugging steps.