Search code examples
eclipsegoogle-app-engineappcfg

Unable to connect to my GAE account through appcfg


I was surprized not to be able to connect to my account through appcfg my password was right, butthe app ansered it's not.

When I change the google setting : https://www.google.com/settings/security/lesssecureapps to make Access for less secure apps enabled, it worked.

Is there something I'm missing or must i have this security hole open to be able to use appcfg?

Please notice I'm using eclipse to publish my apps, and the eclipse plugin connects with even if the accont security is safe, but calling appcfg from the command line for roll back was the operation that failed...

I thought eclipse uses the command line to upload my app? I'm obviously wrong.

So the question is: is there something I have to do to be able to have Access for less secure apps disabled and use appcfg ?


Solution

  • Workaround is to use an OAuth2 token instead of using password based authentication.It is more convenient.

    just add the option --oauth2 before the update, you get a key which you paste in for appcfg