Reputation: 47
So I've been following https://cloud.google.com/appengine/docs/python/endpoints/getstarted/backend/auth and it worked fine until I tried to upload the app.
Once i try
appcfg.py [email protected] --passin update MyBackendName
11:47 AM Application: MyApplicationID; version: 1
11:47 AM Host: appengine.google.com
11:47 AM
Starting update of app: MyApplicationID, version: 1
11:47 AM Getting current resource limits.
Password for [email protected]: ****
Invalid username or password.
Error: Machine system clock is incorrect.
2014-11-12 11:42:10,486 ERROR appcfg.py:2417 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting.
Error 401: --- begin server output ---
Must authenticate first.
The email and password is correct.
Any ideas?
Upvotes: 0
Views: 930
Reputation: 3761
I solved it enabling "access less secure apps" in google webpage https://www.google.com/settings/security/lesssecureapps
Upvotes: 6
Reputation: 6978
This is probably because the time you have set on your system is incorrect. (the timezone and stuff) Try setting it correctly and see if it works.
Upvotes: 1