1
Vote

Unable to login XMPP Server

description

HI

I'm new to windows developing, i have to develop a windows messenger application.
I used this XMEDINET library to connect the local server but unable to login into my local xmpp server from emulator.
It is showing below response

Kindly help me on this,
__
Thanks in advance__
Below are the response on login

Calling XMPPClient::Connect()
Setting state to Connecting
Connecting
Setting state to Connected
Connected
Successful TCP connection
Setting state to Authenticating
Authenticating
<--<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="imserver" id="77958f0a" xml:lang="en" version="1.0">

<--<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>

<--<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\windows\system32\mscorlib.Extensions.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
<--<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="imserver" id="77958f0a" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
<--<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InNvbGxldGltIixub25jZT0iY3pFZlRmY1l4akxoRkZNeWhhQzdaMVJhSno4cUZTKzZSYyt0ZHFDUSIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge>

<--<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>

Setting state to AuthenticationFailed
XMPP Authentication Failed...:

comments