小编Vic*_*das的帖子

gcloud auth登录抛出错误:gcloud崩溃(ConnectionError):HTTPSConnectionPool(host ='oauth2.googleapis.com',port = 443):超出最大重试次数

  1. gcloud builds submit昨天对我来说失败了。
  2. 然后我尝试了一下gcloud config set project,也失败了。
  3. 所以我想登录可能已经过期所以尝试了一下gcloud auth login

在所有情况下,它总是抛出以下错误:

ERROR: gcloud crashed (ConnectionError): HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000198B0B26970>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

If you would like to report this issue, please run …
Run Code Online (Sandbox Code Playgroud)

init google-cloud-platform gcloud google-cloud-sdk

3
推荐指数
2
解决办法
3万
查看次数