Xue*_*Guo 7 proxy network-connection google-cloud-sdk
我在 Google App Engine 上创建了一个帐户,然后通过 gcloud init 安装了 google-cloud-sdk,并收到以下错误:
Pick configuration to use:
[1] Re-initialize this configuration [a] with new settings
[2] Create a new configuration
[3] Switch to and re-initialize existing configuration: [default]
Please enter your numeric choice: 1
Your current configuration has been set to: [a]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Network connection problems may be due to proxy or firewall settings.
Do you have a network proxy you would like to set in gcloud (Y/n)? Y
Select the proxy type:
[1] HTTP
[2] HTTP_NO_TUNNEL
[3] SOCKS4
[4] SOCKS5
Please enter your numeric choice: 1
Enter the proxy host address: XXX
Enter the proxy port: XXX
Is your proxy authenticated (y/N)? n
Cloud SDK proxy properties set.
Rechecking network connection...done.
ERROR: Reachability Check still does not pass.
Cannot reach https://www.google.com (ResponseNotReady)
Cannot reach https://accounts.google.com (ResponseNotReady)
Cannot reach
https://cloudresourcemanager.googleapis.com/v1beta1/projects
(ResponseNotReady)
Cannot reach https://www.googleapis.com/auth/cloud-platform
(ResponseNotReady)
Cannot reach
https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
(ResponseNotReady)
Current effective Cloud SDK network proxy settings:
type = http
host = XXX
port = XXX
username = None
password = None
What would you like to do?
[1] Change Cloud SDK network proxy properties
[2] Clear all gcloud proxy properties
[3] Exit
Please enter your numeric choice:
Run Code Online (Sandbox Code Playgroud)
我在中国,但我可以在浏览器中使用代理(在 shadowsocks2.3 中设置)解锁谷歌或谷歌应用引擎等网站。我尝试在google cloud SDK中设置网络代理,IP地址和端口与shadowsocks2.3中使用的完全相同,但仍然无法正常工作。并且无法访问我的项目列表。确切的问题是什么?提示或解释都表示赞赏。提前谢谢了!
小智 0
设置主机 \xef\xbc\x9a 127.0.0.1 和端口 \xef\xbc\x9a 1080
\n\n我的电脑里有ss,当我像上面那样设置时,它可以很好地工作。
\n| 归档时间: |
|
| 查看次数: |
7462 次 |
| 最近记录: |