liang860908 / apjp

Automatically exported from code.google.com/p/apjp
0 stars 0 forks source link

gae平台无法上传app id,不知错误在哪里? #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
其中xxxxxx是自己id,看不明白还望高手们赐教指导,不甚感激
!!

C:\Users\Administrator>F:

F:\>cd appengine-java-sdk-1.7.5\bin

F:\appengine-java-sdk-1.7.5\bin>appcfg update F:\APJP\APJP_REMOTE_JAVA_APPENGINE
-1.0.0\war\
Reading application configuration data...
三月 10, 2013 8:05:38 下午 
com.google.apphosting.utils.config.AppEngineWebXmlRea
der readAppEngineWebXml
INFO: Successfully processed F:/APJP/APJP_REMOTE_JAVA_APPENGINE-1.0.0/war\WEB-IN
F/appengine-web.xml
三月 10, 2013 8:05:38 下午 
com.google.apphosting.utils.config.AbstractConfigXmlR
eader readConfigXml
INFO: Successfully processed F:/APJP/APJP_REMOTE_JAVA_APPENGINE-1.0.0/war\WEB-IN
F/web.xml
Beginning server interaction for freerun-01...
0% Created staging directory at: 'C:\Users\ADMINI~1\AppData\Local\Temp\appcfg871
0667399898743634.tmp'
5% Using java7 runtime: false
8% 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=xxxxxxxxx&version=1&
404 Not Found
This application does not exist (app_id=u'xxxxxxxxx').

Unable to update app: Error posting to URL: https://appengine.google.com/api/app
version/create?app_id=freerun-01&version=1&
404 Not Found
This application does not exist (app_id=u'xxxxxxxxxx').

Please see the logs [C:\Users\ADMINI~1\AppData\Local\Temp\appcfg2349032677119108
608.log] for further information.

F:\appengine-java-sdk-1.7.5\bin>

Original issue reported on code.google.com by a.sheng1...@gmail.com on 10 Mar 2013 at 12:14

GoogleCodeExporter commented 9 years ago
你把F:\APJP\APJP_REMOTE_JAVA_APPENGINE-1.0.0\war\最后war后面的\去掉试�
��。

Original comment by zdcs9...@gmail.com on 10 Mar 2013 at 1:18

GoogleCodeExporter commented 9 years ago
感谢上面这位朋友!不过还是不行诶~如下:

C:\Users\Administrator>f:

F:\>cd appengine-java-sdk-1.7.5\bin

F:\appengine-java-sdk-1.7.5\bin>appcfg update F:\APJP\APJP_REMOTE_JAVA_APPENGINE
-1.0.0\war
Reading application configuration data...
三月 10, 2013 9:55:01 下午 
com.google.apphosting.utils.config.AppEngineWebXmlRea
der readAppEngineWebXml
INFO: Successfully processed F:/APJP/APJP_REMOTE_JAVA_APPENGINE-1.0.0/war\WEB-IN
F/appengine-web.xml
三月 10, 2013 9:55:01 下午 
com.google.apphosting.utils.config.AbstractConfigXmlR
eader readConfigXml
INFO: Successfully processed F:/APJP/APJP_REMOTE_JAVA_APPENGINE-1.0.0/war\WEB-IN
F/web.xml
Beginning server interaction for xxxxxxx id...

java.net.ConnectException: Connection timed out: connect
Unable to update app: Connection timed out: connect
Please see the logs [C:\Users\ADMINI~1\AppData\Local\Temp\appcfg6387497705321233
25.log] for further information.

F:\appengine-java-sdk-1.7.5\bin>

Original comment by a.sheng1...@gmail.com on 10 Mar 2013 at 2:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
客气了,没事。
你把原有的的文件清除后重新解压,按步骤再试试F:\appengine-j
ava-sdk-1.6.5\bin>appcfg update  F:\APJP\APJP_REMOTE_JAVA_APPENGINE\war
我也碰到过,但是把war后面的\去除后,上传部署成功了。

Original comment by zdcs9...@gmail.com on 11 Mar 2013 at 4:01

GoogleCodeExporter commented 9 years ago
问题原因: "Unable to update: java.net.ConnectException: Connection timed 
out: connect" (more information: appcfg.log)
解决方法多样,但没有一种是简单的。:(

限于时间有限,我只是将电信换到移动的wlan。
success.log中前面两个失败的,用的是电信的网路。
最后一个成功的是移动的wlan。
细心的朋友或许发现后面两个加个参数"--use_java7", 
放心APJP可以运行于both Java6 and Java7, so it does not matter at all.

总结下,不是个人操作上的问题,是GFW的fault。要么你像我一
样可以使用多个ISPs(网络服务商),要么就是手边有VPN临时�
��一下,要是都没的话,就换用其他的PaaS吧。当然由于地区��
�问题,GFW的干扰可能还不一样的。

Original comment by goknmuse on 11 Mar 2013 at 5:21

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by goknmuse on 11 Mar 2013 at 2:32