-1

I have configured Charles as a proxy so I can capture all the requests on my android phone.

I am able to capture requests from all apps except one special app. When I set my wifi's proxy to my computer and port 8888, this app can not connect to network. While other apps connect fine at the same time.

I have tried using Packet Capture too and the behaviour is the same.

So my question is how does this app know I am using Charles? And is there any way to hide Charles from it?

Kingname
  • 1,302
  • 11
  • 25

2 Answers2

0

Have you setup the Charles ssl certificate on the android device? It could be that the app is rejecting Charles' self signed certificate.

Look here for details on how to set it up -> https://community.tealiumiq.com/t5/Tealium-for-Android/Setting-up-Charles-to-Proxy-your-Android-Device/ta-p/5121

Colwin
  • 2,655
  • 3
  • 25
  • 25
  • And all requests of other app can be captured. So I think it is out of certificate's business. – Kingname May 18 '17 at 08:48
  • As what you said, the root reason is belong to the certificate. When I upgrade Charles, the old certificate will not be replaced by the latest one, I have to remove it from mac's key chains and reinstall it. – Kingname Jul 14 '17 at 09:16
0

I have found the problem. When I upgrade Charles, the certificate will not update automatically. It means that I have to remove the old certificate from mac's Key chains and then reinstall the latest one and then believe it. If not, all HTTPS requests methods will become "CONNECT" method and it will always failed.

If you have the same problem, please try to remove the old certificate and reinstall the latest one both in mac and phone. Hope you can solve the problem.

Kingname
  • 1,302
  • 11
  • 25