fiddler doesn't capture python http request?

11,236

Solution 1

Python does not use proxy by default, so fiddler cannot intercept its network traffic. You may need to change the Python program a little. Here is another thread on how to see proxy for Python programs Proxy with urllib2.

Solution 2

It will only work if you set Python to use Fiddler as a proxy. It may be easier to use Wireshark, which will let you monitor all HTTP traffic, without the need for proxies.

Share:
11,236
Henry
Author by

Henry

Updated on June 15, 2022

Comments

  • Henry
    Henry almost 2 years

    I've tried to use fiddle2 to debug one of my python program which makes http request and gets response. However I didn't see any traffic on fiddler no matter I ran python in command prompt or python GUI. Fiddle filter is not set, i.e., set to show all processes, I did see my browsers' traffic there.

    Is there any settings I need to set?

    Thanks.

  • user352472
    user352472 over 10 years
    If you want to view https content, then fiddler is easier as wireshark can be hard to setup for that.
  • Saige Zhang
    Saige Zhang almost 5 years
    I used proxy but still cannot capture any request.