【发布时间】:2018-02-23 14:02:53
【问题描述】:
由于我从今天早上开始出现以下错误,因此无法部署我的应用程序。
我试过gcloud info --run-diagnostics 和gcloud components reinstall 没有太多帮助。
我尝试使用旧的Google App Engine Launcher for Windows 部署它,但遇到了同样的错误。
早些时候,它使用 gcloud 一直工作到昨天晚上(IST)。请帮忙!
我使用最新的 gcloud sdk 并更新了它的所有组件。我用的是Win10。我也尝试重新启动我的笔记本电脑。
C:\gaurav\coding\python\myapp\myapp\dist>gcloud app deploy --project=myproject --version 1 --verbosity=info ./app.yaml
INFO: Refreshing access_token
ERROR: gcloud crashed (SSLHandshakeError): [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
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
C:\gaurav\coding\python\myapp\myapp\dist>
诊断输出。
C:\gaurav\coding\python\myapp\myapp\dist> gcloud info --run-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
ERROR: Reachability Check failed.
Cannot reach https://accounts.google.com (SSLHandshakeError)
Cannot reach https://cloudresourcemanager.googleapis.com/v1beta1/projects (SSLHandshakeError)
Cannot reach https://www.googleapis.com/auth/cloud-platform (SSLHandshakeError)
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)? n
ERROR: Network diagnostic (0/1 checks) failed.
C:\gaurav\coding\python\myapp\myapp\dist>
虽然gcloud info --run-diagnostics 抱怨这三个 URL 不可访问。我可以从网络浏览器打开它们。
【问题讨论】:
标签: python-2.7 google-app-engine gcloud