Yeah, the accounts API will NOT WORK with the local implementation. You need
to either deploy your app or stub it out when developing locally.

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



On Tue, Jun 14, 2011 at 9:31 AM, dbldown768 <[email protected]> wrote:

> Trying to get through this problem still. The call from the emulator
> never hit my breakpoint in the doGet() method of the servlet.  It
> reason being is because my code never receives a valid cookie back
> from the _ah login request.  The only thing contain in the headers of
> an array of size 16 is shown below
>
> [Content-Type: text/html; charset=iso-8859-1, Content-Length: 829,
> Server: Jetty(6.1.x), null, null, null, null, null, null, null, null,
> null, null, null, null, null]
>
> There are no valid cookies for the emulator to continue to use to
> proceed with the additional api request.  Any ideas why?
>
> On May 24, 9:32 am, dbldown768 <[email protected]> wrote:
> > I know for sure last night, that no cookie was being sent back in the
> > header.  The only way I was able to get a cookie sent back to me is if I
> > used the combination of domain and localhost (i.e.
> http://domain.appspot.com/_ah/login?continue=http://10.0.2.2:8888/api...)
> > or something similar.  This was because the domain was sending me back a
> > cookie that I was then trying to use to authenticate against the
> localhost.
> >  I'm not sure if this is correct, but just using the 10.0.2.2:8888address
> > never sent back a proper cookie.  I also noticed in the Developer tools
> > ->Resources of Chrome that the cookie names appear different between
> domain
> > and localhost.  One was dev_*something* the other was the ASCID cookie -
> if
> > that matters.
> >
> > I will debug further to get all the header details of the request.
>
> --
> 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.
>
>

-- 
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.

Reply via email to