hum… That’s weird. It looks like APE doesn’t recognize the CHECK command or something like that and just delete the user as if you disconnected. If the server doesn’t hear from the client after a few seconds (45 secs I think), the server delete said user.
If instead of the check command you send normal data, like a message on a chat, do you have the same problem? If you send 6 chat messages in a short period of time (les than 30 secs) and you have the same problem you know it’s your code… Plus it’s easy to test if other (normal / javascript) client does received the messages… Maybe Pablo have more info on this as I’m not use to the CLOSE mechanism since I create my client using sockets and not longpooling... - Louis Le 2014-05-05 à 04:46, Marcin Michałek <[email protected]> a écrit : > Looking at time stamps it is as someone mentioned before - the last > response(BAD_SESSID) comes in after 45 secs from previos one. But I cant find > the mistake in my code. Even basen on the log there are 4 CHECKS and 2 CLOSEs > so my last check should cause CLOSE to be returned instead of BAD_SESSID > > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" 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/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
