Google app engine 尝试更新时证书不起作用

Google app engine 尝试更新时证书不起作用,google-app-engine,Google App Engine,大家好。我正在使用谷歌应用程序引擎1.6.2、Python 2.7、Windows 7x64,我创建了一个应用程序..上传了它…它成功地工作了大约一个小时。但当我今天早上试图更新时,午餐者给了我一个错误: 2012-02-20 12:26:41 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--no_coo

大家好。我正在使用谷歌应用程序引擎1.6.2、Python 2.7、Windows 7x64,我创建了一个应用程序..上传了它…它成功地工作了大约一个小时。但当我今天早上试图更新时,午餐者给了我一个错误:

2012-02-20 12:26:41 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=myemail@gmail.com', '--passin', 'update', 'D:\\Dropbox\\Google\\handmade']"
Application: bubonchikhub; version: 1
Host: appengine.google.com
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 101, in <module>
    run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 97, in run_file
    execfile(script_path, globals_)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3935, in <module>
    main(sys.argv)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3926, in main
    result = AppCfgApp(argv).Run()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2497, in Run
    self.action(self)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3692, in __call__
    return method()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2915, in Update
    self.UpdateVersion(rpcserver, self.basepath, appyaml)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2897, in UpdateVersion
    updatecheck.CheckForUpdates()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 572, in CheckForUpdates
    runtime=self.config.runtime)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 365, in Send
    f = self.opener.open(req)
  File "C:\Python27\lib\urllib2.py", line 394, in open
    response = self._open(req, data)
  File "C:\Python27\lib\urllib2.py", line 412, in _open
    '_open', req)
  File "C:\Python27\lib\urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 1207, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "C:\Program Files (x86)\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 363, in do_open
    url_error.reason.args[1])
fancy_urllib.InvalidCertificateException: Host 127.0.0.1:8888 returned an invalid certificate (_ssl.c:503: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed): 
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl
2012-02-20 12:26:43 (Process exited with code 1)

You can close this window now.


You can close this window now.
2012-02-20 12:26:41运行命令:“['C:\\Python27\\pythonw.exe','-u','C:\\Program Files(x86)\\Google\\Google\u appengine\\appcfg.py','-无cookies',u'-电子邮件=myemail@gmail.com“,”--passin”,“update”,“D:\\Dropbox\\Google\\handwide']”
应用:bubonchikhub;版本:1
主持人:appengine.google.com
回溯(最近一次呼叫最后一次):
文件“C:\Program Files(x86)\Google\Google\u appengine\appcfg.py”,第101行,在
运行\u文件(\uuuu文件,globals())
文件“C:\Program Files(x86)\Google\Google\u appengine\appcfg.py”,第97行,在run\u文件中
execfile(脚本路径,全局路径)
文件“C:\Program Files(x86)\Google\Google\U appengine\Google\appengine\tools\appcfg.py”,第3935行,在
主(系统argv)
文件“C:\Program Files(x86)\Google\Google\U appengine\Google\appengine\tools\appcfg.py”,第3926行,主目录
结果=AppCfgApp(argv).Run()
文件“C:\Program Files(x86)\Google\Google\U appengine\Google\appengine\tools\appcfg.py”,第2497行,正在运行
自我行动(self)
文件“C:\Program Files(x86)\Google\Google\u appengine\Google\appengine\tools\appcfg.py”,第3692行,在调用中__
返回方法()
更新中的文件“C:\Program Files(x86)\Google\Google\U appengine\Google\appengine\tools\appcfg.py”,第2915行
UpdateVersion(rpcserver、self.basepath、appyaml)
UpdateVersion中的文件“C:\Program Files(x86)\Google\Google\U appengine\Google\appengine\tools\appcfg.py”,第2897行
updatecheck.CheckForUpdates()
CheckForUpdate中的文件“C:\Program Files(x86)\Google\Google\U appengine\Google\appengine\tools\appcfg.py”,第572行
运行时=self.config.runtime)
文件“C:\Program Files(x86)\Google\Google\u appengine\Google\appengine\tools\appengine\u rpc.py”,第365行,发送
f=自动开启器开启(要求)
文件“C:\Python27\lib\urllib2.py”,第394行,打开
响应=自身打开(请求,数据)
文件“C:\Python27\lib\urllib2.py”,第412行,处于打开状态
"开放",
文件“C:\Python27\lib\urllib2.py”,第372行,在调用链中
结果=func(*args)
文件“C:\Python27\lib\urllib2.py”,第1207行,https\u open
返回self.do_open(httplib.HTTPSConnection,req)
文件“C:\Program Files(x86)\Google\Google\u appengine\lib\fancy\u urllib\fancy\u urllib\\u__init____.py”,第363行,在do_open中
url\u错误。原因。参数[1])
fancy_urllib.InvalidCertificateException:主机127.0.0.1:8888返回了无效的证书(_ssl.c:503:错误:14090086:ssl例程:SSL3_GET_SERVER_证书:证书验证失败):
要了解更多信息,请参阅http://code.google.com/appengine/kb/general.html#rpcssl
2012-02-20 12:26:43(流程退出,代码为1)
你现在可以关闭这个窗口了。
你现在可以关闭这个窗口了。
有人能帮忙解决这个问题吗?
Thnx提前

您的请求可能正在通过本地代理。

您需要将代理的证书粘贴到
google\u appengine/lib/cacerts/cacerts.txt
这似乎与代理服务器有关,当我运行fiddler并尝试部署时,我收到了此错误。当我关闭它时,部署工作正常

您将得到一个无效的证书错误,如 fancy_urllib.InvalidCertificateException:主机127.0.0.1:8888返回了无效的证书(_ssl.c:507:错误:14090086:ssl例程:SSL3_GET_SERVER_证书:证书验证失败):


因此,请打开您正在运行的代理服务器(假设这是您的问题),然后运行appcfg部署

升级到Python 2.7.9为我解决了这个问题。

再试一次,这种情况偶尔会发生。看起来应用程序引擎本身存在问题。一个对我有效的解决方案是删除gae证书,因为我有Python 2.7.9,但升级到2.7.13为我解决了这个问题。