Skip to content

Instantly share code, notes, and snippets.

@Velrok
Created August 29, 2013 15:33
Show Gist options
  • Save Velrok/6379635 to your computer and use it in GitHub Desktop.
Save Velrok/6379635 to your computer and use it in GitHub Desktop.
XMPP log. Bot is not responding to messages :( . Don't know why.
Invalid debugflag given: always
Invalid debugflag given: nodebuilder
DEBUG:
DEBUG: Debug created for /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/xmpp/client.py
DEBUG: flags defined: always,nodebuilder
DEBUG: socket start Plugging <xmpp.transports.TCPsocket instance at 0x10595de18> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: socket warn Could not load one of the supported DNS libraries (dnspython or pydns). SRV records will not be queried and you may need to set custom hostname/port for some servers to be accessible.\n
DEBUG: socket start Successfully connected to remote host ('jabber.de', 5222)
DEBUG: dispatcher start Plugging <xmpp.dispatcher.Dispatcher instance at 0x10595def0> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: dispatcher info Registering namespace "unknown"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher info Registering namespace "http://etherx.jabber.org/streams"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: dispatcher info Registering namespace "jabber:client"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher info Registering protocol "iq" as <class 'xmpp.protocol.Iq'>(jabber:client)
DEBUG: dispatcher info Registering protocol "presence" as <class 'xmpp.protocol.Presence'>(jabber:client)
DEBUG: dispatcher info Registering protocol "message" as <class 'xmpp.protocol.Message'>(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Dispatcher.streamErrorHandler of <xmpp.dispatcher.Dispatcher instance at 0x10595def0>> for "error" type-> ns->(http://etherx.jabber.org/streams)
DEBUG: dispatcher warn Registering protocol "error" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: socket sent <?xml version='1.0'?>
<stream:stream xmlns="jabber:client" to="jabber.de" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" >
DEBUG: socket got <?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.de" id="81cedd6" xml:lang="en" version="1.0">
DEBUG: socket got <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"/>
</stream:features>
DEBUG: dispatcher warn Unknown stanza: features
DEBUG: dispatcher ok Dispatching unknown stanza with type-> props->[u'urn:ietf:params:xml:ns:xmpp-tls', u'urn:ietf:params:xml:ns:xmpp-sasl', u'http://jabber.org/features/compress', u'http://jabber.org/features/iq-auth'] id->None
DEBUG: tls start Plugging <xmpp.transports.TLS instance at 0x10596b440> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: tls ok TLS supported by remote server. Requesting TLS start.
DEBUG: dispatcher info Registering handler <bound method TLS.StartTLSHandler of <xmpp.transports.TLS instance at 0x10596b440>> for "proceed" type-> ns->(urn:ietf:params:xml:ns:xmpp-tls)
DEBUG: dispatcher warn Registering namespace "urn:ietf:params:xml:ns:xmpp-tls"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-tls)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-tls)
DEBUG: dispatcher warn Registering protocol "proceed" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-tls)
DEBUG: dispatcher info Registering handler <bound method TLS.StartTLSHandler of <xmpp.transports.TLS instance at 0x10596b440>> for "failure" type-> ns->(urn:ietf:params:xml:ns:xmpp-tls)
DEBUG: dispatcher warn Registering protocol "failure" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-tls)
DEBUG: socket sent <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
DEBUG: socket got <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
DEBUG: dispatcher ok Got urn:ietf:params:xml:ns:xmpp-tls/proceed stanza
DEBUG: dispatcher ok Dispatching proceed stanza with type-> props->[] id->None
DEBUG: tls ok Got starttls proceed response. Switching to TLS/SSL...
DEBUG: dispatcher stop Plugging <xmpp.dispatcher.Dispatcher instance at 0x10595def0> out of <xmpp.client.Client instance at 0x10595dd88>.
DEBUG: dispatcher start Plugging <xmpp.dispatcher.Dispatcher instance at 0x10596bc20> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: dispatcher info Registering namespace "unknown"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher info Registering namespace "http://etherx.jabber.org/streams"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: dispatcher info Registering namespace "jabber:client"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher info Registering protocol "iq" as <class 'xmpp.protocol.Iq'>(jabber:client)
DEBUG: dispatcher info Registering protocol "presence" as <class 'xmpp.protocol.Presence'>(jabber:client)
DEBUG: dispatcher info Registering protocol "message" as <class 'xmpp.protocol.Message'>(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Dispatcher.streamErrorHandler of <xmpp.dispatcher.Dispatcher instance at 0x10596bc20>> for "error" type-> ns->(http://etherx.jabber.org/streams)
DEBUG: dispatcher warn Registering protocol "error" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: socket sent <?xml version='1.0'?>
<stream:stream xmlns="jabber:client" to="jabber.de" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" >
DEBUG: socket got <?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.de" id="81cedd6" 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"/>
</stream:features>
DEBUG: dispatcher warn Unknown stanza: features
DEBUG: dispatcher ok Dispatching unknown stanza with type-> props->[u'urn:ietf:params:xml:ns:xmpp-sasl', u'http://jabber.org/features/compress', u'http://jabber.org/features/iq-auth'] id->None
DEBUG: sasl start Plugging <xmpp.auth.SASL instance at 0x105975878> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: dispatcher info Registering handler <bound method SASL.SASLHandler of <xmpp.auth.SASL instance at 0x105975878>> for "challenge" type-> ns->(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher warn Registering namespace "urn:ietf:params:xml:ns:xmpp-sasl"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher warn Registering protocol "challenge" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher info Registering handler <bound method SASL.SASLHandler of <xmpp.auth.SASL instance at 0x105975878>> for "failure" type-> ns->(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher warn Registering protocol "failure" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher info Registering handler <bound method SASL.SASLHandler of <xmpp.auth.SASL instance at 0x105975878>> for "success" type-> ns->(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: dispatcher warn Registering protocol "success" as <class 'xmpp.protocol.Protocol'>(urn:ietf:params:xml:ns:xmpp-sasl)
DEBUG: socket sent <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
DEBUG: socket got <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImphYmJlci5kZSIsbm9uY2U9InNvcjhkL2Z2a1RneDlpbThNODFMRDA2ZXMwOXQyTzJ1MGl1QnBESmYiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
DEBUG: dispatcher ok Got urn:ietf:params:xml:ns:xmpp-sasl/challenge stanza
DEBUG: dispatcher ok Dispatching challenge stanza with type-> props->[] id->None
DEBUG: sasl ok Got challenge:realm="jabber.de",nonce="sor8d/fvkTgx9im8M81LD06es09t2O2u0iuBpDJf",qop="auth",charset=utf-8,algorithm=md5-sess
DEBUG: socket sent <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Y2hhcnNldD11dGYtOCx1c2VybmFtZT0idmVscm9rLXhibWMiLHJlYWxtPSJqYWJiZXIuZGUiLG5vbmNlPSJzb3I4ZC9mdmtUZ3g5aW04TTgxTEQwNmVzMDl0Mk8ydTBpdUJwREpmIixuYz0wMDAwMDAwMSxjbm9uY2U9IjIyYzk2NjNiMTM3MzAxNmIwMWEwZTI4NDA3MTAyMDhjMzdlYmQzYTllZWFjNDEwNWUiLGRpZ2VzdC11cmk9InhtcHAvamFiYmVyLmRlIixyZXNwb25zZT05ZWYzYWZhOGU1MmI2MjIzOTU0ZDhmNWE5NDM3OTFlYSxxb3A9YXV0aA==</response>
DEBUG: socket got <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0wOWIzOTk0YmQ3MTVkMzllYzAwYTU5NjRlZjU3MGIyMg==</success>
DEBUG: dispatcher ok Got urn:ietf:params:xml:ns:xmpp-sasl/success stanza
DEBUG: dispatcher ok Dispatching success stanza with type-> props->[] id->None
DEBUG: sasl ok Successfully authenticated with remote server.
DEBUG: dispatcher stop Plugging <xmpp.dispatcher.Dispatcher instance at 0x10596bc20> out of <xmpp.client.Client instance at 0x10595dd88>.
DEBUG: dispatcher start Plugging <xmpp.dispatcher.Dispatcher instance at 0x105975b00> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: dispatcher info Registering namespace "unknown"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher info Registering namespace "http://etherx.jabber.org/streams"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: dispatcher info Registering namespace "jabber:client"
DEBUG: dispatcher info Registering protocol "unknown" as <class 'xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher info Registering protocol "default" as <class 'xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher info Registering protocol "iq" as <class 'xmpp.protocol.Iq'>(jabber:client)
DEBUG: dispatcher info Registering protocol "presence" as <class 'xmpp.protocol.Presence'>(jabber:client)
DEBUG: dispatcher info Registering protocol "message" as <class 'xmpp.protocol.Message'>(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Dispatcher.streamErrorHandler of <xmpp.dispatcher.Dispatcher instance at 0x105975b00>> for "error" type-> ns->(http://etherx.jabber.org/streams)
DEBUG: dispatcher warn Registering protocol "error" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: socket sent <?xml version='1.0'?>
<stream:stream xmlns="jabber:client" to="jabber.de" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" >
DEBUG: bind start Plugging <xmpp.auth.Bind instance at 0x105975cb0> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: dispatcher info Registering handler <bound method Bind.FeaturesHandler of <xmpp.auth.Bind instance at 0x105975cb0>> for "features" type-> ns->(http://etherx.jabber.org/streams)
DEBUG: dispatcher warn Registering protocol "features" as <class 'xmpp.protocol.Protocol'>(http://etherx.jabber.org/streams)
DEBUG: socket got <?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.de" id="81cedd6" xml:lang="en" version="1.0">
<stream:features>
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>
<session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
</stream:features>
DEBUG: dispatcher ok Got http://etherx.jabber.org/streams/features stanza
DEBUG: dispatcher ok Dispatching features stanza with type-> props->[u'http://jabber.org/features/compress', u'urn:ietf:params:xml:ns:xmpp-bind', u'urn:ietf:params:xml:ns:xmpp-session'] id->None
DEBUG: socket sent <iq type="set" id="1">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>TvButtler</resource>
</bind>
</iq>
DEBUG: dispatcher wait Waiting for ID:1 with timeout 25...
DEBUG: socket got <iq type="result" id="1" to="jabber.de/81cedd6">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<jid>[email protected]/TvButtler</jid>
</bind>
</iq>
DEBUG: dispatcher ok Got jabber:client/iq stanza
DEBUG: dispatcher ok Dispatching iq stanza with type->result props->[u'urn:ietf:params:xml:ns:xmpp-bind'] id->1
DEBUG: dispatcher ok Expected stanza arrived!
DEBUG: bind ok Successfully bound [email protected]/TvButtler.
DEBUG: socket sent <iq type="set" id="2">
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</iq>
DEBUG: dispatcher wait Waiting for ID:2 with timeout 25...
DEBUG: socket got <iq type="result" id="2" to="[email protected]/TvButtler"/>
DEBUG: dispatcher ok Got jabber:client/iq stanza
DEBUG: dispatcher ok Dispatching iq stanza with type->result props->[] id->2
DEBUG: dispatcher ok Expected stanza arrived!
DEBUG: bind ok Successfully opened session.
DEBUG: roster start Plugging <xmpp.roster.Roster instance at 0x105979908> into <xmpp.client.Client instance at 0x10595dd88>
DEBUG: dispatcher info Registering handler <bound method Roster.RosterIqHandler of <xmpp.roster.Roster instance at 0x105979908>> for "iq" type->result ns->jabber:iq:roster(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Roster.RosterIqHandler of <xmpp.roster.Roster instance at 0x105979908>> for "iq" type->set ns->jabber:iq:roster(jabber:client)
DEBUG: dispatcher info Registering handler <bound method Roster.PresenceHandler of <xmpp.roster.Roster instance at 0x105979908>> for "presence" type-> ns->(jabber:client)
DEBUG: socket sent <iq type="get" id="3">
<query xmlns="jabber:iq:roster" />
</iq>
DEBUG: roster start Roster requested from server
DEBUG: socket sent <presence id="4" />
DEBUG: socket got <iq type="result" id="3" to="[email protected]/TvButtler">
<query xmlns="jabber:iq:roster">
<item jid="[email protected]" subscription="none"/>
</query>
</iq>
DEBUG: dispatcher ok Got jabber:client/iq stanza
DEBUG: dispatcher ok Dispatching iq stanza with type->result props->[u'jabber:iq:roster'] id->3
DEBUG: roster ok Setting roster item [email protected]...
DEBUG: dispatcher info Registering handler <bound method TvButtler.callback_message of <__main__.TvButtler object at 0x105958f50>> for "message" type-> ns->(jabber:client)
DEBUG: dispatcher info Registering handler <bound method TvButtler.callback_presence of <__main__.TvButtler object at 0x105958f50>> for "presence" type-> ns->(jabber:client)
DEBUG: socket got <presence from="[email protected]" to="[email protected]" type="unsubscribe"/>
DEBUG: dispatcher ok Got jabber:client/presence stanza
DEBUG: dispatcher ok Dispatching presence stanza with type->unsubscribe props->[] id->None
DEBUG: socket got <message from="[email protected]/WaldemarMBP-3" to="[email protected]" type="chat" id="purplead4dd28">
<body>Test message</body>
</message>
DEBUG: dispatcher ok Got jabber:client/message stanza
DEBUG: dispatcher ok Dispatching message stanza with type->chat props->[u'jabber:client'] id->purplead4dd28
@cleartext
Copy link

I see ' item jid="[email protected]" subscription="none"' on line 177, make sure these two Jabber ID's are buddies then try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment