Capture Android traffic with Fiddler

Fiddler allows you to capture traffic logs on your Android device and utilize them for debugging network requests and responses on your Symphony mobile app.

Capture Android traffic with Fiddler:

  1. Install Fiddler on your desktop machine and ensure the PC and Android device are discoverable on the same network. Refer to this page for further information on installing Fiddler.
  2. From Fiddler, select Tools, then Options.
  3. Select the Connections tab.
  4. Select the Allow remote computers to connect checkbox and ensure the value in Fiddler Classiclistens onport is 8888:

  1. Restart Fiddler.

Once is has been confirmed that Fiddler is listening successfully, the next step is to use it as a proxy on Android.

  1. On your Android device, go to Settings.
  2. Select Connections and navigate to Wi-Fi.
  3. On your current connected WiFi network, select the Settings cogwheel.
  4. Select View more.
  5. Select Proxy > Manual.
  6. Enter your IP address in the Proxy host name field and enter 8888 in the Proxy port, then save your settings. The setup will now allow you to capture HTTP traffic.

When trying to open any HTTPS site, you may receive a This site’s security certificate is not trusted! error. To resolve this, you need to trust the Fiddler root certificate.

By default, the Fiddler-generated certificate is valid for a period of 5 years. If this causes a ERR_CERT_VALIDITY_TOO_LONG error. This can be resolved by:

  • Running the about:config in Fiddler QuickExec, and then,
  • Creating a new variable, fiddler.certmaker.ValidDays, with a value of 820.

You can then continue with installing the Fiddler Root certificate:

  1. From a browser, navigate to the following URL: http://ipv4.fiddler:8888
  2. Download the Fiddler root certificate.
  3. Install the certificate on your device.
  4. Confirm you can now additionally capture HTTPS traffic.
  5. Once the desired requests and responses are captured, export the Fiddler log and send them to the Symphony Support team.
    • If the files are too large to email, inform the Symphony Support team. They can arrange to receive it using a secure file transfer site, Filevault.
  1. Once debugging is complete, remove the WiFi proxy from your Android device.