App Engine 批量数据上传 - 身份验证错误
当我尝试使用 appcfg.py 上传数据时,无论我的登录详细信息完全正确,我都会收到身份验证错误。
appcfg.py upload_data --config_file=bulkloader.yaml --filename=/output.csv --kind=AutoCompleteIndex .
Application: qwertifyy; version: dev.
Uploading data records.
[INFO ] Logging to bulkloader-log-20100808.205421
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 250000 bytes/second
[INFO ] HTTP connections: 8/second
[INFO ] Entities inserted/fetched/modified: 20/second
[INFO ] Batch Size: 10
[INFO ] Opening database: bulkloader-progress-20100808.205421.sql3
[INFO ] Connecting to qwertifyy.appspot.com/remote_api
Please enter login credentials for qwertifyy.appspot.com
Email: [email protected]
Password for [email protected]:
[INFO ] Authentication Failed
问题可能是什么?
When I try to upload data using appcfg.py I get an authentication error regardless of my login details being completely correct.
appcfg.py upload_data --config_file=bulkloader.yaml --filename=/output.csv --kind=AutoCompleteIndex .
Application: qwertifyy; version: dev.
Uploading data records.
[INFO ] Logging to bulkloader-log-20100808.205421
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 250000 bytes/second
[INFO ] HTTP connections: 8/second
[INFO ] Entities inserted/fetched/modified: 20/second
[INFO ] Batch Size: 10
[INFO ] Opening database: bulkloader-progress-20100808.205421.sql3
[INFO ] Connecting to qwertifyy.appspot.com/remote_api
Please enter login credentials for qwertifyy.appspot.com
Email: [email protected]
Password for [email protected]:
[INFO ] Authentication Failed
What could the problem be?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为您正在使用 OpenID?如果是这样,则 Remote_api 似乎不适用于 OpenID:
http://blog.notdot.net/2010/06/Using-remote-api-with-OpenID-authentication
I think you are using OpenID? If so, it appears that remote_api doesn't work with OpenID:
http://blog.notdot.net/2010/06/Using-remote-api-with-OpenID-authentication
我在尝试使用“Google Apps”帐户进行身份验证时遇到此问题。
通过设置另一个可与 Google App Engine 一起使用的“Google”帐户并使用该帐户进行身份验证来解决此问题。您可以从“仪表板”>“仪表板”执行此操作管理>权限。
I encounter this issue when trying to authenticate with a "Google Apps" account.
Get around the issue by setting up another "Google" account that can be used with Google App Engine and using this to authenticate with instead. You can do this from Dashboard > Administration > Permissions.
您使用了错误的选项。我通过指定目录遇到了同样的问题。
过程中有很多陷阱。在花了很多时间在如此简单的事情上之后,我写了一个教程来帮助人们快速、轻松地完成整个过程。
http://heliodorj.blogspot.com/2011 /09/google-app-engine-bulk-download-and.html
You're using the wrong options. I ran into the same problem by specifying the directory.
There are plenty of pitfalls in the process. After spending much time on something so elementary, I wrote a tutorial to get people through the process quickly and without any fuss.
http://heliodorj.blogspot.com/2011/09/google-app-engine-bulk-download-and.html