I'm trying to deploy a fairly large app over an unfortunately fairly slow internet connection from within Eclipse. After something like 15-30 minutes during the file-upload, the deploy process aborts with a 401 Unauthorized (Invalid OAuth Token) error. Is this a timeout on some login-cookie, or am I doing something else wrong?
Workaround: Luckily AppEngine is smart enough to not re-upload identical files, so all I need to do is an "appcfg rollback" and try to deploy again. Eventually all files are uploaded and everything is fine. Just really annoying...
Thanks,
Markus
This happened to me as well. Multiple failures uploading 3000+ files after I localized & code split my GWT application.
My solution is to define an External Tool to launch appcfg.cmd and upload that way.
Run menu | External Tools | External Tools Configurations...
Location: ...\appengine-java-sdk-1.7.0\bin\appcfg.cmd
Working Directory: ${project_loc}
Arguments: update ./war
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With