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&;
 
<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.



-- 
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 [email protected].
To post to this group, send email to [email protected].
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/77c1e2a9-50f6-4e3c-a2bf-b78861b15d38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to