Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Debug Info for working client handshake

By: a guest on Jan 13th, 2014  |  syntax: None  |  size: 6.66 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 2014-01-13 15:48:39-0300 [PubSubServer1,5,127.0.0.1] topic http://test.com/test removed from subscriptions map - no one subscribed anymore
  2. 2014-01-13 15:48:39-0300 [PubSubServer1,5,127.0.0.1] unsubscribed peer 127.0.0.1:56690 from all topics
  3. 2014-01-13 15:48:39-0300 [PubSubServer1,5,127.0.0.1] connection from 127.0.0.1:56690 lost
  4. 2014-01-13 15:48:40-0300 [autobahn.wamp.WampServerFactory]
  5.         [('debug', True, 'WampServerFactory'),
  6.          ('debugCodePaths', False, 'WampServerFactory'),
  7.          ('logOctets', True, 'WampServerFactory'),
  8.          ('logFrames', True, 'WampServerFactory'),
  9.          ('trackTimings', False, 'WampServerFactory'),
  10.          ('allowHixie76', True, 'WampServerFactory'),
  11.          ('utf8validateIncoming', True, 'WampServerFactory'),
  12.          ('applyMask', True, 'WampServerFactory'),
  13.          ('maxFramePayloadSize', 0, 'WampServerFactory'),
  14.          ('maxMessagePayloadSize', 0, 'WampServerFactory'),
  15.          ('autoFragmentSize', 0, 'WampServerFactory'),
  16.          ('failByDrop', True, 'WampServerFactory'),
  17.          ('echoCloseCodeReason', False, 'WampServerFactory'),
  18.          ('openHandshakeTimeout', 5, 'WampServerFactory'),
  19.          ('closeHandshakeTimeout', 1, 'WampServerFactory'),
  20.          ('tcpNoDelay', True, 'WampServerFactory'),
  21.          ('versions', [0, 8, 13], 'WampServerFactory'),
  22.          ('webStatus', True, 'WampServerFactory'),
  23.          ('requireMaskedClientFrames', True, 'WampServerFactory'),
  24.          ('maskServerFrames', False, 'WampServerFactory'),
  25.          ('perMessageCompressionAccept',
  26.           <function <lambda> at 0x27fe6e0>,
  27.           'WampServerFactory')]
  28. 2014-01-13 15:48:40-0300 [autobahn.wamp.WampServerFactory] connection accepted from peer 127.0.0.1:58155
  29. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] RX Octets from 127.0.0.1:58155 : octets = 474554202f77732f20485454502f312e310d0a582d5265616c2d49503a2031302e302e302e3136350d0a486f73743a203230302e32372e3232322e360d0a582d466f727761726465642d466f723a2031302e302e302e3136350d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20757067726164650d0a4f726967696e3a20687474703a2f2f3230302e32372e3232322e360d0a5365632d576562536f636b65742d50726f746f636f6c3a2077616d700d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a2046495066726e432f62325476543247454568305830413d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a5365632d576562536f636b65742d457874656e73696f6e733a20782d7765626b69742d6465666c6174652d6672616d650d0a557365722d4167656e743a204d6f7a696c6c612f352e3020285831313b204c696e7578207838365f363429204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f32392e302e313534372e3736205361666172692f3533372e33360d0a436f6f6b69653a2073657373696f6e5f69645f61766c3d31302e302e302e3136352d61306539656565362d646638322d346339652d383666642d3031313636653634303738380d0a0d0a
  30. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] received HTTP request:
  31.        
  32.         GET /ws/ HTTP/1.1
  33.         X-Real-IP: 10.0.0.165
  34.         Host: 200.xxx.xxx.xxx
  35.         X-Forwarded-For: 10.0.0.165
  36.         Upgrade: websocket
  37.         Connection: upgrade
  38.         Origin: http://200.xxx.xxx.xxx
  39.         Sec-WebSocket-Protocol: wamp
  40.         Pragma: no-cache
  41.         Cache-Control: no-cache
  42.         Sec-WebSocket-Key: FIPfrnC/b2TvT2GEEh0X0A==
  43.         Sec-WebSocket-Version: 13
  44.         Sec-WebSocket-Extensions: x-webkit-deflate-frame
  45.         User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36
  46.         Cookie: session_id_avl=10.0.0.165-a0e9eee6-df82-4c9e-86fd-01166e640788
  47.        
  48.        
  49.        
  50.        
  51. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] received HTTP status line in opening handshake : GET /ws/ HTTP/1.1
  52. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] received HTTP headers in opening handshake : {u'origin': u'http://200.xxx.xxx.xxx', u'upgrade': u'websocket', u'sec-websocket-extensions': u'x-webkit-deflate-frame', u'x-forwarded-for': u'10.0.0.165', u'sec-websocket-version': u'13', u'sec-websocket-protocol': u'wamp', u'host': u'200.xxx.xxx.xxx', u'sec-websocket-key': u'FIPfrnC/b2TvT2GEEh0X0A==', u'user-agent': u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36', u'connection': u'upgrade', u'cookie': u'session_id_avl=10.0.0.165-a0e9eee6-df82-4c9e-86fd-01166e640788', u'pragma': u'no-cache', u'cache-control': u'no-cache', u'x-real-ip': u'10.0.0.165'}
  53. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] parsed WebSocket extension 'x-webkit-deflate-frame' with params '{}'
  54. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] client requested 'x-webkit-deflate-frame' extension we don't support or which is not activated
  55. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] sending HTTP response:
  56.        
  57.         HTTP/1.1 101 Switching Protocols
  58.         Server: AutobahnPython/0.7.4
  59.         Upgrade: WebSocket
  60.         Connection: Upgrade
  61.         Sec-WebSocket-Protocol: wamp
  62.         Sec-WebSocket-Accept: yn/LD2pYeJKiV25n/d5dicuIz+E=
  63.        
  64.        
  65. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] TX Octets to 127.0.0.1:58155 : sync = False, octets = 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e507974686f6e2f302e372e340d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d50726f746f636f6c3a2077616d700d0a5365632d576562536f636b65742d4163636570743a20796e2f4c44327059654a4b695632356e2f643564696375497a2b453d0d0a0d0a
  66. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] TX WAMP: [0, "t1kGR-q4h7DOLCiz", 1, "Autobahn/0.7.4"]
  67. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] TX Frame to 127.0.0.1:58155 : fin = True, rsv = 0, opcode = 1, mask = -, length = 44, repeat_length = None, chopsize = None, sync = False, payload = [0, "t1kGR-q4h7DOLCiz", 1, "Autobahn/0.7.4"]
  68. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] TX Octets to 127.0.0.1:58155 : sync = False, octets = 812c5b302c202274316b47522d71346837444f4c43697a222c20312c20224175746f6261686e2f302e372e34225d
  69. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] registered topic http://test.com/test for publication (match by prefix = False)
  70. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] registered topic http://test.com/test for subscription (match by prefix = False)
  71. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] RX Octets from 127.0.0.1:58155 : octets = 819ab8829ac1e3b7b6e3d0f6eeb182adb5b5ddf1eeefdbedf7eecce7e9b59adf
  72. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] RX Frame from 127.0.0.1:58155 : fin = True, rsv = 0, opcode = 1, mask = b8829ac1, length = 26, payload = [5,"http://test.com/test"]
  73. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] RX WAMP: [5,"http://test.com/test"]
  74. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] subscriptions map created for topic http://test.com/test
  75. 2014-01-13 15:48:40-0300 [PubSubServer1,8,127.0.0.1] subscribed peer 127.0.0.1:58155 on topic http://test.com/test