phergie xmpp crash

raw

with-realm.txt

cweiske:~/Dev/tools/phergie> ./phergie.php 
[2012-10-27/14:32:10]  Connecting to cweiske.de
2012-10-27T14:32:10+00:00 DEBUG (7): Connection made
2012-10-27T14:32:10+00:00 DEBUG (7): Blocking enabled
2012-10-27T14:32:10+00:00 DEBUG (7): Sent: <stream:stream to="cweiske.de" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">
2012-10-27T14:32:10+00:00 DEBUG (7): Stream started
2012-10-27T14:32:10+00:00 DEBUG (7): Wait for response from server
2012-10-27T14:32:10+00:00 DEBUG (7): Tag we're waiting for: stream:stream
2012-10-27T14:32:15+00:00 DEBUG (7): Response (Xmpp_Connection): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1147958895' from='cweiske.de' version='1.0' xml:lang='en'><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></mechanisms><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='HzhW199FSAS7rIkHllLdacqERmE='/><register xmlns='http://jabber.org/features/iq-register'/></stream:features>
2012-10-27T14:32:15+00:00 DEBUG (7): Contents of $fromServer: SimpleXMLElement::__set_state(array(
   '@attributes' => 
  array (
    'id' => '1147958895',
    'from' => 'cweiske.de',
    'version' => '1.0',
  ),
))
2012-10-27T14:32:15+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
)
2012-10-27T14:32:15+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T14:32:15+00:00 DEBUG (7): Received: 
2012-10-27T14:32:15+00:00 DEBUG (7): Requesting Authentication: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
2012-10-27T14:32:15+00:00 DEBUG (7): Sent: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
2012-10-27T14:32:15+00:00 DEBUG (7): Tag we're waiting for: challenge
2012-10-27T14:32:20+00:00 DEBUG (7): Response (Xmpp_Connection): <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>bm9uY2U9IjI4NjQyNTE3ODUiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
2012-10-27T14:32:20+00:00 DEBUG (7): Contents of $fromServer: false
2012-10-27T14:32:20+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
  0 => 
  SimpleXMLElement::__set_state(array(
     0 => 'bm9uY2U9IjI4NjQyNTE3ODUiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=',
  )),
)
2012-10-27T14:32:20+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T14:32:20+00:00 DEBUG (7): Response: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">bm9uY2U9IjI4NjQyNTE3ODUiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
2012-10-27T14:32:20+00:00 DEBUG (7): Response (Decoded): nonce="2864251785",qop="auth",charset=utf-8,algorithm=md5-sess
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 208
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 214
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 224
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 228
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
2012-10-27T14:32:20+00:00 DEBUG (7): Unencoded Response: username="mpd-bogo",realm="",nonce="2864251785",cnonce="508bf074b3b1f",nc="00000001",qop="auth",digest-uri="xmpp/",response="4bf2404760fce4826edc664023584a71",charset="utf-8"
2012-10-27T14:32:20+00:00 DEBUG (7): Challenge Response: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9Im1wZC1ib2dvIixyZWFsbT0iIixub25jZT0iMjg2NDI1MTc4NSIsY25vbmNlPSI1MDhiZjA3NGIzYjFmIixuYz0iMDAwMDAwMDEiLHFvcD0iYXV0aCIsZGlnZXN0LXVyaT0ieG1wcC8iLHJlc3BvbnNlPSI0YmYyNDA0NzYwZmNlNDgyNmVkYzY2NDAyMzU4NGE3MSIsY2hhcnNldD0idXRmLTgi</response>
2012-10-27T14:32:20+00:00 DEBUG (7): Sent: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9Im1wZC1ib2dvIixyZWFsbT0iIixub25jZT0iMjg2NDI1MTc4NSIsY25vbmNlPSI1MDhiZjA3NGIzYjFmIixuYz0iMDAwMDAwMDEiLHFvcD0iYXV0aCIsZGlnZXN0LXVyaT0ieG1wcC8iLHJlc3BvbnNlPSI0YmYyNDA0NzYwZmNlNDgyNmVkYzY2NDAyMzU4NGE3MSIsY2hhcnNldD0idXRmLTgi</response>
2012-10-27T14:32:20+00:00 DEBUG (7): Tag we're waiting for: *
2012-10-27T14:32:25+00:00 DEBUG (7): Response (Xmpp_Connection): <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
2012-10-27T14:32:25+00:00 DEBUG (7): Contents of $fromServer: false
2012-10-27T14:32:25+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
  1 => 
  SimpleXMLElement::__set_state(array(
     'not-authorized' => 
    SimpleXMLElement::__set_state(array(
    )),
  )),
)
2012-10-27T14:32:25+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T14:32:25+00:00 DEBUG (7): Response: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
2012-10-27T14:32:25+00:00 DEBUG (7): Sent: <stream:stream to="cweiske.de" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">
2012-10-27T14:32:25+00:00 DEBUG (7): Stream started
2012-10-27T14:32:25+00:00 DEBUG (7): Tag we're waiting for: stream:stream
2012-10-27T14:32:30+00:00 DEBUG (7): Contents of $fromServer: false
2012-10-27T14:32:30+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
)
2012-10-27T14:32:30+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T14:32:30+00:00 DEBUG (7): Received: 
PHP Fatal error:  Call to a member function asXML() on a non-object in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 270
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
raw

