Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 401 when trying to deploy app from Google App Engine Launcher

I am having some issues with launching my first app from Google App Engine Launcher. I have already signed up for an account at the App Engine site. After I click on the deploy button, I get the deploy application to Google popup where I enter in the info I gave at sign up. I then get this error:

Starting update of app: isabelleengineapp, version: 1
12:49 PM Getting current resource limits.
Password for [email protected]: Use an application-specific password instead of your regular account password.
See http://www.google.com/support/accounts/bin/answer.py?answer=185833
However, now the recommended way to log in is using OAuth2. See
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#oauth
2013-01-29 12:49:22,607 ERROR appcfg.py:2203 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting. 
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---
2013-01-29 12:49:22 (Process exited with code 1)

Now, I think that this may because I have 2 step verification set up for my Google account but I have no idea what to do other than trying using an application specific password when getting the deploying popup, but that did not work. Any ideas?!

like image 665
user2022658 Avatar asked Nov 20 '25 19:11

user2022658


1 Answers

You can try passing the --oauth2 option to appcfg.py.

This is an alternative way of authenticating that avoids having to deal with passwords.

More details here: https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Password-less_login_with_OAuth2

like image 59
Eamonn O'Brien-Strain Avatar answered Nov 23 '25 08:11

Eamonn O'Brien-Strain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!