Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
danz #1
Member since Jun 2009 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: '@' in usernames
Hi,
I am running an Openfire server, and I'm having problems connecting users with '@' in their usernames.
logging with user "test@testroom.com" doesn't work, and I receive an not-authorized message.

Spark connects successfully to these users.

In debuging I see the XmppClientConnection.Username encoded correctly to "test\40testroom.com", that is also the value in the mySql DB.

The code I use to connect:
            XmppClientConnection xmpp =  new XmppClientConnection();
            xmpp.AutoPresence = true;
            xmpp.Server = "DanPC";
            xmpp.ConnectServer = "DanPC";
            xmpp.AutoResolveConnectServer = true;
            xmpp.Port = 5222;
            xmpp.UseSSL = false;
            xmpp.Username = username;
            xmpp.Password = password;


Am I doing anything wrong? I've seen more posts in this forum about this issue - but none of them seem to fix this problem.

Thanks for your help
-Dan
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I think your problem is related to the problem discussed here:
http://forum.ag-software.de/thread/703

This is fixed in the latest svn code.

Alex
Avatar
danz #3
Member since Jun 2009 · 5 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Thanks, that solved my problem.

-Dan
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