Ignoring invalid login cookie: true

39 views
Skip to first unread message

NP

unread,
Aug 5, 2016, 1:18:28 AM8/5/16
to Google App Engine

Hello,


Since upgrading to GAE release: "1.9.40", I now the see entry below in my log console (development server)


>>>>>>> WARNING  2016-08-05 05:04:05,754 login.py:99] Ignoring invalid login cookie: true <<<<<<


This wasn't showing up before I did the migration to 1.9.40. Anybody know what this means?


I searched for login.py (this is an app engine file) and I couldn't find the message in the file



NP

unread,
Aug 5, 2016, 1:28:05 AM8/5/16
to Google App Engine
In addition, I just noticed that I can't sign in again as administrator in development server for URLs that were secured in app.yaml using #  login: admin

Previously, I would get a popup with email - te...@example.com and a checkbox saying 'sign in as administrator' and ticking this would emulate my signing in as an administrator. This is no longer working

Adam (Cloud Platform Support)

unread,
Aug 7, 2016, 6:03:51 PM8/7/16
to Google App Engine
This just means your browser is still trying to use the old stored login cookie from the previous SDK version. Clearing your browser's cookies (specifically the cookie named 'dev_appserver_login' for localhost) should fix this.

Adam (Cloud Platform Support)

unread,
Aug 7, 2016, 6:12:24 PM8/7/16
to Google App Engine
Also, a tip for locating text in a file if you are on a Unix-y system like Linux or MacOS, is to use grep:

$ cd /path/to/appengine_sdk
$ grep
-rn 'Ignoring invalid login cookie'

google
/appengine/tools/devappserver2/login.py:99:      logging.warning('Ignoring invalid login cookie: %s', cookie_value)
Reply all
Reply to author
Forward
0 new messages