0

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.

chactas
  • 11
  • 1
  • 3
  • Try this similar stack question(https://stackoverflow.com/questions/61953082/why-is-my-gcloud-command-suddenly-very-slow-inside-wsl2?noredirect=1&lq=1) may help to resolve your issue. – Veera Nagireddy Oct 27 '22 at 13:15

0 Answers0