GAE - unable to update: com.google.appengine.tools.admin.HttpIoException:

I tried to download my gwt test application, but I just ran into a rather strange error. Every time I try to download an application, I get the following:

Unable to update application: Error sending to URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0&500 Internal server error

Server Error (500) A server error has occurred.

See the deployment console for more information. Unable to update application: Error sending URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0&500 Internal server error

Server Error (500) A server error has occurred.

... console talks about it

Skip the GWT compilation because no changes have occurred since the last deployment. Created installation directory: 'C: \ DOCUME ~ 1 \ 1 \ LOCALS ~ 1 \ Temp \ appcfg4973998929980348825.tmp' Scan for jsp files. Scan files on a local drive. Initiation of the update. com.google.appengine.tools.admin.HttpIoException: error message URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0&500 Internal server error

Server Error (500) A server error has occurred.

Debugging information can be found in C: \ Documents and Settings \ 1 \ Local Settings \ Temp \ appengine-deploy1308974562331110258.log

... and the error log says the following:

Failed to update: com.google.appengine.tools.admin.HttpIoException: Error sending URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0&500 Internal server error

Server Error (500) A server error has occurred.

in com.google.appengine.tools.admin.AbstractServerConnection.send1 (AbstractServerConnection.java:281) in com.google.appengine.tools.admin.AbstractServerConnection.send (AbstractServerConnection.java:234) in com.google.appengine.tools .admin.AbstractServerConnection.post (AbstractServerConnection.java:213) at com.google.appengine.tools.admin.AppVersionUpload.send (AppVersionUpload.java:606) at com.google.appengine.tools.admin.AppVersionUpload.pload.loadload .java: 414) in com.google.appengine.tools.admin.AppVersionUpload.doUpload (AppVersionUpload.java:122) in com.google.appengine.tools.admin.AppAdminImpl.doUpdate (AppAdminImpl.java:328) in com. google.appengine.tools.admin.AppAdminImpl.update (AppAdminImpl.java:52) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy (AppEngineBridgeImpl.java:265)

in com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace (DeployProjectJob.java:144) in org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38) on org.eclipse.core .internal.jobs.Worker.run (Worker.java:54)

I just updated GAE from 1.5.2 to 1.6.2, but the error continues: (

How to fix it?

+4
source share
2 answers

Well ... I had to go deeper into this problem ... So, I guess I found the root of the problem: S In my application version syntax:

The appengine-web.xml file contained

<?xml version="1.0" encoding="UTF-8"?> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application>gwttestapp001</application> <version>1.0</version> </appengine-web-app> 

... but according to the manual I found , the thing is that β€œthere is no way to use dots” in writing text, so I changed the contents

 <?xml version="1.0" encoding="UTF-8"?> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application>gwttestapp001</application> <version>1</version> </appengine-web-app> 

... and all downloaded successfully :)

I hope this tip lasts one day

+14
source

The solution to this may be similar, as it worked for me:

properties start

 <appengine.app.version>10</appengine.app.version> <appengine.target.version>1.8.7</appengine.target.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 

properties end

configuration starts

 <version>${appengine.app.version}</version> 

configuration ends

In the configuration shortcut , write the version as indicated in the properties shortcut as described above. Hope this helps.

0
source

Source: https://habr.com/ru/post/1395453/


All Articles