You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法向Rancher添加GCP云凭证的问题求助

无法向Rancher添加GCP云凭证的问题求助

我已经在GCP上创建了具备所需角色的服务账号,但将该服务账号的私钥作为云凭证添加到Rancher时,遇到了如下错误:

"error": "Get "https://compute.googleapis.com/compute/v1/projects/test-project/zones?alt=json&prettyPrint=false": oauth2: cannot fetch token: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com: i/o timeout"

有没有大佬能帮忙分析下这个错误的原因?非常感谢大家的回复!

另外我已经做了初步排查:在Rancher服务器上执行了ping oauth2.googleapis.com命令,DNS解析是成功的。

备注:内容来源于stack exchange,提问作者Talha Sheikh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 08:14:29