Thanks for the quick reply. At least now I get what's happening under the hood ;) I will try to simplify the client id and will inform you about the result.
We are using SDK 1.4.2 Do you think that might be the problem? If so, we will try to migrate to 1.5. Thanks so far. I will post the result of simplyfing the client when I get to do it. On Wed, Jun 15, 2011 at 8:09 PM, Moishe <mois...@google.com> wrote: > First, what version of the SDK are you using? It looks like you're > using something before 1.5.0 (based on the text of the error message) > -- can you try with 1.5.0? > > Basically the logic that's happening here is: > > - the application calls create channel > - the dev appserver gins up a token consisting of a random string > plus the application-provided client id > - the dev appserver adds this token to a hashmap of token -> clientid > - the dev appserver returns the token > > Later, when the client connects, this happens: > > - the client makes a post to /_ah/channel/dev? > command=connect&channel={{token}} > - the dev appserver intercepts this request and looks up the > "channel" query param in the hashmap of token -> clientid > > What seems to be happening in your case is that the dev appserver > can't extract the "channel" query param based on the "application key > is null" error. All I can think of is that there's something in the > token that's preventing the query params from being parsed correctly. > As a test, can you try simplifying your client id? (I can't read the > whole thing because Groups thinks it's an email address and elides it) > > -- > 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 > google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.