Questions tagged [charles-proxy]

Questions related to Charles, an HTTP proxy / HTTP monitor / Reverse Proxy.

Charles

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy.

Resources

585 questions
92
votes
8 answers

Is it possible to rewrite a status code with Charles Proxy?

I'm using Charles Proxy to rewrite a response from an API for testing purpose. If I set a breakpoint, I am allowed to completely rewrite the raw response as I wish. However, if I want to automate it via the "Rewrite" tool, I'm stuck, it seems that…
Thomas
  • 1,360
  • 1
  • 9
  • 15
84
votes
13 answers

How to use Charles Proxy on the Xcode 6 (iOS 8) Simulator?

It seems that the directory for the iOS Simulator has changed. It used to be in ~/Library/Application\ Support/iPhone\ Simulator/ and now it's in ~/Library/Developer/CoreSimulator/Devices/.
codeperson
  • 8,050
  • 5
  • 32
  • 51
74
votes
9 answers

How do I configure Charles Proxy and Android so that I can view HTTPS sessions

I want to view HTTPS sessions on my Android phone using Charles Proxy. I need to see the raw request/response contents for debugging my app. I've configured Charles by adding the host and port under "Proxy Settings" -> SSL Tab. When I run the app,…
bianca
  • 7,004
  • 12
  • 43
  • 58
65
votes
8 answers

How to configure SSL certificates with Charles Web Proxy and the latest Android Emulator on Windows?

I would like to use Charles web proxy to work with the Android emulator in Windows. I've successfully set up charles and have started the emulator with the command line: emulator -http-proxy 127.0.0.1:8888 @NexusOne I can see traffic coming from…
Martyn
  • 16,432
  • 24
  • 71
  • 104
59
votes
3 answers

Unable to install Charles root certificate on iOS Simulator 14.5

On Charles mac app, if I go to Help > SSL Proxying > Install Charles Root Certificate on iOS Simulators and then run any Simulator from Xcode I don't see Charles certificates installed on simulator. I am using Charles v4.6.1. This was working fine…
SnK
  • 764
  • 2
  • 6
  • 10
54
votes
10 answers

Charles Proxy Response unreadable

Recently I want to use Charles to help me debug my web code. However, when I logged out response, it was unreadable. How could I deal with that? I need to see those actual text in response.
liyansong
  • 839
  • 1
  • 7
  • 14
53
votes
11 answers

Charles proxy fails on SSL Connect Method

I have Android 4.3 forced to use Charles proxy via IPTABLES. The charles certificate is installed on the phone. I am able to capture normal SSL traffic like https websites in the browser. All POST and GET methods seem to work fine. In a particular…
user1318504
  • 608
  • 1
  • 6
  • 11
51
votes
2 answers

Charles Proxy SSL: "SSL Proxying not enabled for this host"

Why am I not able to see responses in Charles Proxy when debugging an app? It is very strange, all certificates have been installed on my laptop and trusted, same for my devices, and I am still getting SSL Proxying not enabled for this host, even…
TeriA
  • 511
  • 1
  • 4
  • 4
50
votes
4 answers

How to change response body with Charles?

I am using Charles (http://www.charlesproxy.com) to debug my HTTP requests and now I run into an issue where I am receiving json response which I need to edit to see how my app behaves. I was looking at Rewrite option but can't really figure out how…
user3339562
  • 1,325
  • 4
  • 18
  • 34
48
votes
7 answers

Charles proxy not working with Chrome

I am working on Mac and have identical Proxy settings for the System and Firefox browser. However, I am able to see my Firefox traffic in Chrales but I don't see my Chrome and Safari traffic (which use System Proxy Settings). What do I need to do?…
Asad Iqbal
  • 3,241
  • 4
  • 32
  • 52
47
votes
4 answers

Charles - How to filter the recording using the "client address" field?

I am debugging on my computer by means of adding its IP as the proxy in my iPad. I just need to see the traffic coming from iPad and not the computer. The IP of the iPad is mentioned in the "client address" field of the Overview section. How do I…
Anton Unt
  • 1,835
  • 1
  • 21
  • 47
46
votes
6 answers

Charles Proxy SSL Certificate not working

I want to modify the website www.moviestarplanet.com. The site got https secured 2-3 weeks ago and i could not use charles anymore.. I've tried so much,but everytime it comes: unknown. Could anyone help me? Instead of unknown there should be:…
NiMe
  • 461
  • 1
  • 4
  • 4
42
votes
5 answers

How to inspect websocket traffic with charlesproxy for iOS simulator/devices

I would like to inspect network traffic going through web sockets, I have no control over the networking code as this is a binary lib for which I do not have the source code, so I cannot do any log/breakpoint in the networking part of the code. I…
matanwrites
  • 812
  • 1
  • 10
  • 18
34
votes
2 answers

Simple HTTP server for logging requests only

I need to run a simple HTTP server that will only log incoming requests and nothing. It should log whole requests' content. Like headers, cookies, body.... I need just simple solution that I can run in a few minutes and will work. Implementation…
user4230508
32
votes
8 answers

Charles ssl certificate download failed "due to network failures"

The Charles SSL/HTTPS proxying was working fine on my Samsung Galaxy S5 phone. I remove the certificate while not debugging because the phone warns me about the connection being monitored by a third party. Now when I attempt to re-download the…
alexbirkett
  • 2,604
  • 2
  • 26
  • 30
1
2 3
38 39