Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
458 views
in Technique[技术] by (71.8m points)

php - Google App Engine - Deploy failing with Error 1: Unauthorised

I'm trying to get my first (PHP) application working. It works OK in Google App Engine Launcher, but when I try to deploy it I get the following message:

2014-08-19 15:37:58 Running command: "['C:\Program Files\Python\pythonw.exe', '-u', 'C:\Program Files\Google\google_appengine\appcfg.py', '--no_cookies', u'--email=by@onetel.com', '--passin', 'update', 'C:\Documents and Settings\Barry\My Documents\test\high-winter-668']"
03:38 PM Application: high-winter-668; version: 1
03:38 PM Host: appengine.google.com
03:38 PM 
Starting update of app: high-winter-668, version: 1
03:38 PM Getting current resource limits.
Password for b...@...com: Invalid username or password.
2014-08-19 15:38:08,967 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 ---

I can login OK to the application I created at appengine.google.com

and I am using the right/same email address and password. I can see other topics where server/local time difference is the issue. My local PC time is the same as the time in the above error msg.

What have I got wrong?

Also: I tried using appcfg.py on the command line and ran into another issue: It errored saying I didnt have a "high-winter-668.yaml" file. So I changed the name of my "app.yaml" to "high-winter-668.yaml" - it then complained that I didnt specify a 'module" in the yaml file. Meantime Google App Engine Launcher errored say I didnt have an "app.yaml" file. Are they written by different companies!!??

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...