The Guestbook demo doesn't use OpenID for authentication. Take a look at this article:
http://code.google.com/appengine/articles/openid.html On Sun, Aug 15, 2010 at 2:30 AM, Simpatico <[email protected]> wrote: > If I change the authentication option to Google API it works. > > On Aug 13, 9:09 pm, "Ikai L (Google)" <[email protected]> wrote: > > Do the log files provide any information? What's the URL to your > > application? > > > > > > > > On Thu, Aug 12, 2010 at 3:48 AM, Simpatico <[email protected]> > wrote: > > > I've deployed the guestbook as it's provided in the demos folder but > > > when I click to sign in I get: > > > > > Error: Server Error > > > The server encountered an error and could not complete your request. > > > > > If the problem persists, please report your problem and mention this > > > error message and the query that caused it. > > > > > This is essentially what I've been getting throughout. Indeed the > > > result is the same for the sample code: > > > > > public class GuestbookServlet extends HttpServlet { > > > public void doGet(HttpServletRequest req, HttpServletResponse > > > resp) > > > throws IOException { > > > UserService userService = UserServiceFactory.getUserService(); > > > User user = userService.getCurrentUser(); > > > > > if (user != null) { > > > resp.setContentType("text/plain"); > > > resp.getWriter().println("Hello, " + user.getNickname()); > > > } else { > > > > > resp.sendRedirect(userService.createLoginURL(req.getRequestURI())); > > > } > > > } > > > } > > > > > I suspect it has to do with bug: > > > > >http://code.google.com/p/googleappengine/issues/detail?id=3552&can=5&. > .. > > > > > The bottom line is that I cannot deploy my application! > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine for Java" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine-java%[email protected]> > <google-appengine-java%[email protected]<google-appengine-java%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > Blog:http://googleappengine.blogspot.com > > Twitter:http://twitter.com/app_engine > > Reddit:http://www.reddit.com/r/appengine > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
