I'm not sure about monitoring websockets, but the websocket messages should be directly translated from the ZMQ messages. If you run the Qt console with the debug option (jupyter qtconsole --debug --kernel mykernelname), it should show all the messages it sends and receives in the terminal where you launched it.
On 18 December 2017 at 14:16, Christian Schafmeister < [email protected]> wrote: > > Howdy, > > We are developing a jupyter notebook kernel in Common Lisp that supports > jupyter widgets. > > What is the best tool for monitoring jupyter notebooks websockets > communication? > We primarily develop on OS X > > We have used Firefox 56.0.2 with the "Websocket monitor" extension - but > that will stop working if I upgrade to Firefox quantum. > > I've installed wireshark but that doesn't seem to capture everything on > the loopback interface. > I'm new to wireshark and perhaps I'm not using it correctly. > I see many more messages in "Firefox/Websocket monitor" than I see in the > wireshark window with 'websocket' filter. > > A particular problem that we have is that the websockets frames going from > the jupyter server to the browser are "Binary format" and not "Text format". > This appears to work completely fine for jupyter notebook operation but it > makes it more difficult to see the JSON messages in the messages because > only OS X Safari, Firefox with the websocket monitor and wireshark with the > websocket filter can be configured to present the JSON payload of a binary > format frames. > I'll post another question about "binary" vs "text" format websocket frame > and how to control it. > > Best, > > Christian Schafmeister > Professor > Chemistry Department > Temple University > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/cd995831-cd04-45d8-ba81-cd8ee25d9253%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/cd995831-cd04-45d8-ba81-cd8ee25d9253%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qgHfyCwZ1qfmt3oTPTsNaXF0BxSXOrGRMk7qp3bsWQ%2B%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
