gpt4 book ai didi

google-app-engine - Google App Engine SSL 证书错误

转载 作者:行者123 更新时间:2023-12-05 05:21:16 25 4
gpt4 key购买 nike

我正在使用 IntelliJ IDE,我已经安装了 google cloud sdk、google app engine sdk、python。但是当我试图通过 ItelliJ>>工具>>google app engine for php >> upload app engine php app。但我收到这个错误:

    Traceback (most recent call last):
File "C:/Program Files (x86)/Google/google_appengine/appcfg.py", line 133, in <module>
run_file(__file__, globals())
File "C:/Program Files (x86)/Google/google_appengine/appcfg.py", line 129, in run_file
execfile(_PATHS.script_file(script_name), globals_)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5521, in <module>
main(sys.argv)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5512, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2975, in Run
self.action(self)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5168, in __call__
return method()
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3900, in Update
self._UpdateWithParsedAppYaml(appyaml, self.basepath)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3921, in _UpdateWithParsedAppYaml
updatecheck.CheckForUpdates()
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\sdk_update_checker.py", line 245, in CheckForUpdates
runtime=runtime))
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc_httplib2.py", line 246, in Send
url, method=method, body=payload, headers=headers)
File "C:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__init__.py", line 1584, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "C:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__init__.py", line 1332, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "C:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__init__.py", line 1268, in _conn_request
conn.connect()
File "C:\Program Files (x86)\Google\google_appengine\lib\httplib2\httplib2\__init__.py", line 1037, in connect
raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)

Process finished with exit code 1

此路径上有可用的证书文件:google_appengine\lib\cacerts\cacerts.txt

我还使用 gcloud shell 进行了身份验证并设置了正确的项目。并在 ItelliJ app.yml 中设置相同的项目 ID。

谁能帮我解决这个问题。

谢谢,

最佳答案

在将 GAE SDK 从 1.9.49(工作正常)升级到当前最新的 1.9.51< 后尝试运行开发服务器时,我遇到了类似的错误(在 linux 上)/.

在深入研究 SO 并找到重命名/删除 cacerts.txt 文件的建议后,我尝试了与您提到的文件相同的文件,但没有帮助 - 弹出了其他一些相关错误。

所以我只是从 1.9.49 SDK 复制了相应的 cacerts.txt 文件,然后一切又正常了。

关于google-app-engine - Google App Engine SSL 证书错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43221963/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com