Not logged in. · Lost password · Register
Forum: MatriX RSS
I still have a problem ... I'm trying to connect to the server and not with the client example
Avatar
coopermine #1
Member since Sep 2013 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: not-authorized in openfire
 I still have a problem ... I'm trying to connect to the server and not with the client example. The server is normal, I can connect with other programs ...

DEBUG XML get it.


  1. SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="192.210.235.183" version="1.0" >
  2. RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="ny256vps6" id="74610d76" xml:lang="en" version="1.0" >
  3. RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
  4.  <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  5.  <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
  6.     <mechanism>DIGEST-MD5</mechanism>
  7.     <mechanism>PLAIN</mechanism>
  8.     <mechanism>ANONYMOUS</mechanism>
  9.     <mechanism>CRAM-MD5</mechanism>
  10.  </mechanisms>
  11.  <compression xmlns="http://jabber.org/features/compress">
  12.     <method>zlib</method>
  13.  </compression>
  14.  <auth xmlns="http://jabber.org/features/iq-auth" />
  15.  <register xmlns="http://jabber.org/features/iq-register" />
  16. </stream:features>
  17. SEND: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  18. RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  19. SEND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="192.210.235.183" version="1.0" >
  20. RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="ny256vps6" id="74610d76" lang="en" version="1.0" >
  21. RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
  22.  <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
  23.     <mechanism>DIGEST-MD5</mechanism>
  24.     <mechanism>PLAIN</mechanism>
  25.     <mechanism>ANONYMOUS</mechanism>
  26.     <mechanism>CRAM-MD5</mechanism>
  27.  </mechanisms>
  28.  <compression xmlns="http://jabber.org/features/compress">
  29.     <method>zlib</method>
  30.  </compression>
  31.  <auth xmlns="http://jabber.org/features/iq-auth" />
  32.  <register xmlns="http://jabber.org/features/iq-register" />
  33. </stream:features>
  34. SEND: <auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
  35. RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09Im55MjU2dnBzNiIsbm9uY2U9InlhV1ZFMDgvazI2MnpkVXYyTzRkTWtBQW5rc2ZhZTFkaUFHL2VwbW0iLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
  36. SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9Im1hcmlhIixyZWFsbT0ibnkyNTZ2cHM2Iixub25jZT0ieWFXVkUwOC9rMjYyemRVdjJPNGRNa0FBbmtzZmFlMWRpQUcvZXBtbSIsY25vbmNlPSI2OTU1NDkyYjdjN2FiYTczMDE0NmE4NTFhMTI4NWU1YjlmNGFjYzFmYjk4ZjVjMDk4MjUzMGNiNmIxNmU1OTM2IixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwLzE5Mi4yMTAuMjM1LjE4MyIsY2hhcnNldD11dGYtOCxyZXNwb25zZT1jNzk2OTE4YTUxM2JkNWU5ZmI0ZjA2Y2ZjNWU0MjRmYg==</response>
  37. RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
  38.  <not-authorized />
  39. </failure>
  40. SEND: </stream:stream>
  41. RECV: </stream:stream>


Xmpp server test: 192.210.235.183
user: maria
password:  asdada
This post was edited 2 times, last on 2013-09-26, 23:22 by coopermine.
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This is an authentication problem and has discussed here several times before. Please search the forum for auth error and xmpp domain.
Your server is configured to ny256vps6 and you try to connect over an IP 192.210.235.183. This cannot work. When ither programs are able to connect then they use weak authentication SASL mechanisms where the domain does not matter. Even when the authentication works in this programs you will run into problems later when using the wrong domain.

So please fix this and never use IP addresses in XMPP for the domain.

Alex
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