Error 401 - Invalid username or password - google-app-engine

when I enter email and password to deploy in google app engine launcher the following error message: "Invalid username or password.
08/19/2014 19: 38: 16,573 appcfg.py:2411 ERROR An error occurred processing file ': HTTP Error 401: Unauthorized. Aborting.
Error 401: --- begin server output --- "and the new url xxxxxxxx.appspot.com not work.

I had this problem when I tried to deploy my go application, try to use -oauth flag :
goapp deploy -oauth myapp/
I found this solution here, and it worked for me.
I'm not sure for the other language, maybe -oauth or --oauth2 will work.

Related

heroku pg:push error with unexpected arguments - how to fix?

I am facing an issue when trying to run the command heroku pg:push postgres DATABASE_URL --app pyprodjangompz.
I get an error message saying
pg_dump: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "Usuario"
However, "Usuario" is not the name of my user in the local database. In my Docker information, it shows that the user name is "pythonpro" with password "pythonpro".
How can I resolve this issue and push my local database to Heroku?

Getting error when deploying an app into the GAE

I am trying to deploy an app into the GAE but I am getting this error:
appcfg.py -A email-1203 update test/11:25 AM Application: email-1203; version: 1
11:25 AM Host: appengine.google.com
11:25 AM
Starting update of app: email-1203, version: 1
11:25 AM Getting current resource limits.
2016-01-27 11:25:50,978 ERROR appcfg.py:2456 An error occurred processing file '': HTTP Error 403: Forbidden Unexpected HTTP status 403. Aborting.
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u's~email-1203').
--- end server output ---

Deploy app in google app engine

while deplying app in google app engine i always got following errors...
2014-08-10 03:30:58 Running command: "['C:\\Python27\\python.exe', '-u', u'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=rjt.rjtshrm94#gmail.com', '--passin', 'update', u'C:\\Users\\Rjt\\Desktop\\New folder (3)']"
03:31 AM Application: my-app-chat; version: 1
03:31 AM Host: appengine.google.com
03:31 AM
Starting update of app: my-app-chat, version: 1
03:31 AM Getting current resource limits.
Password for rjt.rjtshrm94#gmail.com: Invalid username or password.
2014-08-10 03:31:08,612 ERROR appcfg.py:2415 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting.
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---
2014-08-10 03:31:08 (Process exited with code 1)
but my emailid and password are correct....
You can close this window now.
I had the same problem and it was driving me mad. I wasn't typing the password wrong.
For me, changing a security setting, not in the app but in my Google account solved it. Go here: https://www.google.com/settings/security/lesssecureapps and "Enable" less secure devices and apps to access your data. For me, that fixed it.
Otherwise I've come accross time settings being the problem (mentioned above).
But more importantly, double-check that the name of your app, that you registered on GoogleDev, is the name that you put in the app.yaml. If it is, then hitting the dashboard in the Launcher should take you to the dashboard of your app.
See my question and answer for more information, if none of this works.

Google App Engine: An error occurred processing file '': Unauthorized. Aborting

When I try to deploy my application, I get this error: ERROR appcfg.py:2149 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting.
I provide my login and password correctly but I am not able to deploy my application.
Any solution?

GAE No route to host error

When deploying my GAE app I get the following error:
ERROR appcfg.py:2161 An error occurred processing file '': <urlopen error [Errno 65] No route to host>. Aborting.
When I try to rollback the last update I get the same error. What steps can I take to debug this?

Resources