Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
mahendra #1
Member since Mar 2015 · 12 posts
Group memberships: Members
Show profile · Link to this post
Subject: Issue With login In Matrix- Web Client
Hello,

I am trying to login in Matrix web-client sample, but its not working. Using same credentials i am able to login in Matrix Mini Client.
Please suggest help to resolve this.Also find generated logs for web-client

  1. Send: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="neuerungatl.noip.me" version="1.0" >
  2. Recv: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="vgwwinsvr2008" id="11c152b2" xml:lang="en" version="1.0" >
  3. Recv: <stream:features xmlns:stream="http://etherx.jabber.org/streams"> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" /> <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> <mechanism>DIGEST-MD5</mechanism> <mechanism>PLAIN</mechanism> <mechanism>ANONYMOUS</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>
  4. Send: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  5. Recv: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  6. Send: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="neuerungatl.noip.me" version="1.0" >
  7. Recv: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="vgwwinsvr2008" id="11c152b2" xml:lang="en" version="1.0" >
  8. Recv: <stream:features xmlns:stream="http://etherx.jabber.org/streams"> <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> <mechanism>DIGEST-MD5</mechanism> <mechanism>PLAIN</mechanism> <mechanism>ANONYMOUS</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>
  9. Send: <auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
  10. Recv: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InZnd3dpbnN2cjIwMDgiLG5vbmNlPSIwMjJId1o5R1hOWmdueUtqUElvYXRTdWVnTVlJL3NwSjVPUnliMndUIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
  11. Send: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9ImFkbWluIixyZWFsbT0idmd3d2luc3ZyMjAwOCIsbm9uY2U9IjAyMkh3WjlHWE5aZ255S2pQSW9hdFN1ZWdNWUkvc3BKNU9SeWIyd1QiLGNub25jZT0iNTQ2ZDc4Mjg0NTIyNjU2NWVjMzU1MzNlYmM2YWZmNzkxMWM4ZGNjYmFmYjBjZTRjZGE0NDI3NjVmM2NjYzVhZiIsbmM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9uZXVlcnVuZ2F0bC5ub2lwLm1lIixjaGFyc2V0PXV0Zi04LHJlc3BvbnNlPWVmYzBjNjViNzM2YjVhYzVkYTFjYjcwZTFiYzI4MWQ4</response>
  12. Recv: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> <not-authorized /> </failure>

Thanx
This post was edited on 2015-03-09, 09:36 by Alex.
Edit reason: code formatting
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The XmppDomain in your code is wrong. See here the first 2 lines of your log:

  1. Send: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="neuerungatl.noip.me" version="1.0" >
  2. Recv: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="vgwwinsvr2008" id="11c152b2" xml:lang="en" version="1.0" >

you open a session to teh Domain neuerungatl.noip.me, but your server replies with vgwwinsvr2008 as XmppDomain.
So try to set:

  1. xmppClient.XmppDomain = "vgwwinsvr2008";
Avatar
mahendra #3
Member since Mar 2015 · 12 posts
Group memberships: Members
Show profile · Link to this post
Thanx alex it works
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: MatriX RSS