18

Packet analyzers like Wireshark, and Fiddler allows for low-level packet dump, and appears to be the recommended way to debug binary websocket frames. Major problems of this approach includes secure websocket layers, complexity, friction in the development process, amongst others.

Other than Wireshark, what browser native, or extension tools are available to see at least a hex dump of binary frames exchanged via Websockets?

edit: as of Chrome 56.0, only frames of textual websocket connections can be watched (by going debug console (F12) -> Network -> Selecting the websocket connection (to identify: it has 101 HTTP status code) -> Frames panel); binary packets still show up as "binary frame (Opcode 2)

Community
  • 1
  • 1
Silver Dragon
  • 5,110
  • 6
  • 37
  • 68
  • 1
    As @MrCC has correctly pointed out (in a now-deleted answer's comment), that nope, Chrome still doesn't do binary packets – Silver Dragon Apr 06 '17 at 20:55

1 Answers1

1

In Firefox you use Web Socket Monitor extension to get hex dump for binary packets.

Example of web socket monition

Kshitij
  • 323
  • 3
  • 9