Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
WMFGREEN #1
Member since Jan 2012 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Problems with OnAuthError event
I tried providing a wrong username to the XmppClient Object.
I breakpointed different events.
When I start my application sometimes it breaks at OnAuthError(...) and sometimes at OnLogin(...) (about 50% chance for any of the two events).
I think it's more likely that the problem is from my application, but can you tell me if you know something about this kind of issues?
Could it be a problem of incompatibility? My XMPP Server is called "ejabber".
Avatar
Alex #2
Member since Feb 2003 · 4328 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by WMFGREEN:
I tried providing a wrong username to the XmppClient Object.
I breakpointed different events.
When I start my application sometimes it breaks at OnAuthError(...) and sometimes at OnLogin(...) (about 50% chance for any of the two events).

with an invalid username you will never get a OnLogin event. Because the OnLogin event is for successful logins.
There must be a problem in your code.

Quote by WMFGREEN:
Could it be a problem of incompatibility? My XMPP Server is called "ejabber".

no, Matrix works great in combination with ejabberd. Ejabberd is probably the most used XMPP server.
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: MatriX RSS