Subject: Matrix with WLM
So the problem is my connection gets closed as soon as I do a client.Open(); No other events get called, including onBeforeSasl or onLogin. Currently I retrieve the token through their web login but the token doesn't get requested (as it does not reach onBeforeSasl). I have successfully integrated facebook login quite a long time ago, along with other services that requre classic XMPP login so this problem is beyond my understanding.
As requested, here's the XML:
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="104477" xmlns="jabber:client" >
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
<required />
</starttls>
</stream:features>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="104478" xmlns="jabber:client" >
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<see-other-host xmlns="urn:ietf:params:xml:ns:xmpp-streams">BAYMSG1020225.gateway.edge.messenger.live.com</see-other-host>
</stream:error>
</stream:stream>
As requested, here's the XML:
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="104477" xmlns="jabber:client" >
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
<required />
</starttls>
</stream:features>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="104478" xmlns="jabber:client" >
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<see-other-host xmlns="urn:ietf:params:xml:ns:xmpp-streams">BAYMSG1020225.gateway.edge.messenger.live.com</see-other-host>
</stream:error>
</stream:stream>
mtranda
Show profile
Link to this post
.
WindowsLiveMessengerExample.zip 9.8 kBytes