Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud SDK Init web authentication error

Tags:

sdk

I installed Google Cloud SDK on Mac and then ran the command ./google-cloud-sdk/bin/gcloud init but every time I do this I get the following errors:

Errors

it comes up with the prompt to log in and choose an account but then every time I click on my google account it tries to load and then I get a safari cannot connect to server error.

I have also tried running ./google-cloud-sdk/bin/gcloud auth login with the same errors.

Any help would be greatly appreciated

like image 529
Michael Omelchenko Avatar asked Mar 11 '26 15:03

Michael Omelchenko


1 Answers

Did you try running it without opening the browser?

gcloud auth login --no-launch-browser
like image 73
Nebulastic Avatar answered Mar 14 '26 19:03

Nebulastic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!