Hi to all, First, I'm french, so please apologize for my english mistakes...
I'm working with Google app Engine and channel api since few weeks now, and I get some troubles when a client disconnect once the token is expired (so, about 2 hours) Once expired, trying to delete and replace the old token is unsuccessful. ( I delete the old token, and then create a new token : the client get a new token,...) I think the problem may come from the events order ("fired" / received) The google console-log shows something like : ------------------------------- 17:29:46.956 /get_token ( deleting the old token and getting a new one) 17:29:52.653 /get_username 17:29:52.661 /_ah/channel/connected/ 17:30:09.243 /_ah/channel/disconnected/ ( <<that one make the bug ) ------------------------------- and my javascript-log shows : ------------------------------- #6# [17:29:51:890] *onError* fired! token is: AHRlWrrWd6... #7# [17:29:51:896] *onClose event* fired ! #7c# [17:29:51:909] *onClose event* trying to reconnect... #1# [17:29:51:910] getting token... #7# [17:29:51:910] *onClose event* fired ! ( << is about the "17:30:09.243 event" from the google console-log ) #2# [17:29:54:651] connected ?!... #3# yup & token is: AHRlWrrOKO... ( << we get the new token ) #5A# [17:29:56:654] opening channel... #6# [17:29:59:935] getting user name ! ( << we get the user_name, next step is about userlist, etc...) ------------------------------- at this step, the client can't send or received new message... in fact, he is not really connected... Do you have the same kind of problem ? If someone has an issue about that, it would be nice to share a working example (js client-side / python server-side) thanks in advance, Regards, Guibs -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.