Chrome only works with Charles Proxy turned on, despite de-selecting all proxies - charles-proxy

I notice that my 2019 MacBook Pro running macOS Big Sur 11.0.1, I can only access the internet in Google Chrome and Safari with Charles Proxy turned on. I've attempted to follow the steps in https://www.charlesproxy.com/documentation/faqs/can-no-longer-browse-without-charles-running/ yet in System Preferences -> Network -> Advanced -> Proxies, Web Proxy (HTTP) and Secure Web Proxy (HTTPS) are already unchecked. What might be causing this behavior?

Related

Internet does not work on ios/Android after connecting to Charles proxy

I have installed the root certificates on my Mac and trusted it as well.
Set up the manual proxy on Android and iOS with same IP address as the Mac.
On Charles disabled the allow list.
Enable the SSL proxy using *.
I followed all the possible steps but still on both the devices, internet does not work.
Can anybody help me with this? I am totally stuck at this point.

Whenever Charles is shut down, the macOS Proxy auto turned on. How to fix that?

I use Charles. Sometimes needing the macOS Proxy on, but sometimes OFF.
When my macOS Proxy on, my browser cannot be used. So I need to turn it OFF.
However, lately, even after turning it OFF, when I shut down Charles, my browser internet not working again. I need to launch Charles, and found out that macOS Proxy is ON by itself. I have to explicitly turn it OFF and keep Charles running in order to use my browser internet.
How can I fix this issue (i.e. I want to shut down Charles and have the macOS Proxy OFF as well)?
Try doing Proxy > Proxy settings > MacOS and uncheck "Enable MacOS proxy on launch"

Charles still only showing requests from one host even though Focused Hosts in unchecked?

In the Charles proxy, I at some point install the root certificate for the iOS simulator and set http://localhost:8080 in Focused Hosts to reduce clutter and only see web traffic from my local host.
In order to undo this, however, in View > Focused Hosts... I've unchecked and removed that entry:
The problem is that in Charles Proxy, I'm still only seeing requests to the localhost when come from an iOS simulator:
I do have 'Mac OS proxy' enabled in the Proxy menu:
If I go to a different domain in my Chrome web browser, I don't see any requests showing up in Charles, even if I go to localhost:8080 in my browser. If I go to a different domain in the Safari app on the iPhone emulator, I don't see anything show up either, although I do see the requests if I browse to localhost:8080 in the Safari app on the emulator.
In short, I seem to only be able to see requests to localhost:8080 from the iOS emulator, not requests from my Chrome browser or to different domains, despite that I've 'reset' Focused Hosts. How can I make Charles Proxy see other requests?
Apparently, View > Focused Hosts is not the right menu for this; I had to go to Proxy > Recording Settings > Include and uncheck localhost:8080:
I also found it necessary to restart Charles after changing this.

Unable to connect Samsung S10 to charles proxy

With device manual proxy to my Charles IP address, not seeing any traffic or prompt to allow traffic in Charles Proxy. S10 device appears to load all traffic when navigating to various URLs.
Even charlesproxy.com/ssl loads website but doesn't initiate a certificate to download.
All other android devices tested on same setup works fine. Issue seems specific to Samsung S10
So what seemed to have worked for me just now, with my mac (I assume it would be something similar for Windows) I just opened a regular browser, went to chls.pro/ssl and download the certificate file.
From there I sent it to my S10+ and opened it, which then installed it properly.
If you're trying to hook up to Android devices then beware that Google introduced security measures to not allow proxy monitoring in I believe Android 6 or 7. If the other devices you had worked fine on Android then it's probably because you were using an earlier version of Android, or, you had a debug build that allowed for proxy monitoring. I know there's a SO post somewhere that talks about this "pinning" and I know our company does this as well with debug apk's. If neither of those solutions work then it's probably a matter of getting the Charles certificate installed correctly on that phone but without more information it is hard to diagnose. Hope this helps you

Fiddler Not Capturing Traffic from iOS Device after Update

This morning I was able to capture https traffic on the version of Fiddler I had installed. I was prompted about a Fiddler update available. I clicked the "Next time" option. After closing fiddler and reopening a few minutes later the update was automatically installed (v4.6.20172.31233, 64-bit). Following that update, I am not able to take any traces from my iOS device. I am on a work computer capturing https traffic from my iPhone to monitor a mobile app.
It should also be noted that I'm unable to capture any traffic or visit any web pages on my iPhone when going through the IP and port 8888 setup with Fiddler. Seems like all data is blocked (even when I'm not attempting to capture https with a trusted certificate).
I have attempted a few things:
Went through these steps (which I had done months ago to originally setup fiddler), and it didn't resolve the situation: http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForiOS
I checked my Tools > Options and everything seems to be configured the same as it was previously.
I double, triple and quadruple confirmed that my iPhone's IP Address and port are correctly matching what fiddler shows when I hover the mouse over the "Online" icon. I confirmed that I'm on the same wifi network on both my laptop and iPhone.
I removed the trusted certificate from my iPhone, but could not download a new one because when I go to ipv4.fiddler:8888 the page does not load. "Safari cannot find the page" and neither can Chrome (from my iPhone). FiddlerMachineIP:8888 loads on my laptop browser, but not my iPhone browser. (I didn't post full http:// links on this post because I have a new stack overflow account and it won't let me yet)
I downloaded the certificate plugin for iOS once more.
I reset my Fiddler Root Certificate by selecting Tools > Options > HTTPS tab > Actions > Reset All Certificates.
I attempted step 4 above again, no success
I closed and reopened fiddler multiple times between each step to restart it, but no success.
Restarted my laptop and iPhone (because why not?)
Do you have any suggestions for what else I can try? Any help is much appreciated. The only thing that was changed was the version of Fiddler. After that, I attempted to run through all the steps above. Currently I'm in a situation where I cannot download the certificate to trust on my iPhone. I don't know what is preventing me from doing that step.
Edit: I reinstalled fiddler and went through all the setup pages. It didn't seem to fix the situation. My phone for some reason will not load the page necessary to download the certificate (ipv4.fiddler:8888)
Try checking the certificate's full trust settings at Settings > General > About > Certificate Trust Settings. Make sure the DO_NOT_TRUST_FiddlerRoot is enabled for full trust.
Disable Windows Firewall and try again. I faced the same problem, and it helped.