I've recently become unable to deploy an AppEngine project using the 
AppEngine Maven plugin's 'appengine:update' target. This has worked for me 
previously, but just today it seems to be failing for multiple projects. 
I've reviewed the files generated during my maven build process -- they all 
look fine to me -- the appengine-application.xml and appengine-web.xml both 
look correct, all of the files are where I expect them, etc. 


[INFO] Google App Engine Java SDK - Updating Application
[INFO] 
[INFO] Retrieving Google App Engine Java SDK from Maven
[INFO] Updating Google App Engine Application
[INFO] Running -A app-177622 --oauth2 update 
/......./src/web/app-ear/target/app-app-ear-4
Reading application configuration data...
Processing module default
Oct 28, 2017 1:02:30 PM com.google.apphosting.utils.config.IndexesXmlReader 
readConfigXml
INFO: Successfully processed 
/......./src/web/app-ear/target/app-app-ear-4/app-app-4.war/WEB-INF/datastore-indexes.xml
Ignoring application.xml context-root element, for details see 
https://developers.google.com/appengine/docs/java/modules/#config


Beginning interaction for module default...
0% Created staging directory at: 
'/var/folders/sj/1g22m18516v4g1nml657ly380000gn/T/appcfg2859224178009721962.tmp'
5% Scanning for jsp files.
8% Generated git repository information file.
20% Scanning files on local disk.
25% Initiating update.
Oct 28, 2017 1:02:32 PM 
com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.
This is try #0
Oct 28, 2017 1:02:33 PM 
com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.
This is try #1
Oct 28, 2017 1:02:34 PM 
com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.
This is try #2
Oct 28, 2017 1:02:35 PM 
com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.
This is try #3

com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.

Unable to update app: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.

Please see the logs 
[/var/folders/sj/1g22m18516v4g1nml657ly380000gn/T/appcfg7918010232880723505.log]
 
for further information.

The log file referenced above contains this:
Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app-177622&version=4&;
500 Internal Server Error
Server Error (500)A server error has occurred.

        at 
com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:371)
        at 
com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:317)
        at 
com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:296)
        at 
com.google.appengine.tools.admin.LoggingClientDeploySender.send(LoggingClientDeploySender.java:47)
        at 
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:1134)
        at 
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:747)
        at 
com.google.appengine.tools.admin.AppVersionUpload.uploadFilesTransaction(AppVersionUpload.java:221)
        at 
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:197)
        at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:580)
        at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:65)
        at 
com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1526)
        at 
com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:393)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:216)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:116)
        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:112)
        at 
com.google.appengine.appcfg.AbstractAppCfgMojo.executeAppCfgCommand(AbstractAppCfgMojo.java:264)
        at com.google.appengine.appcfg.Update.execute(Update.java:32)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
com.google.appengine.tools.admin.AdminException: Unable to update app: 
Error posting to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app
-177622&version=4&
500 Internal Server Error
Server Error (500)A server error has occurred.

        at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:586)
        at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:65)
        at 
com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1526)
        at 
com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:393)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:216)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:116)
        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:112)
        at 
com.google.appengine.appcfg.AbstractAppCfgMojo.executeAppCfgCommand(AbstractAppCfgMojo.java:264)
        at com.google.appengine.appcfg.Update.execute(Update.java:32)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: com.google.appengine.tools.admin.HttpIoException: Error posting 
to URL: 
https://appengine.google.com/api/appversion/create?module=default&app_id=app
-177622&version=4&
500 Internal Server Error
Server Error (500)A server error has occurred.

        at 
com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:371)
        at 
com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:317)
        at 
com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:296)
        at 
com.google.appengine.tools.admin.LoggingClientDeploySender.send(LoggingClientDeploySender.java:47)
        at 
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:1134)
        at 
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:747)
        at 
com.google.appengine.tools.admin.AppVersionUpload.uploadFilesTransaction(AppVersionUpload.java:221)
        at 
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:197)
        at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:580)
        ... 30 more


I ran across this post (https://issuetracker.google.com/issues/68317095) 
and tried disabling lifecycle management on my staging bucket, to no avail. 
And nothing else I've run across has been helpful. 

Any thoughts on what could be going wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e8e51a90-3c0b-404f-9ff4-272a9c2d7836%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to