Advertisement
Guest User

xmpp4r-failure

a guest
Aug 29th, 2011
278
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.61 KB | None
  1. D, [2011-08-29T15:17:22.523375 #17329] DEBUG -- : Debugging mode enabled.
  2. W, [2011-08-29T15:17:22.523559 #17329] WARN -- : Warnings mode enabled.
  3. 0.5
  4. D, [2011-08-29T15:17:22.523713 #17329] DEBUG -- : RESOLVING:
  5. _xmpp-client._tcp.x.x..x.x (SRV)
  6. D, [2011-08-29T15:17:22.565010 #17329] DEBUG -- : CONNECTING:
  7. x.x..x.x:5222
  8. D, [2011-08-29T15:17:22.566361 #17329] DEBUG -- : SENDING:
  9. <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='x.x..x.x' xml:lang='en' version='1.0' >
  10. D, [2011-08-29T15:17:22.574989 #17329] DEBUG -- : RECEIVED:
  11. <stream:stream xmlns:stream='http://etherx.jabber.org/streams' from='resisty' id='c18195ed' version='1.0' xml:lang='en' xmlns='jabber:client'/>
  12. D, [2011-08-29T15:17:22.576094 #17329] DEBUG -- : FEATURES: waiting...
  13. D, [2011-08-29T15:17:22.584557 #17329] DEBUG -- : RECEIVED:
  14. <stream:features><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>
  15. D, [2011-08-29T15:17:22.585888 #17329] DEBUG -- : FEATURES: received
  16. D, [2011-08-29T15:17:22.586047 #17329] DEBUG -- : FEATURES: waiting finished
  17. D, [2011-08-29T15:17:22.586700 #17329] DEBUG -- : PROCESSING:
  18. <stream:features xmlns='jabber:client'><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> (REXML::Element)
  19. D, [2011-08-29T15:17:22.586925 #17329] DEBUG -- : SENDING:
  20. <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
  21. D, [2011-08-29T15:17:22.586989 #17329] DEBUG -- : TRYING stanzacbs...
  22. D, [2011-08-29T15:17:22.587091 #17329] DEBUG -- : TRYING message/iq/presence/cbs...
  23. D, [2011-08-29T15:17:22.594885 #17329] DEBUG -- : RECEIVED:
  24. <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
  25. D, [2011-08-29T15:17:22.595687 #17329] DEBUG -- : TLSv1: OpenSSL handshake in progress
  26. D, [2011-08-29T15:17:22.673461 #17329] DEBUG -- : TLSv1: restarting parser
  27. D, [2011-08-29T15:17:22.674197 #17329] DEBUG -- : SENDING:
  28. <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='x.x..x.x' xml:lang='en' version='1.0' >
  29. D, [2011-08-29T15:17:22.680257 #17329] DEBUG -- : RECEIVED:
  30. <stream:stream xmlns:stream='http://etherx.jabber.org/streams' from='resisty' id='c18195ed' version='1.0' xml:lang='en' xmlns='jabber:client'/>
  31. D, [2011-08-29T15:17:22.684159 #17329] DEBUG -- : FEATURES: waiting...
  32. D, [2011-08-29T15:17:22.686767 #17329] DEBUG -- : RECEIVED:
  33. <stream:features><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>
  34. D, [2011-08-29T15:17:22.687477 #17329] DEBUG -- : FEATURES: received
  35. D, [2011-08-29T15:17:22.687610 #17329] DEBUG -- : FEATURES: waiting finished
  36. D, [2011-08-29T15:17:22.687916 #17329] DEBUG -- : PROCESSING:
  37. <stream:features xmlns='jabber:client'><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> (REXML::Element)
  38. D, [2011-08-29T15:17:22.688040 #17329] DEBUG -- : TRYING stanzacbs...
  39. D, [2011-08-29T15:17:22.688137 #17329] DEBUG -- : TRYING message/iq/presence/cbs...
  40. D, [2011-08-29T15:17:22.688381 #17329] DEBUG -- : SENDING:
  41. <auth mechanism='DIGEST-MD5' xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
  42. D, [2011-08-29T15:17:22.695483 #17329] DEBUG -- : RECEIVED:
  43. <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cmVhbG09InJlc2lzdHkiLG5vbmNlPSJENlVoWGpoMFhiZ084a0NSbXRySDIya2E0UTlhZmxjVGRaUVpYSXBEIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
  44. D, [2011-08-29T15:17:22.697109 #17329] DEBUG -- : SASL DIGEST-MD5 challenge:
  45. realm="resisty",nonce="D6UhXjh0XbgO8kCRmtrH22ka4Q9aflcTdZQZXIpD",qop="auth",charset=utf-8,algorithm=md5-sess
  46. {"algorithm"=>"md5-sess", "nonce"=>"D6UhXjh0XbgO8kCRmtrH22ka4Q9aflcTdZQZXIpD", "charset"=>"utf-8", "qop"=>"auth", "realm"=>"resisty"}
  47. D, [2011-08-29T15:17:22.697963 #17329] DEBUG -- : SASL DIGEST-MD5 response:
  48. response=0c4ecfee61f5a2225d5b962c3d8c88eb,cnonce="ea108cc35916bdd8afba8c7706af324a",digest-uri="xmpp/x.x..x.x",username="rbot",nonce="D6UhXjh0XbgO8kCRmtrH22ka4Q9aflcTdZQZXIpD",qop=auth,charset=utf-8,realm="resisty",nc=00000001
  49. {"response"=>"0c4ecfee61f5a2225d5b962c3d8c88eb", "cnonce"=>"\"ea108cc35916bdd8afba8c7706af324a\"", "digest-uri"=>"\"xmpp/x.x..x.x\"", "username"=>"\"rbot\"", "nonce"=>"\"D6UhXjh0XbgO8kCRmtrH22ka4Q9aflcTdZQZXIpD\"", "qop"=>"auth", "charset"=>"utf-8", "realm"=>"\"resisty\"", "nc"=>"00000001"}
  50. D, [2011-08-29T15:17:22.698953 #17329] DEBUG -- : SENDING:
  51. <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cmVzcG9uc2U9MGM0ZWNmZWU2MWY1YTIyMjVkNWI5NjJjM2Q4Yzg4ZWIsY25vbmNlPSJlYTEwOGNjMzU5MTZiZGQ4YWZiYThjNzcwNmFmMzI0YSIsZGlnZXN0LXVyaT0ieG1wcC8xMC4yNTQuMTAuNCIsdXNlcm5hbWU9InJib3QiLG5vbmNlPSJENlVoWGpoMFhiZ084a0NSbXRySDIya2E0UTlhZmxjVGRaUVpYSXBEIixxb3A9YXV0aCxjaGFyc2V0PXV0Zi04LHJlYWxtPSJyZXNpc3R5IixuYz0wMDAwMDAwMQ==</response>
  52. D, [2011-08-29T15:17:22.706732 #17329] DEBUG -- : RECEIVED:
  53. <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
  54. D, [2011-08-29T15:17:22.708042 #17329] DEBUG -- : RuntimeError: not-authorized
  55. /usr/lib/ruby/1.8/xmpp4r/sasl.rb:206:in `auth'
  56. /usr/lib/ruby/1.8/xmpp4r/client.rb:171:in `auth_sasl'
  57. /usr/lib/ruby/1.8/xmpp4r/client.rb:110:in `auth'
  58. test.rb:13
  59. /usr/lib/ruby/1.8/xmpp4r/client.rb:118:in `auth': not-authorized (Jabber::ClientAuthenticationFailure)
  60. from test.rb:13
Advertisement
RAW Paste Data Copied
Advertisement