Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
DEMI #1
Member since Oct 2009 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Use IP address as server
Hello
I have a problem with authentication when I use IP address of server.
I saw answer in FAQ but I try to authenticate with Pidgin and it is ok.
Openfire is configured to an IP-Address.
If it works in Pidgin then it must work with agsXMPP SDK.
Please advice.
Avatar
Alex #2
Member since Feb 2003 · 4328 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
agsXMPP is using the most secure SASL mechanism offered by the server by default. For most servers this is SASL DIGEST-MD5. In DIGEST-MD5 the server domain is part of the authentication, and if it doesn't match it fails.
Other clients use SASL PLAIN only which needs only a username and password. This is the reason why they may be able to authenticate, even of your client or server settings are wrong. The Domain you configured in your server must match to the domain you use in the client or agsXMPP. Otherwise you will run into problems sooner or later. Because in XMPP the addresses 62.62.62.62 and server.com are different identities, even if server.com resolves to the IP 62.62.62.62.

Please never use IP addresses with XMPP. XMPP is domain based.
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