The Xcode client can't Connect to OpenFire Server

306 views
Skip to first unread message

Xun C

unread,
May 30, 2010, 11:19:01 PM5/30/10
to XMPPFramework
Hi,
I am very new to XMPP.
I have set up an OpenFire Server successfully.
If I use Spark XMPP client, I can easily connect to my OpenFire
Server.
However, I cannot connect to the OpenFire server using the
XMPPFramework example Mac OS Client.
It just keep saying user name password problem;
Does anyone here have any idea what's going on?
Or Maybe I should use other server rather than openfire?


2010-05-30 23:16:30.724 XMPPStream[8567:813] ----------
xmppStreamDidConnect ----------
2010-05-30 23:16:30.724 XMPPStream[8567:813] SEND: <auth
xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
2010-05-30 23:16:30.759 XMPPStream[8567:813] RECV: <challenge
xmlns="urn:ietf:params:xml:ns:xmpp-
sasl">cmVhbG09ImRvbXUtMTItMzEtMzktMDAtZGQtMjcuY29tcHV0ZS0xLmludGVybmFsIixub25jZT0iRVNiVHBBODI0TE5GYXhtY3ZQMk9lVVRDZ24xaGhTdDcxN0FjdDM5YyIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</
challenge>
2010-05-30 23:16:30.760 XMPPStream[8567:813] decoded challenge:
realm="domu-12-31-39-00-
dd-27.compute-1.internal",nonce="ESbTpA824LNFaxmcvP2OeUTCgn1hhSt717Act39c",qop="auth",charset=utf-8,algorithm=md5-
sess
2010-05-30 23:16:30.761 XMPPStream[8567:813] decoded response:
username="cai",realm="domu-12-31-39-00-
dd-27.compute-1.internal",nonce="ESbTpA824LNFaxmcvP2OeUTCgn1hhSt717Act39c",cnonce="F10C8AE8-
F6D4-4D4A-BBFC-BB9CB3B798A0",nc=00000001,qop=auth,digest-uri="xmpp/
ec2-184-73-164-51.compute-1.amazonaws.com",response=a082551148235f9c20ad3b9351a05dc1,charset=utf-8
2010-05-30 23:16:30.761 XMPPStream[8567:813] SEND: <response
xmlns="urn:ietf:params:xml:ns:xmpp-
sasl">dXNlcm5hbWU9ImNhaSIscmVhbG09ImRvbXUtMTItMzEtMzktMDAtZGQtMjcuY29tcHV0ZS0xLmludGVybmFsIixub25jZT0iRVNiVHBBODI0TE5GYXhtY3ZQMk9lVVRDZ24xaGhTdDcxN0FjdDM5YyIsY25vbmNlPSJGMTBDOEFFOC1GNkQ0LTRENEEtQkJGQy1CQjlDQjNCNzk4QTAiLG5jPTAwMDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvZWMyLTE4NC03My0xNjQtNTEuY29tcHV0ZS0xLmFtYXpvbmF3cy5jb20iLHJlc3BvbnNlPWEwODI1NTExNDgyMzVmOWMyMGFkM2I5MzUxYTA1ZGMxLGNoYXJzZXQ9dXRmLTg=</
response>
2010-05-30 23:16:30.795 XMPPStream[8567:813] RECV: <failure
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
2010-05-30 23:16:30.795 XMPPStream[8567:813] ----------
xmppStream:didNotAuthenticate: ----------

Xun C

unread,
May 31, 2010, 9:40:18 AM5/31/10
to XMPPFramework
Sorry Guys,
I have fixed this problem.
The problem is that:
let say the host is ABC.com
after I enter my user name, it become us...@ABC.com.
But my Openfire Server's domain is like ABCInternal.com.
So I have to set the JID to us...@ABCInternal.com

Sorry about that again!
Reply all
Reply to author
Forward
0 new messages