Re: Issue to handle situation ConnStreamError+StreamErrorConflict: "You have signed in with these details on another computer"
From: "Anatoly Gutnick" <anatolyg@xxxxxxxxx>
Date: Sun, 26 Aug 2007 08:40:22 +0200 (CEST)
Still have a problem.

Jakob, do you have any idea what is wrong?

Thanks,
Anatoly

2007/8/13, Anatoly Gutnick <anatolyg@xxxxxxxxx>:
>
> gloox 0.9 (windows)
> openfire 3.2.2
>
> Any ideas?
>
>
> 2007/8/13, Anatoly Gutnick <anatolyg@xxxxxxxxx>:
> >
> > Hello,
> >
> > triyng to handle situation when user signed in on one machine and then
> > sign in on another machine;
> > Usually i am able to handle this situation;
> >
> > I get ConnStreamError in OnDisconnect()
> > Then i look for StreamErrorConflict reason.
> >
> > Usually it works fine, but sometime instead of ConnStreamError i get 
> > ConnStreamClosed
> > then i
> > don't get StreamErrorConflict.
> >
> > Any ideas?
> > See details below:
> >
> > Regards,
> > Anatoly
> >
> >
> > Issue to handle situation ConnStreamError: "You have signed in with
> > these details on another computer"
> >
> >
> > Bad case:
> >
> >
> >
> > 00000016    1:06:14 PM  [2512] Message..................Connection
> > closed; reason: [3];
> >
> >
> >
> > This reason 3 say:
> >
> > ConnStreamClosed               /**< The stream has been closed (by the
> > server). */
> >
> >
> >
> > Good case:
> >
> >
> >
> > 00000016    1:03:16 PM  [2512] Message..................Connection
> > closed; reason: [1];
> >
> > 00000022    1:03:16 PM  [2512] Message..................ConnStreamError;
> > reason: [3];
> >
> >
> >
> > This reason 1 say:
> >
> >
> >
> > ConnStreamError,
> >
> > /**< A stream error occured. The stream has been closed.
> >
> >  * Use ClientBase::streamError() to find the reason. */
> >
> >
> >
> > ConnStreamError; reason: [3] say: ConnStreamError
> >
> >
> >
> > StreamErrorConflict,
> >
> > /**< The server is closing the active stream for this entity because a
> >
> >  * new stream has been initiated that conflicts with the existing
> >
> >  * stream. */
> >
>
>