Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google app engine launcher: Invalid username or password

I've download google app engine (python) for windows and install it. Then I went to console.developers.google.com/project and create new project. After that, I launched google app engine launcher, create new application and named it as project I have recently create. I click on deploy and constantly getting this error:

  03:35 PM Application: udacity-hello-pozdrav; version: 1
03:35 PM Host: appengine.google.com
 03:35 PM 
Starting update of app: udacity-hello-pozdrav, version: 1
03:35 PM Getting current resource limits.
Password for t******.****@gmail.com: Invalid username or password.
2014-09-06 15:35:56,690 ERROR appcfg.py:2411 An error occurred processing file '': HTTP Error     401: Unauthorized. Aborting. 
  Error 401: --- begin server output ---
Must authenticate first.
  --- end server output ---
2014-09-06 15:35:56 (Process exited with code 1)

You can close this window now.

I've read about appcfg.py but when I enter it in cmd, It says that it's not recognized.

like image 223
Error Avatar asked Sep 06 '14 14:09

Error


2 Answers

Would be much better if you will use appcfg.py with --oauth2 flag. Like appcfg.py --oauth2 update /path/to/your/app. For the first time you will see the browser window where you'll need to allow access to your account. Then you can deploy without entering any credentials and without confirmations. This will work even with 2-step authentication turned on.

like image 175
Dmytro Sadovnychyi Avatar answered Sep 23 '22 23:09

Dmytro Sadovnychyi


The "Invalid username or password" error is due to Google security protection. To overcome this error message and be able to deploy from the Launcher, go to your Google Account Settings, then enable "Access for Less Secure Apps" under Security Check Up.

like image 43
Jiangbin Yang Avatar answered Sep 20 '22 23:09

Jiangbin Yang