gpt4 book ai didi

google-app-engine - 无法使用 app-cfg 上传(部署)到 Google App Engine

转载 作者:行者123 更新时间:2023-12-02 08:30:56 24 4
gpt4 key购买 nike

我可以使用 Google App Engine Launcher 将我的文件部署(上传)到 Google App Engine,但我无法使用 appcfg 命令执行此操作。我尝试使用 --oauth2 和不使用 --oauth2。

$ $APP_ENGINE/appcfg.py --email=my.account@gmail.com --oauth2 update myapp
06:49 PM Application: myapp; version: 20141116
06:49 PM Host: appengine.google.com
06:49 PM
Starting update of app: myapp, version: 20141116
06:49 PM Getting current resource limits.
06:49 PM Scanning files on local disk.
06:49 PM Scanned 500 files.
Error 404: --- begin server output ---
This application does not exist (app_id=u'myapp').
--- end server output ---


$ $APP_ENGINE/appcfg.py --email=my.account@gmail.com update myapp
06:54 PM Application: myapp; version: 20141116
06:54 PM Host: appengine.google.com
06:54 PM
Starting update of app: myapp, version: 20141116
06:54 PM Getting current resource limits.
Password for my.account@gmail.com:
Invalid username or password.

我确信我为我的 gmail 输入了正确的密码(并且我禁用了应用程序专用密码。)但是它说我输入了错误的密码。

我有另一个 App Engine 帐户,我仍然可以为我的另一个帐户进行部署。

我想知道在为 Google App Engine 使用多个帐户时,我在凭据或指定正确帐户方面遇到了一些问题。

如何将我的应用程序部署到服务器?

谢谢,

最佳答案

我今天遇到了这个麻烦,让我耽误了 2 个小时。最终在上面的评论中找到了这个

rm ~/.appcfg_oauth2_tokens 

直接返回 AppEngineLaucher.app,它第一次运行。感谢上面的 [Daisuki Honey] 进行修复。

关于google-app-engine - 无法使用 app-cfg 上传(部署)到 Google App Engine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26964837/

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