我应该在 JAVA 开发服务器上为 Google App Engine BulkLoader 输入哪些凭据?
我无法将数据上传到我的 GAE Java 开发服务器。 Bulkloader 要求输入密码,但没有匹配的密码:
D:\python_google_appengine>appcfg.py upload_data --config_file=bulkloader.yaml --filename=templates.csv --url=http://localhost:8080/remote_api --kind=EmailMessageTemplate --application=myappid --insecure
Uploading data records.
[INFO ] Logging to bulkloader-log-20110927.084025
[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-20110927.084025.sql3
Please enter login credentials for localhost
Email: [email protected]
Password for [email protected]:
[INFO ] Connecting to localhost:8080/remote_api
2011-09-27 08:40:44,062 WARNING appengine_rpc.py:435 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl .
Please enter login credentials for localhost
Email: Interrupted.
那么如何在 Java 开发服务器 上创建带有密码的凭据或绕过密码要求?
我从这里阅读了答案 我应该在开发服务器上为 Google App Engine BulkLoader 输入哪些凭据?以及对此问题的评论http://code.google.com/p/googleappengine/issues/detail? id=2440 但这都是关于 Python 开发服务器而不是 Java。
I can't upload data to my GAE Java dev serwer. Bulkloader asks for a password, but no password matches:
D:\python_google_appengine>appcfg.py upload_data --config_file=bulkloader.yaml --filename=templates.csv --url=http://localhost:8080/remote_api --kind=EmailMessageTemplate --application=myappid --insecure
Uploading data records.
[INFO ] Logging to bulkloader-log-20110927.084025
[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-20110927.084025.sql3
Please enter login credentials for localhost
Email: [email protected]
Password for [email protected]:
[INFO ] Connecting to localhost:8080/remote_api
2011-09-27 08:40:44,062 WARNING appengine_rpc.py:435 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl .
Please enter login credentials for localhost
Email: Interrupted.
Then how to create credentials with a password on Java dev server or bypass password requirement?
I've read answers from here Which credentials should I put in for Google App Engine BulkLoader at development server? and comments for this issue http://code.google.com/p/googleappengine/issues/detail?id=2440 but it is all about Python dev server not Java.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许这是暂时的问题。尝试重新部署应用程序,然后重新启动所有内容。使用任何电子邮件和空密码。
Maybe this is temporary issue. Try redeploying application, and restart all the stuff. Use any email and empty password.
对于 GAE 的开发服务器
(1) 使用浏览器访问 http://localhost:8080/_ah/login为了检查管理员电子邮件。默认为 [email protected]
(2)添加[email protected] --passin 到 appcfg.py 参数,然后按 Enter 键出现密码提示
(3) 应用程序 ID 的前缀为 dev~ 用于开发服务器,例如application=dev~myappid
For development server of GAE
(1) use browser to goto http://localhost:8080/_ah/login in order check admin email. The default is [email protected]
(2) add [email protected] --passin to the appcfg.py parameters and just press enter for the password prompt
(3) the application id has the prefix of dev~ for development server e.g. application=dev~myappid