gpt4 book ai didi

google-cloud-platform - gcloud auth 登录抛出错误 : gcloud crashed (ConnectionError): HTTPSConnectionPool(host ='oauth2.googleapis.com' , 端口 = 443):超过最大重试次数

转载 作者:行者123 更新时间:2023-12-05 09:28:49 30 4
gpt4 key购买 nike

  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 the following command:
gcloud feedback

To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics

按照建议运行诊断,一切似乎都很好。

>  gcloud info --run-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).

Property diagnostic detects issues that may be caused by properties.
Checking hidden properties...done.
Hidden Property Check passed.
Property diagnostic passed (1/1 checks passed).

我也试过用我的其他谷歌账户,抛出同样的错误。它在 1 天前工作正常。已尝试所有 Stackoverflow 解决方案,似乎没有任何效果。

最佳答案

此问题出在 Airtel India ISP 而不是 Google Cloud CLI。使用 VPN,它会起作用。

关于google-cloud-platform - gcloud auth 登录抛出错误 : gcloud crashed (ConnectionError): HTTPSConnectionPool(host ='oauth2.googleapis.com' , 端口 = 443):超过最大重试次数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71102253/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com