Here is example http://www.ape-project.org/docs/client/client/onraw.html
Where ape is the client instance and you listen or intercept for err instead of login Sent from my iPhone On Jul 26, 2012, at 5:05 PM, Peter <[email protected]> wrote: Pablo, this is a really really nooby question, but how could I listen for the raw "err" on the client/core? Thanks, Peter On Wednesday, July 25, 2012 7:30:06 PM UTC+1, Pablo wrote: > > I'm already detached from the APE JSF framework, i'm using a different > client, but i can point you in a direction from where you could start > your research. > > There is an event or raw triggered when the client gets disconnected, > it might be "disconnected" or "apeDisconnected" or something else. > Most likely if the client framework triggers a disconnect event/raw > is because it received a an error raw from the APE Server. > > Also you could listen for the raw "err" or "error" on the client/core > to catch all the error raws. > > client.onRaw("err", ... ); > > You could log all RAWs or just the error recieved in the client, keep > it in an array or local storage. Listen to one of the error > events/RAWs and send the log array via an ajax request to a > server(PHP) for examination. > > Just make sure you comply with your privacy policy if any while > gathering/playing with your user's activity and input. > > Good luck! > > Sent from my iPhone > > On Jul 25, 2012, at 1:37 PM, UTAN <[email protected]> wrote: > > > Mine is a chat system I made... I was wondering if the session would > > be messing things up.. since I am using it ... > > > > what do you think, what else should I do to debug this problem..? > > > > On Jul 25, 10:29 am, Pablo Tejada <[email protected]> wrote: > >> I think you could safely discard the possibility of the browser been a > >> problem in the disconnects. > >> > >> What type of apps are guys running? Are they live in the internet? > >> > >> Sent from my iPhone > >> > >> On Jul 25, 2012, at 1:22 PM, UTAN <[email protected]> wrote: > >> > >> > >> > >> > >> > >> > >> > >>> I use long polling and also transport 2 , for other domains, same > >>> issues either in the one that's not using transport 2 or is using it.. > >> > >>> Seen this disconnects on IE 9 , 8 , chrome, Safari .. not much is > >>> firefox but i think some has had this too.. > >> > >>> On Jul 25, 10:12 am, Pablo Tejada <[email protected]> wrote: > >>>> And which browser are those? Do you specify a transport or you let > the > >>>> framework pick the best suitable for the browser? > >> > >>>> Sent from my iPhone > >> > >>>> On Jul 25, 2012, at 1:01 PM, UTAN <[email protected]> wrote: > >> > >>>>> I've done that, and used same browser version to duplicate and it > just > >>>>> doesn't happens to my connections.. some user happens to have this > >>>>> disconnect more often than others regarding the browser they are > >>>>> using... > >> > >>>>> thanks for replying Pablo > >> > >>>>> On Jul 25, 9:54 am, Pablo Tejada <[email protected]> wrote: > >>>>>> You could start by logging which browser your users use and then > check > >>>>>> which browser and what version are the users experiencing the > >>>>>> disconnects are using... > >> > >>>>>> Sent from my iPhone > >> > >>>>>> On Jul 25, 2012, at 12:23 PM, UTAN <[email protected]> > wrote: > >> > >>>>>>> HI, > >> > >>>>>>> I seem to be having the same issue after certain time people > >>>>>>> disconnect, i can't duplicate this bug because if I try with any > >>>>>>> browser my connection doesn't timeout or I never get disconnected. > . > >> > >>>>>>> Other user are being disconnected more that others, I wonder if > >>>>>>> network problems.. I can't even imaging how to start debugging > this > >>>>>>> issues since my connection doesn't have this problem... > >> > >>>>>>> I read somewhere that you need to ping the server every 40 > second > >>>>>>> or so to let know the server we still on. > >> > >>>>>>> regards. > >> > >>>>>>> On Jul 24, 11:37 pm, Peter <[email protected]> wrote: > >>>>>>>> Hi, > >> > >>>>>>>> I'm using the Inlinepush feature of APE, which is working > perfectly, except > >>>>>>>> for one little detail. Regardless of the browser, the page seems > to lose > >>>>>>>> connection with the APE server after a certain time, say 10 > minutes. To > >>>>>>>> get a connection back up I need to actually close down the > browser and > >>>>>>>> reopen it, rather than just reload the page. The APE server is > definitely > >>>>>>>> still up and running and I still get a "message sent!" feedback > on the page. > >> > >>>>>>>> Is there a reason for this? Is there a setting that I can > change? > >> > >>>>>>>> Thanks > >>>>>>>> Peter > >> > >>>>>>> -- > >>>>>>> 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 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 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 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 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 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/
