Reputation: 12752
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
Upvotes: 5
Views: 1775
Reputation: 4495
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
Upvotes: 1