Skip to content

Instantly share code, notes, and snippets.

@sawantuday
Created August 6, 2013 12:56
Show Gist options
  • Save sawantuday/6164227 to your computer and use it in GitHub Desktop.
Save sawantuday/6164227 to your computer and use it in GitHub Desktop.
Strophe connection logs
Strophe is connecting.
SENT: <body rid='5793724' xmlns='http://jabber.org/protocol/httpbind' to='ip-172-31-25-166' 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:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' ver='1.6' secure='true' hold='1' requests='2' inactivity='10' sid='a31d0e9f-6943-45b6-830e-c83ea400448d' xmpp:version='1.0' wait='30' maxpause='10' from='ip-172-31-25-166' ack='5793724' polling='10' authid='23538d95-7d0a-42bc-9975-79426af339b0'/>
SENT: <body rid='5793725' xmlns='http://jabber.org/protocol/httpbind' sid='a31d0e9f-6943-45b6-830e-c83ea400448d'/>
RECV: <body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' secure='true' xmpp:version='1.0' from='ip-172-31-25-166' ack='5793725'><stream:features xmlns='jabber:client'><ver xmlns='urn:xmpp:features:rosterver'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns='http://jabber.org/features/iq-register'/><auth xmlns='http://jabber.org/features/iq-auth'/></stream:features></body>
SENT: <body rid='5793726' xmlns='http://jabber.org/protocol/httpbind' sid='a31d0e9f-6943-45b6-830e-c83ea400448d'><auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>cm9oaXRAaXAtMTcyLTMxLTI1LTE2NgByb2hpdAByb2hpdA==</auth></body>
RECV: <body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' secure='true' xmpp:version='1.0' from='ip-172-31-25-166' ack='5793726'><success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/></body>
SENT: <body rid='5793727' xmlns='http://jabber.org/protocol/httpbind' sid='a31d0e9f-6943-45b6-830e-c83ea400448d' to='ip-172-31-25-166' xml:lang='en' xmpp:restart='true' xmlns:xmpp='urn:xmpp:xbosh'/>
RECV: <body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' secure='true' xmpp:version='1.0' from='ip-172-31-25-166' ack='5793727'><stream:features xmlns='jabber:client'><ver xmlns='urn:xmpp:features:rosterver'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/><register xmlns='http://jabber.org/features/iq-register'/><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/></stream:features></body>
SENT: <body rid='5793728' xmlns='http://jabber.org/protocol/httpbind' sid='a31d0e9f-6943-45b6-830e-c83ea400448d'><iq type='set' id='_bind_auth_2' xmlns='jabber:client'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>home</resource></bind></iq></body>
RECV: <body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' secure='true' xmpp:version='1.0' from='ip-172-31-25-166' ack='5793728'><iq xmlns='jabber:client' type='result' to='rohit@ip-172-31-25-166/home' id='_bind_auth_2'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>rohit@ip-172-31-25-166/home</jid></bind></iq></body>
SENT: <body rid='5793729' xmlns='http://jabber.org/protocol/httpbind' sid='a31d0e9f-6943-45b6-830e-c83ea400448d'><iq type='set' id='_session_auth_2' xmlns='jabber:client'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq></body>
RECV: <body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' secure='true' xmpp:version='1.0' from='ip-172-31-25-166' ack='5793729'><iq xmlns='jabber:client' type='result' to='rohit@ip-172-31-25-166/home' id='_session_auth_2'/></body>
Strophe is connected.
Strophe is disconnecting.
SENT: <body rid='5793730' xmlns='http://jabber.org/protocol/httpbind' sid='a31d0e9f-6943-45b6-830e-c83ea400448d' type='terminate'><presence xmlns='jabber:client' type='unavailable'/></body>
RECV: <body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' type='terminate' secure='true' xmpp:version='1.0' from='ip-172-31-25-166' ack='5793730'/>
Strophe is disconnected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment