Re: I am getting 409 Conflict error during deployment

468 views
Skip to first unread message

Matthew Blain

unread,
Jun 27, 2012, 7:08:38 PM6/27/12
to Google App Engine
Hi,
This is probably a known issue we should have fixed soon. It relates
to the new feature where we raised the Application Code Limits from
150MB/version to 1 GB/application.

--Matthew

On Jun 27, 12:29 am, openentry <openent...@gmail.com> wrote:
> *Here is the full deployment process console message*
> *
> *
> ------------ Deploying frontend ------------
>
> *Preparing to deploy:*
> Created staging directory at:
> 'C:\Users\Sambhu\AppData\Local\Temp\appcfg6689186614854915385.tmp'
> Scanning for jsp files.
> Compiling jsp files.
> Scanning files on local disk.
> Scanned 250 files.
> Scanned 500 files.
> Scanned 750 files.
> Scanned 1000 files.
> Scanned 1250 files.
> Scanned 1500 files.
> Scanned 1750 files.
> Scanned 2000 files.
> Scanned 2250 files.
> Scanned 2500 files.
> Scanned 2750 files.
> Initiating update.
> Cloning 1112 static files.
> Cloned 100 files.
> Cloned 200 files.
> Cloned 300 files.
> Cloned 400 files.
> Cloned 500 files.
> Cloned 600 files.
> Cloned 700 files.
> Cloned 800 files.
> Cloned 900 files.
> Cloned 1000 files.
> Cloned 1100 files.
> Cloning 1764 application files.
> Cloned 100 files.
> Cloned 200 files.
> Cloned 300 files.
> Cloned 400 files.
> Cloned 500 files.
> Cloned 600 files.
> Cloned 700 files.
> Cloned 800 files.
> Cloned 900 files.
> Cloned 1000 files.
> Cloned 1100 files.
> Cloned 1200 files.
> Cloned 1300 files.
> Cloned 1400 files.
> Cloned 1500 files.
> Cloned 1600 files.
> Cloned 1700 files.
>
> *Deploying:*
> Uploading 0 files.
> Initializing precompilation...
> Deploying new version.
>  on backend null.
> java.io.IOException: Error posting to URL:https://appengine.google.com/api/appversion/isready?app_id=goecatalog...
> 409 Conflict
> *Deployment of this version has not yet started.*
> *
> *
> I have tried deploying to a new version, updating old version as well as
> deployed after rollback but same problem, plz help.

Takashi Matsuo

unread,
Jun 27, 2012, 7:08:45 PM6/27/12
to google-a...@googlegroups.com

Hi openentry,

We're aware of this issue and working on the fix. Can you file an issue with your app-id?

Sorry for the convenience.

-- Takashi

On Jun 27, 2012 1:02 PM, "openentry" <opene...@gmail.com> wrote:
Here is the full deployment process console message

------------ Deploying frontend ------------

Preparing to deploy:
Deploying:
Uploading 0 files.
Initializing precompilation...
Deploying new version.
on backend null.
409 Conflict
Deployment of this version has not yet started.
I have tried deploying to a new version, updating old version as well as deployed after rollback but same problem, plz help.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/HPOU67iMhTIJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Matthew Blain

unread,
Jun 27, 2012, 7:15:21 PM6/27/12
to Google App Engine
The fix should now be live.

On Jun 27, 4:08 pm, Takashi Matsuo <tmat...@google.com> wrote:
> Hi openentry,
>
> We're aware of this issue and working on the fix. Can you file an issue
> with your app-id?
>
> Sorry for the convenience.
>
> -- Takashi
> On Jun 27, 2012 1:02 PM, "openentry" <openent...@gmail.com> wrote:
>
>
>
>
>
>
>
> > *Here is the full deployment process console message*
> > *
> > *
> > ------------ Deploying frontend ------------
>
> > *Preparing to deploy:*
> > *Deploying:*
> > Uploading 0 files.
> >  Initializing precompilation...
> > Deploying new version.
> >  on backend null.
> > java.io.IOException: Error posting to URL:
> >https://appengine.google.com/api/appversion/isready?app_id=goecatalog...
> > 409 Conflict
> > *Deployment of this version has not yet started.*
> > *
> > *

Baqir Rizvi

unread,
Jul 18, 2018, 3:35:16 AM7/18/18
to Google App Engine
Hello,

I am also facing the same issue while deployment:

