Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Tracing and capturing QlikView traffic using Fiddler HTTP Debugging Proxy

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Bjorn_Wedbratt
Former Employee
Former Employee

Tracing and capturing QlikView traffic using Fiddler HTTP Debugging Proxy

Last Update:

Jun 14, 2021 9:31:27 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 30, 2012 6:56:45 AM

Environment:

QlikView 


What is Fiddler?

  • HTTP Debugging Proxy
  • Logs all HTTP(S) traffic between your computer and any web server
  • Also logs HTTP(S) traffic between services on a computer             
  • Freeware – can be downloaded from www.fiddler2.com


How does it work?

  • Fiddler changes the proxy settings (Internet Properties – Connections – LAN settings – Advanced) for the currently logged on user for HTTP(S) traffic when running

    Proxy Settings.png

  • All HTTP(S) traffic will go through Fiddler on port 8888, i.e. Fiddler will listen on this port

    Fiddler Example.png


Note: Proxy settings will be changed for the currently logged on user! If tracing a service, make sure to log on with the account running the service.

Which QlikView components can be traced using Fiddler?

  • Client communication using Ajax
  • Client communication using QlikView Plugin over HTTP(S) tunneling

The following QlikView services can be traced using Fiddler

The following communication can not be traced using Fiddler

  • Client communication using QlikView Plugin and native qvp protocol
  • Server communication to QlikView Server using qvp protocol (on TCP port 4747)
  • Any other TCP-based communication. To trace TCP communication, use WireShark, Microsoft Network Monitor or similar tools.

 

Resolution:


How to use Fiddler

  1. Download and install Fiddler on the client, from www.fiddler2.com
  2. Launch Fiddler before starting the browser to make sure proxy settings are applied
  3. Navigate to the URL to be traced, for example http://qvserver/qlikview.
  4. Tracing will start immediately. To stop capturing traffic go to File - Capture traffic or press F12

How to save a Fiddler trace

  1. If not already done, stop capturing traffic by pressing F12
  2. Go to File - Save - All Sessions...
  3. Save the file as type *.saz

How to capture HTTPS traffic

By default HTTPS traffic is captured encrypted. To be able to analyze the traffic it must be decrypted before its captured. To activate HTTPS decryption in Fiddler do the following

  1. In Fiddler go to Tools - Fiddler Options
  2. On the tab HTTPS make sure to check
x Capture HTTPS CONNECTs
x Decrypt HTTPS traffic (...from all processes)
 
Note: When activating Decrypt HTTPS traffic a warning will show that Fiddler is trying to install a new root CA certificate. If you don't allow this, browsers may render a warning when accessing a secured web site about the site not being trusted.
 
 

How to capture HTTP traffic between QlikView services

Fiddler will change proxy settings for the currently logged on user.
  1. On the machine hosting the service(s), log on with the account running the service
  2. Start Fiddler
  3. If no traffic is captured for the service(s), restart the service(s) while Fiddler is still running
Note: If services are running on different machines (for example Management Service and Distribution Service) Fiddler will capture traffic from the machine where it's running to the other machine. It's essential to run Fiddler on the correct machine, or both, depending on tracing requirements.

How to capture HTTP traffic when reloading data from web pages, using QlikView Distribution Service

QlikView Distribution Service can reload QlikView documents, which retrieves data using the http/s protocol, for example reading data from a web page. QlikView Distribution Service may however not obey the proxy settings in Internet Explorer.  Instead proxy settings must be turned on for the WinHttp protocol, to be able to capture traffic when reloading a document using web pages as data sources.

To configure proxy settings for WinHttp do the following (on Windows 2008 and above):
 
  1. On the machine hosting the QlikView Distribution Service, launch a Windows Command Prompt with elevated privileges (Run as administrator)
  2. In the Command Prompt, type the following command line:
    netsh winhttp import proxy source=ie
  3. Restart QlikView Distribution Service

When done capturing traffic, make sure to reset proxy settings for WinHttp 

  1. In the Command Prompt, type the following command line:
    netsh winhttp reset proxy

Known limitations

Safari
When using Safari as a browser, Fiddler will not be able to capture traffic to sites referenced as local intranet sites, i.e. http://mysite. Instead reference the site using Fully Qualified Name, i.e http://mysite.company.com


For more information and training on Fiddler: http://www.fiddler2.com/Fiddler/help/
For information on how to use Fiddler with Firefox: http://www.telerik.com/automated-testing-tools/blog/13-04-01/configuring-firefox-for-fiddler.aspx
 
 

Related Content:

Tracing and capturing Qlik Sense Enterprise on Windows traffic using Fiddler HTTP Debugging Proxy 

 
Labels (1)
Contributors
Version history
Last update:
‎2021-06-14 09:31 AM
Updated by: