gcloud应用部署中的gcloud崩溃(SSLHandshakeError) [英] gcloud crashed (SSLHandshakeError) in gcloud app deploy
问题描述
自从今天早上开始我开始遇到错误时,无法部署我的应用程序.
我在没有太大帮助的情况下尝试了gcloud info --run-diagnostics
和gcloud components reinstall
.
Unable to deploy my app as I started getting below error since today morning.
I have tried gcloud info --run-diagnostics
and gcloud components reinstall
without much help.
我尝试使用Windows的旧版Google App Engine Launcher
进行部署,但是遇到了同样的错误.
之前,它使用gcloud一直工作到昨天晚上(IST).请帮忙!
I tried to deploy it using the old Google App Engine Launcher
for Windows but faced the same error.
Earlier it worked till yesterday night (IST) using gcloud. Please help!
我正在使用最新的gcloud sdk,并更新了其所有组件.我用的是Win10.我也尝试过重新启动笔记本电脑.
I am on latest gcloud sdk and have updated all its components. I use Win10. I tried rebooting my laptop as well.
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不可访问.我可以通过网络浏览器打开它们.
Although gcloud info --run-diagnostics
complains that the three URLs are not reachable. I am able to open them from web browser.
推荐答案
我发现当使用Fiddler(用于查看网络流量)并启用解密https流量时,我收到了SSLHandshakeError.
I found that when using Fiddler (for viewing network traffic) and have decrypting https traffic enabled, then I received the SSLHandshakeError.
停止该工具(或选择不解密https流量),然后运行gcloud成功.
Stopping the tool (or choosing not to decrypt https traffic) and then running the gcloud resulted in success.
根据评论,Charles等其他Web调试代理也存在问题.
According to the comments, also a problem with other web debugging proxies such as Charles.
这篇关于gcloud应用部署中的gcloud崩溃(SSLHandshakeError)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!