Closed GoogleCodeExporter closed 9 years ago
1. 错误提示: "com.google.appengine.tools.admin.HttpIoException: Error
posting to URL: https://
appengine.google.com/api/appversion/getresourcelimits?app_id=gef90u5JwyyKDfpr&ve
rsion=1&
400 Bad Request"
2. 原因: 从 "app_id=gef90u5JwyyKDfpr"
中可以看出你的war\WEB-INF\appengine-web.xml
文件中"<application>gef90u5JwyyKDfpr</application>",而"gef90u5JwyyKDfpr"��
�是一个有效的app_id. "Sorry, "gef90u5JwyyKDfpr" is invalid. Application
Identifier must be between 6 and 30 characters. Lowercase letters, digits, and
hyphens are acceptable characters. Leading and trailing hyphens are
prohibited." 参考附图Invalid app_id.jpg。
3.
而你填写于war\WEB-INF\appengine-web.xml中的"<application>gef90u5JwyyKDfpr
</application>","gef90u5JwyyKDfpr"
恰好为16个字符,和APJP_KEY的长度一样。于是,我就明白了的�
��你就是未认真阅读 InstallGuideOnGAE 。
4. war\WEB-INF\APJP_REMOTE.properties
文件中相应位置规范填写好APJP_KEY,war\WEB-INF\appengine-web.xml
文件中相应位置规范填写好valid app_id。具体请自行再看
InstallGuideOnGAE
Original comment by goknmuse
on 2 Nov 2012 at 9:27
Solved.
Original comment by goknmuse
on 2 Nov 2012 at 9:28
Attachments:
F:\appengine-java-sdk-1.7.3\bin>appcfg update F:\APJP\APJP_REMOTE_JAVA_APPENGIN
E\war\
Reading application configuration data...
十一月 03, 2012 8:53:37 上午
com.google.apphosting.utils.config.AppEngineWebXmlR
eader readAppEngineWebXml
INFO: Successfully processed F:/APJP/APJP_REMOTE_JAVA_APPENGINE/war\WEB-INF/appe
ngine-web.xml
十一月 03, 2012 8:53:37 上午
com.google.apphosting.utils.config.AbstractConfigXm
lReader readConfigXml
INFO: Successfully processed F:/APJP/APJP_REMOTE_JAVA_APPENGINE/war\WEB-INF/web.
xml
Beginning server interaction for cheuk0a...
0% Created staging directory at: 'C:\Users\ADMINI~1\AppData\Local\Temp\appcfg111
2562264651311666.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://
appengine.google.com/api/appversion/create?app_id=cheuk0a&version=1&
404 Not Found
This application does not exist (app_id=u'cheuk0a').
Unable to update app: Error posting to URL: https://appengine.google.com/api/app
version/create?app_id=cheuk0a&version=1&
404 Not Found
This application does not exist (app_id=u'cheuk0a').
Please see the logs [C:\Users\ADMINI~1\AppData\Local\Temp\appcfg6613072937643191
619.log] for further information.
F:\appengine-java-sdk-1.7.3\bin>
对的,我是没认真看要填的是appid
但是这个是什么原因呢?
我填的是cheuk0a,这个是存在的,以前是用做goagent的,不用先
清理掉吧
但是它这里就说This application does not exist (app_id=u'cheuk0a').
为什么前后加些东西进去呢?
Original comment by jor...@gmail.com
on 3 Nov 2012 at 12:58
1. 问题: "com.google.appengine.tools.admin.HttpIoException: Error posting to
URL: https://
appengine.google.com/api/appversion/create?app_id=cheuk0a&version=1&
404 Not Found
This application does not exist (app_id=u'cheuk0a')."
2. 出现此问题的原因我Google后,总结下应该有两到三个的:
a. app_id=u'cheuk0a'确实不存在
b. app_id=u'cheuk0a' 存在,但是你没有权限更新此app。
3. 为什么会没有权限更新app的呢?
a. 你可能有多个Google Account,而app_id=u'cheuk0a'不是你cookies中保留登陆的那个Google Account。从你的log中可以看出,"appcfg update <app_path>" 过程中根本就没有输入帐号和密码的。并且"appcfg update <app_path>" 默认是保留登陆信息的。"appcfg --no_cookies update <app_path>" 才是不保留cookies的。
解决方法: 执行"appcfg -e EMAIL --no_cookies update <app_path>", EMAIL为你创建app_id=u'cheuk0a'的Email。
b. 存在于多人协作的管理App的场合。某人不具有此权限。(与你的情形无关。)
4. 解答思路来源参考自
http://stackoverflow.com/questions/10646461/getting-error-404-application-not-fo
und-error-when-deploying-to-google-app-engi 无需你自己看此文的。
5.
我没有遇到才问题的,我也是Google加自己的一点经验所得,��
�以只是可能解决你的问题的。若能,请回复"Solved";若不能��
�继续回复。
Original comment by goknmuse
on 3 Nov 2012 at 4:58
Original issue reported on code.google.com by
jor...@gmail.com
on 2 Nov 2012 at 7:22