409 Conflict
Another transaction by user morpholite is already in progress for app: b~morpholiteaua, version: 1. That user can undo the transaction with "appcfg rollback".

app engine java SDK version: 1.9.46
IDE: android studio
OS: MAC

I tried running appcfg rollback command on android studios IDE terminal as well as MAC OS terminal:

1) for my war directory i.e. .war file present in libs
./appcfg.sh -A morpholiteaua -M AUA -V 1 rollback /Users/***/Desktop/**/**/AUA/build/libs

error: Either the access code is invalid or the OAuth token is revoked.Details: invalid_grant

2) for webapp directory i.e. WEB-INF folder present in exploded-AUA directory:
./appcfg.sh -A morpholiteaua -M AUA -V 1 rollback /Users/***/Desktop/**/**/AUA/build/exploded-AUA

error: Either the access code is invalid or the OAuth token is revoked.Details: invalid_grant


I also tried by logging out from android studio in order to refresh token , also by restarting android studio using invalidate cache and restart , but nothing is working.

Please help me out.

thanks


Baqir Rizvi

unread,
Jul 18, 2018, 8:21:52 AM7/18/18
to Google App Engine
hi,

I just moved my project to windows and imported it on android studio. Now by using appcfg.cmd rollback i am able to resolve the issue.
still wondering why its not working on MAC. After running command, MAC should also prompt for user login credential similar to windows but its not prompting.

thanks

George (Cloud Platform Support)

unread,
Jul 18, 2018, 12:44:15 PM7/18/18
to Google App Engine
Hello Baquir, 

For such issues, it would be more effective to open a issue in the public issue tracker, where it may be properly followed up and fixed. 

How did you attempt deployment, what was the command or menu used? As a reference, you may have a look at the "Running, Testing, and Deploying the Backend" documentation page

Are Cloud Tools for Android Studio installed? What happens if you choose Run Build > Deploy Module to App Engine in Android Studio? 

Is this a new issue for a new project? Have you been able to deploy similar apps from the same environment previously without errors? When did you experience this issue for the first time?  

Baqir Rizvi

unread,
Jul 19, 2018, 2:00:55 AM7/19/18
to Google App Engine
I have a working project that was running successfully on app engine backend. This project was using google cloud endpoint framework 1.0 and there was an update to endpoint framework 2.0 from google that has a deadline in august 1st week 2018. I deployed to app engine multiple times via Deploy Module to App Engine in Android Studio before migrating to endpoint framework 2.0. and everything works fine.
And I have other projects also in which some are running on deprecated framework 1.0 as well as latest endpoint framework 2.0. So I thing framework is not the issue still just highlighting what I did. 
Now, on 17 july for project with app_id "morpholiteaua" i decided to deploy with latest cloud endpoint framework 2.0. I made the desired changes and hit Deploy Module to App Engine in Android Studio. It started deploying but at 99% deployment got stuck. I waited for 5 minutes but still it remain stuck at 99% . I clicked cross button on "tab" and stopped the deployment. After that whenever I tried deployment using  Deploy Module to App Engine in Android Studio , I got "WARNING: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=morpholiteaua&version=1&
409 Conflict
Another transaction by user morpholite is already in progress for app: b~morpholiteaua, version: 1. That user can undo the transaction with "appcfg rollback".


I have app engine sdk 1.9.46 installed inside my "./gradle" directory. That has appcfg.sh file.

I tried doing rollback using this appcfg file but getting error: Either the access code is invalid or the OAuth token is revoked.Details: invalid_grant.

Then I shifted to android studio on windows, and imported older version of same project and tried to deploy using Deploy Module to App Engine in Android Studio. but again got the same error 409 conflict.

Then I tried rollback on windows using android studio's terminal by running "appcfg.cmd" , it prompt for google login, on success, it printed a code that need to be pasted on terminal. After that rollback got success.

I deployed again on windows and got success. Now I can deploy both on MAC as well as on windows.
During this issue period server keep giving http code 503

Yes, this issue is for only this project, but only this project uses app-engine-sdk 1.9.46.
Other project was working.

Thats the step by step detail.



George (Cloud Platform Support)

unread,
Jul 19, 2018, 11:32:12 AM7/19/18
to Google App Engine
To properly follow up this problem, we have created a new issue in the Public Tracker. 

This discussion group is oriented more towards general opinions, trends and issues of general nature touching the app engine. It is more effective if you follow the Public Tracker issue, to keep updated with developments and fixes. 
Reply all
Reply to author
Forward
0 new messages