Fiddler does not capture network calls from Java process?

fiddler, java

Solution

Try this

    System.setProperty("http.proxyHost", "127.0.0.1");
    System.setProperty("https.proxyHost", "127.0.0.1");
    System.setProperty("http.proxyPort", "8888");
    System.setProperty("https.proxyPort", "8888");

http://fiddler2.com/documentation/Configure-Fiddler/Tasks/ConfigureJavaApp

EDIT

Okay in my Fiddler option the

General Tab everything is ticked except Enable high Resoulution themes

Https Tab Everything is ticked and and the drop down box its from all process

Connection Tab my port is 8888 and everything is ticked except Use PaC Script and Capture Ftp Request

Gateway tab the only think ticked is Autonmatically detect Proxy using Wpad

Appearance Tab only Use Smart Scroll is clicked

Extension Tab Automatically Reload Script when Changed is clicked/ticked

Also make Sure in the File option click Capture Traffic to on. if its on already b4 then switch it off

Problem

Read many articles which recommends to set following system properties - ``` System.setProperty("proxySet", "true"); System.setProperty("proxyHost", "127.0.0.1"); System.setProperty("proxyPort", "8888"); ``` Or Setting using Java VM arguments "-DproxyHost=127.0.0.1 -DproxyPort=8888" Both the approaches does not make the network calls captured :(

Original source

Related problems