本文介绍了Google App Engine说“必须先认证”。同时尝试部署任何应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google App Engine说:必须先进行身份验证。而尝试部署任何应用程序:

$ my $ / my_acc / lyapapam /

应用:lyapapam;版本:1.
服务器:appengine.google.com。
扫描本地磁盘上的文件。
扫描了500个文件。
扫描了1000个文件。
启动更新。
电子邮件地址:< email_here> @ gmail.com
< email_here>< gmail.com的密码:
错误401:---开始服务器输出---
必须首先认证。
---结束服务器输出---

我们在任何应用程序并在我们的任何开发者账户下使用



这就是我们所安装的:

  Python  -  2.5.5 App Engine SDK  -  1.3.2 
PIL - 1.1.7 ssl - 1.15

我该如何解决它?这是众所周知的问题吗?



更新:

在我安装了Gentoo的同一台计算机上安装Windows之后立即进行时间同步,但是我很快通过在注册表中设置RealTimeIsUniversal并在两个系统中设置与europe.pool.ntp.org的同步来解决此问题。 (顺便说一句,我的时区是EEST)

几天后,我解决了时间同步的问题appcfg.py在每行打印出后要求输入密码这真的很奇怪),我用了--passin和unix'yes'。

现在我遇到了这个问题:必须首先进行身份验证。我花了很多时间在windows和linux上以不同的组合方式使用--passin --insecure --no_cookies选项,而没有任何成功。 解决方案

很可能,假设您的帐户信誉良好,系统时钟设置不正确。这导致了您获得的认证失败。



这是上个夏季的一篇相关文章,概述了这个确切的问题(和解决方案):


Google App Engine says "Must authenticate first." while trying to deploy any app:

me@myhost /opt/google_appengine $ python appcfg.py update ~/sda2/workspace/lyapapam/

Application: lyapapam; version: 1.
Server: appengine.google.com.
Scanning files on local disk.
Scanned 500 files.
Scanned 1000 files.
Initiating update.
Email: <email_here>@gmail.com
Password for <email_here>@gmail.com:
Error 401: --- begin server output ---
Must authenticate first.
--- end server output ---

We are getting this message with any application and under any developer account available to us

That's what we have installed:

Python - 2.5.5         App Engine SDK - 1.3.2
PIL    - 1.1.7         ssl            - 1.15

How can I fix it? Is it well known problem?

Update:

I really had a problems with time synchronization immediately after installing Windows on the same computer where I have Gentoo installed, but I've fixed that soon by setting RealTimeIsUniversal in registry and setting synchronization with europe.pool.ntp.org in both systems. (BTW my time zone is EEST)

A couple of days after I solved a problem with time synchronization appcfg.py asked me for a password after each line it printed out (that was really weird) and I've used --passin and unix 'yes '.

Now I have this problem with "Must authenticate first." and I've spent a lot of time playing with --passin --insecure --no_cookies options in different combinations on both windows and linux without any success.

解决方案

it is very likely that, say you have account(s) that are in good standing, that the clock on your system is set incorrectly. this causes such authentication failures that you got.

here's a related post from last summer outlining this exact problem (and solution):http://groups.google.com/group/google-appengine-python/browse_thread/thread/a57fc866838b0b32

if your clock is correct, and you think you may have other issues, reach out to the Google App Engine developer forum for assistance:http://groups.google.com/group/google-appengine-python

这篇关于Google App Engine说“必须先认证”。同时尝试部署任何应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 02:03