Hello World with Login: required fails

16 views
Skip to first unread message

Alex

unread,
Jun 22, 2011, 11:02:48 AM6/22/11
to google-a...@googlegroups.com
Hi,

I have created a new app and at app creation time I selected authentication via Google Apps for users of my google apps domain only. I started it both locally and on appspot.com, both worked fine.
Then I changed the app.yaml by adding a new line with login: required, the file now looks like this:
application: tqimport
version: 1
runtime: python
api_version: 1

handlers:
- url: .*
  script: main.py
  login: required

I did not touch the python code at all.

When I run it locally it works fine. When I deploy it the deployment works fine, too. However, when I run the app on appspot.com it returns 500 Error: Server Error.

Do you have any idea what I did wrong? Thanks a lot!

Best regards,
Alex

Nick Johnson (Google)

unread,
Jun 23, 2011, 1:03:23 AM6/23/11
to google-appengine
Hi Alex,

Have you looked at the logs in the admin console? A 500 is what your app returns if an exception occurs - it won't print the exception stacktrace to the response.

-Nick Johnson

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ajdJ_AbtdMgJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
Nick Johnson, Developer Programs Engineer, App Engine


Reply all
Reply to author
Forward
0 new messages