without-realm.txt

cweiske:~/Dev/tools/phergie> ./phergie.php 
[2012-10-27/13:17:54]  Connecting to cweiske.de
2012-10-27T13:17:54+00:00 DEBUG (7): Connection made
2012-10-27T13:17:54+00:00 DEBUG (7): Blocking enabled
2012-10-27T13:17:54+00:00 DEBUG (7): Sent: <stream:stream to="cweiske.de" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">
2012-10-27T13:17:54+00:00 DEBUG (7): Stream started
2012-10-27T13:17:54+00:00 DEBUG (7): Wait for response from server
2012-10-27T13:17:54+00:00 DEBUG (7): Tag we're waiting for: stream:stream
2012-10-27T13:17:59+00:00 DEBUG (7): Response (Xmpp_Connection): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1671315535' from='cweiske.de' version='1.0' xml:lang='en'><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></mechanisms><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='HzhW199FSAS7rIkHllLdacqERmE='/><register xmlns='http://jabber.org/features/iq-register'/></stream:features>
2012-10-27T13:17:59+00:00 DEBUG (7): Contents of $fromServer: SimpleXMLElement::__set_state(array(
   '@attributes' => 
  array (
    'id' => '1671315535',
    'from' => 'cweiske.de',
    'version' => '1.0',
  ),
))
2012-10-27T13:17:59+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
)
2012-10-27T13:17:59+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T13:17:59+00:00 DEBUG (7): Received: 
2012-10-27T13:17:59+00:00 DEBUG (7): Requesting Authentication: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
2012-10-27T13:17:59+00:00 DEBUG (7): Sent: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
2012-10-27T13:17:59+00:00 DEBUG (7): Tag we're waiting for: challenge
2012-10-27T13:18:04+00:00 DEBUG (7): Response (Xmpp_Connection): <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>bm9uY2U9IjI0OTI2NTMyOTAiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
2012-10-27T13:18:04+00:00 DEBUG (7): Contents of $fromServer: false
2012-10-27T13:18:04+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
  0 => 
  SimpleXMLElement::__set_state(array(
     0 => 'bm9uY2U9IjI0OTI2NTMyOTAiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=',
  )),
)
2012-10-27T13:18:04+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T13:18:04+00:00 DEBUG (7): Response: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">bm9uY2U9IjI0OTI2NTMyOTAiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
2012-10-27T13:18:04+00:00 DEBUG (7): Response (Decoded): nonce="2492653290",qop="auth",charset=utf-8,algorithm=md5-sess
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 208
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 214
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 224
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
PHP Notice:  Undefined index: realm in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 228
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
2012-10-27T13:18:04+00:00 DEBUG (7): Unencoded Response: username="mpd-bogo",realm="",nonce="2492653290",cnonce="508bdf0c4d8ec",nc="00000001",qop="auth",digest-uri="xmpp/",response="64c097bb82f42f89fbaf008193942d3d",charset="utf-8"
2012-10-27T13:18:04+00:00 DEBUG (7): Challenge Response: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9Im1wZC1ib2dvIixyZWFsbT0iIixub25jZT0iMjQ5MjY1MzI5MCIsY25vbmNlPSI1MDhiZGYwYzRkOGVjIixuYz0iMDAwMDAwMDEiLHFvcD0iYXV0aCIsZGlnZXN0LXVyaT0ieG1wcC8iLHJlc3BvbnNlPSI2NGMwOTdiYjgyZjQyZjg5ZmJhZjAwODE5Mzk0MmQzZCIsY2hhcnNldD0idXRmLTgi</response>
2012-10-27T13:18:04+00:00 DEBUG (7): Sent: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9Im1wZC1ib2dvIixyZWFsbT0iIixub25jZT0iMjQ5MjY1MzI5MCIsY25vbmNlPSI1MDhiZGYwYzRkOGVjIixuYz0iMDAwMDAwMDEiLHFvcD0iYXV0aCIsZGlnZXN0LXVyaT0ieG1wcC8iLHJlc3BvbnNlPSI2NGMwOTdiYjgyZjQyZjg5ZmJhZjAwODE5Mzk0MmQzZCIsY2hhcnNldD0idXRmLTgi</response>
2012-10-27T13:18:04+00:00 DEBUG (7): Tag we're waiting for: *
2012-10-27T13:18:09+00:00 DEBUG (7): Response (Xmpp_Connection): <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure>
2012-10-27T13:18:09+00:00 DEBUG (7): Contents of $fromServer: false
2012-10-27T13:18:09+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
  1 => 
  SimpleXMLElement::__set_state(array(
     'not-authorized' => 
    SimpleXMLElement::__set_state(array(
    )),
  )),
)
2012-10-27T13:18:09+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T13:18:09+00:00 DEBUG (7): Response: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
2012-10-27T13:18:09+00:00 DEBUG (7): Sent: <stream:stream to="cweiske.de" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0">
2012-10-27T13:18:09+00:00 DEBUG (7): Stream started
2012-10-27T13:18:09+00:00 DEBUG (7): Tag we're waiting for: stream:stream
2012-10-27T13:18:14+00:00 DEBUG (7): Contents of $fromServer: false
2012-10-27T13:18:14+00:00 DEBUG (7): Contents of $this->_buffer before foreach: array (
)
2012-10-27T13:18:14+00:00 DEBUG (7): Contents of $this->_buffer after foreach: array (
)
2012-10-27T13:18:14+00:00 DEBUG (7): Received: 
PHP Fatal error:  Call to a member function asXML() on a non-object in /home/cweiske/Dev/tools/phergie/vendor/alexmace/xmpp/Xmpp/Connection.php on line 270
PHP Stack trace:
PHP   1. {main}() /home/cweiske/Dev/tools/phergie/phergie.php:0
PHP   2. Phergie_Bot->run() /home/cweiske/Dev/tools/phergie/phergie.php:60
PHP   3. Phergie_Bot->loadConnections() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:422
PHP   4. Phergie_Driver_Xmpp->doConnect() /home/cweiske/Dev/tools/phergie/Phergie/Bot.php:402
PHP   5. Xmpp_Connection->authenticate() /home/cweiske/Dev/tools/phergie/Phergie/Driver/Xmpp.php:123
Anonymous Anonymous
owner

History