温馨提示:本文翻译自stackoverflow.com,查看原文请点击:google cloud sdk - gcloud init generates bad url with 279.0.0
gcloud google-cloud-sdk

google cloud sdk - gcloud init生成带有279.0.0的错误网址

发布于 2020-04-18 22:08:27

我安装了一个新的gcloud sdk(如果重要的话,请在Azure Cloud Shell中...)

chad@Azure:~$ gcloud --version
Google Cloud SDK 279.0.0
bq 2.0.53
core 2020.01.31
gsutil 4.47

我正在尝试运行'gcloud init'-但它呈现的URL不起作用...

chad@Azure:~$ gcloud init
Welcome! This command will take you through the configuration of gcloud.

Your current configuration has been set to: [default]

You can skip diagnostics next time by using the following flag:
  gcloud init --skip-diagnostics

Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).

You must log in to continue. Would you like to log in (Y/n)?

Go to the following link in your browser:

    https://accounts.google.com/o/oauth2/auth?code_challenge= I REMOVED 
 A BUNCH OF CODES HERE &scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth


Enter verification code:

在此处输入图片说明

我想念什么吗?

查看更多

提问者
chadbr
被浏览
18
chadbr 2020-02-08 02:25

@约翰·汉利-为了胜利!

不敢相信我没有想到这一点-非常感谢。

乍得

ps看起来像Azure控制台或Windows Terminal中的错误,会截断包装的文本...