【问题标题】:gcloud init ERROR: gcloud crashed (ConnectionError)gcloud 初始化错误:gcloud 崩溃(ConnectionError)
【发布时间】:2021-10-29 02:43:23
【问题描述】:
  1. Google Cloud SDK 安装程序下载成功。

  2. 安装成功后运行gcloud init命令

  3. 它要求登录

  4. 提供登录详细信息后,出现以下错误

    错误:gcloud 崩溃(连接错误): HTTPSConnectionPool(主机='oauth2.googleapis.com',端口=443): url 超出最大重试次数:/token(由 NewConnectionError(' 引起): 建立新连接失败:[Errno 11001] getaddrinfo failed'))

如何处理这个错误?

【问题讨论】:

  • 你在什么平台上运行?

标签: google-cloud-platform gcloud init google-cloud-sdk


【解决方案1】:

当您超过一定数量的请求时,Google 最终会阻止您的 IP。 您可以尝试创建另一个超级用户表单命令行可能会解决问题。

【讨论】:

    【解决方案2】:

    我在远程桌面上尝试gcloud init,收到此错误:gcloud crashed (ConnectionError)

    以下解决方案对我有用。

    我使用命令gcloud init --console-only 而不是gcloud init

    【讨论】:

      猜你喜欢
      • 2019-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-24
      • 2019-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多