not seeing websocket traffic

1,032 views
Skip to first unread message

claude...@gmail.com

unread,
Sep 22, 2013, 12:02:50 AM9/22/13
to httpf...@googlegroups.com
Hi everyone. First I just want to say what a useful tool Fiddler is for debugging and investigation. I am having a problem seeing websocket traffic once an https tunnel is set up. I know that I am missing packets since I see them in wireshark. I have upgraded to the latest version I could find, 2.4.5.4 beta, after seeing someone else with a websocket question. That didn't change the behavior. I've read elsewhere that I should expect to see more websocket information in the Log tab, but nothing shows up.  I'm not sure if I need to configure something differnetly or not.  Here is a url where I see the initial tunnel set up but then nothing further even though I see additional packets flowing via wireshark:

https://test.nascardatalive.com/test.html?ws://test.nascardatalive.com:5002/raceviewmobi

Thanks for any advice.

EricLaw

unread,
Sep 22, 2013, 11:38:05 PM9/22/13
to httpf...@googlegroups.com
1. Install the latest Alpha to work around a bug in the older build:


http://ericlawrence.com/dl/Fiddler2AlphaSetup.exe

http://ericlawrence.com/dl/Fiddler4AlphaSetup.exe


2. See http://fiddler2.com/blog/blog/2013/06/04/what-s-new-in-fiddler-2-4-4-5:


In preparation for a full-featured WebSockets UI, Fiddler no longer spews WebSocket messages to the Log tab. If you’d like to re-enable that behavior until the full UI is available, you can do so using FiddlerScript. Simply click Rules > Customize Rules and add the following function inside your Handlers class.

  static function OnWebSocketMessage(oMsg: WebSocketMessage) {

    // Log Message to the LOG tab
    FiddlerApplication.Log.LogString(oMsg.ToString());

    /*
    // Modify a message's content
    var sPayload = oMsg.PayloadAsString();
    if (sPayload.Contains("time")) {
        oMsg.SetPayload(sPayload + "... bazinga!");
    }
                            
    */
  }

claude...@gmail.com

unread,
Sep 23, 2013, 10:35:48 AM9/23/13
to httpf...@googlegroups.com
Thanks Eric. I will try that. One more thing to add - when I follow the URL in my post using IE as the browser, Fiddler seems able to see the web sockets traffic and I see the WS icon in the leftmost column. 
Reply all
Reply to author
Forward
0 new messages