Google app engine 尝试从Google应用程序引擎启动器部署应用程序时出现错误401
从谷歌应用程序引擎启动器启动我的第一个应用程序时遇到一些问题。我已经在App Engine网站上注册了一个帐户。单击deploy按钮后,我将deploy应用程序转到Google弹出窗口,在那里输入我在注册时提供的信息。然后我得到这个错误:Google app engine 尝试从Google应用程序引擎启动器部署应用程序时出现错误401,google-app-engine,authentication,http-status-code-401,Google App Engine,Authentication,Http Status Code 401,从谷歌应用程序引擎启动器启动我的第一个应用程序时遇到一些问题。我已经在App Engine网站上注册了一个帐户。单击deploy按钮后,我将deploy应用程序转到Google弹出窗口,在那里输入我在注册时提供的信息。然后我得到这个错误: Starting update of app: isabelleengineapp, version: 1 12:49 PM Getting current resource limits. Password for swissian@gmail.com: U
Starting update of app: isabelleengineapp, version: 1
12:49 PM Getting current resource limits.
Password for swissian@gmail.com: Use an application-specific password instead of your regular account password.
See http://www.google.com/support/accounts/bin/answer.py?answer=185833
However, now the recommended way to log in is using OAuth2. See
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#oauth
2013-01-29 12:49:22,607 ERROR appcfg.py:2203 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting.
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---
2013-01-29 12:49:22 (Process exited with code 1)
现在,我想这可能是因为我已经为我的Google帐户设置了两步验证,但我不知道除了在获取部署弹出窗口时尝试使用特定于应用程序的密码之外,该怎么办,但这不起作用。有什么想法吗 您可以尝试将
--oauth2
选项传递到appcfg.py
这是另一种身份验证方法,可以避免处理密码
这里有更多细节:我必须自己做。错误消息中有一个链接。您必须遵循它:然后在下一页生成一次性密码。您必须输入该密码才能更新AppEngine。