Let's get to the point. Background: The Charles3.10.1 version installed on Mac, the bag that can catch the browser, but the bag that can't catch the mobile app (Android and iOS are the same), but the strange thing is that Android still can surf the internet, iOS can't.
The troubleshooting steps are as follows:
1, originally I suspected that the default 8888 port was occupied,Lsof-i tcp:8888 looked under, and did not. Port changed to 7777 still can not grasp the app package;
2, modify the phone IP address is static, with the Mac to maintain the same network segment, still not. In fact, this is not necessary, because the Mac and the phone is already linked to the same wifi.
3, check that Charles Access Control Setting,ip Range is set to 0.0.0.0/0 this will not be a problem.
Then I began to doubt life.
The truth of the matter is: Mac up and down an update package, let restart, but I did not restart, has been stuck in this state. So it leads to the bag that can't catch the app. At this point although the Mac display turned off the firewall, but do not know whether to open, do not know what the Devil Apple.
Add three points:
1, if Chrome has something like Switchyomega, disable it, or select "System Agent" so that Charles can catch the browser's data properly.
2,charles in the proxy setting---mac OS x option, if not selected as follows:
The browser data is not captured, but other network requests on the PC, such as cloud disks, will still be caught.
3, if want to forbid Charles, point that Little red dot start recording/stop recording is OK!
Other references here, the comparison details of the introduction are not repeated!
A strange problem: on Mac, Charles can only catch the browser, catch the problem of the app package failure