Not logged in. · Lost password · Register
Forum: agsXMPP RSS
evilempire22 #1
Member since Oct 2006 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: Authentication problem
My application currently behaves in the following manner:

Try and login using a certain username and password.
If I get an authentication error back, close connection, set Connection.RegisterAccount property to true and try opening connection again to register the account and log in.

In theory this should work correct? Well, on the reconnect, my client gets to the Authenticated state after successfully registering, and then the connection gets closed. Any idea what would case this behavior?
Alex #2
Member since Feb 2003 · 4433 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Can you post your debug XML? so we can see why the connection gets closed.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS