ERROR: gcloud crashed (ServerNotFoundError): Unable to find the server at www.googleapis.com
ERROR: gcloud crashed (ServerNotFoundError): Unable to find the server at www.googleapis.com
我正在尝试使用以下命令登录云 sdk:gcloud auth login
,并且我在浏览器中 select 我的 google 帐户。单击允许后,在终端中显示:
ERROR: gcloud crashed (ServerNotFoundError): Unable to find the server at www.googleapis.com
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
当我 运行 命令 gcloud info --运行-diagnostics 它也停止并出现错误:
ERROR: Reachability Check failed.
Cannot reach https://www.googleapis.com/auth/cloud-platform (ServerNotFoundError)
Network connection problems may be due to proxy or firewall settings.
我的配置是默认配置,没有任何修改。
我可以长时间登录云 sdk 没有问题。
我在 windows 10.
我尝试以管理员身份而不是以管理员身份使用云 SDK shell 和 windows 终端登录。
如何修复此错误?
更新:
我 运行 tracert -4 www.googleapis.com
和 -6
命令,这是结果:
Unable to resolve target system name www.googleapis.com.
我在家工作,我不知道网络代理是什么,我可能不小心使用了一个。
您可能启用了 gcloud 代理,使用-> gcloud config list 获取代理设置
取消代理使用:gcloud config unset proxy/[params] 其中参数是地址、端口等
您需要先使用此命令登录您的 gcloud SDK
gcloud auth login
它将在浏览器中打开一个 google 注册页面。 Select 您的帐户,然后您将在命令行中获得您已通过身份验证的确认信息。然后尝试你想做的事情。
我在连接到 VPN 时遇到了同样的问题。 已与 VPN 和 运行 断开以下命令并且它起作用了。
gcloud 授权登录
我正在尝试使用以下命令登录云 sdk:gcloud auth login
,并且我在浏览器中 select 我的 google 帐户。单击允许后,在终端中显示:
ERROR: gcloud crashed (ServerNotFoundError): Unable to find the server at www.googleapis.com
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
当我 运行 命令 gcloud info --运行-diagnostics 它也停止并出现错误:
ERROR: Reachability Check failed.
Cannot reach https://www.googleapis.com/auth/cloud-platform (ServerNotFoundError)
Network connection problems may be due to proxy or firewall settings.
我的配置是默认配置,没有任何修改。
我可以长时间登录云 sdk 没有问题。
我在 windows 10.
我尝试以管理员身份而不是以管理员身份使用云 SDK shell 和 windows 终端登录。
如何修复此错误?
更新:
我 运行 tracert -4 www.googleapis.com
和 -6
命令,这是结果:
Unable to resolve target system name www.googleapis.com.
我在家工作,我不知道网络代理是什么,我可能不小心使用了一个。
您可能启用了 gcloud 代理,使用-> gcloud config list 获取代理设置
取消代理使用:gcloud config unset proxy/[params] 其中参数是地址、端口等
您需要先使用此命令登录您的 gcloud SDK
gcloud auth login
它将在浏览器中打开一个 google 注册页面。 Select 您的帐户,然后您将在命令行中获得您已通过身份验证的确认信息。然后尝试你想做的事情。
我在连接到 VPN 时遇到了同样的问题。 已与 VPN 和 运行 断开以下命令并且它起作用了。 gcloud 授权登录