I had just purchased your book and getting into the examples. I'm getting nothing back from Openfire after sending xmpp:restart='true'. Apparently this is a known issue:
http://community.igniterealtime.org/thread/26972
Is there a workaround for this, or do I have to use another XMPP server (difficult for us as our openfire service has been running for over 3 years now without failure and is otherwise excellent for our needs.)
Output:
Code:
Strophe is connecting.
SENT: <body rid='637425159' xmlns='http://jabber.org/protocol/httpbind' to='myserver.com' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>
RECV: <body xmlns='http://jabber.org/protocol/httpbind' xmlns:stream='http://etherx.jabber.org/streams' authid='cdae8eba' sid='cdae8eba' secure='true' requests='2' inactivity='30' polling='5' wait='60' ver='1.6'><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><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features></body>
on connect
SENT: <body rid='637425160' xmlns='http://jabber.org/protocol/httpbind' sid='cdae8eba'><auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/></body>
RECV: <body xmlns='http://jabber.org/protocol/httpbind'><challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cmVhbG09InNvdXJjZWVsZW1lbnRzLmNvbSIsbm9uY2U9Ing1UTZCb2ZLRzVNcm9EN2wzT0tnaVcra0dXTTZKVTRhMXpKNVI2TjAiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge></body>
SENT: <body rid='637425161' xmlns='http://jabber.org/protocol/httpbind' sid='cdae8eba'><response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9InJlZGJpcmQiLHJlYWxtPSJzb3VyY2VlbGVtZW50cy5jb20iLG5vbmNlPSJ4NVE2Qm9mS0c1TXJvRDdsM09LZ2lXK2tHV002SlU0YTF6SjVSNk4wIixjbm9uY2U9ImQ0MWQ4Y2Q5OGYwMGIyMDRlOTgwMDk5OGVjZjg0MjdlIixuYz0iMDAwMDAwMDEiLHFvcD0iYXV0aCIsZGlnZXN0LXVyaT0ieG1wcC9zb3VyY2VlbGVtZW50cy5jb20iLHJlc3BvbnNlPSI5MTM0MGI0ZDZiNzIwYTE1ZTEwNGVmZjRiZmM0MWI2YSIsY2hhcnNldD0idXRmLTgi</response></body>
RECV: <body xmlns='http://jabber.org/protocol/httpbind'><success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cnNwYXV0aD03OTY2NTg4OTAyYjkzZjBiMGVkZDMwZTA4ODAzMGViMg==</success></body>
SENT: <body rid='637425162' xmlns='http://jabber.org/protocol/httpbind' sid='cdae8eba' to='myserver.com' xml:lang='en' xmpp:restart='true' xmlns:xmpp='urn:xmpp:xbosh'/>
RECV: <body xmlns='http://jabber.org/protocol/httpbind'/>