Google cloud platform 错误:gcloud崩溃(ServerNotFoundError):无法在www.googleapis.com上找到服务器

Google cloud platform 错误:gcloud崩溃(ServerNotFoundError):无法在www.googleapis.com上找到服务器,google-cloud-platform,google-cloud-sdk,Google Cloud Platform,Google Cloud Sdk,我正在尝试使用以下命令登录云sdk:gcloud auth login,并在浏览器中选择我的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 feed

我正在尝试使用以下命令登录云sdk:
gcloud auth login
,并在浏览器中选择我的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--run 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。
我尝试以管理员身份而不是管理员身份使用cloud sdk外壳和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

它将在浏览器中打开一个谷歌注册页面。选择您的帐户,然后您将在命令行中获得一个确认,表明您已通过身份验证。然后试试你想做的。

我在连接到VPN时遇到了同样的问题断开与VPN的连接并运行以下命令,该命令正常工作。
gcloud auth login

您所在的位置遇到网络问题。执行从桌面到www.googleapis.com的跟踪路由。在Windows上运行此命令:
tracert-4 www.googleapis.com
。用
-6
替换
-4
。这可能会帮助您找出网络故障发生的位置。Linux也有类似的命令。用结果更新您的问题以及有关您网络的更多详细信息,例如您是否在家工作、您的办公室、所在国家/地区、使用网络代理等。我用结果更新了您的问题您的计算机上有DNS问题。您正在使用哪些DNS服务器?你在哪个国家?命令
ipconfig/all
将显示您的网络配置。我开始工作,现在回来了,它正在工作。可能服务器因维护或其他原因而关闭,也可以检查
https\u proxy
变量的值。有时用于设置代理。