Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to access websites when Charles Proxy is opened (Windows 10)

I downloaded the app Charles Proxy, I added the certificate and I can confirm that the Charles certificate is in my certlm (Certificate Manager) in the "Trusted Root Certification" folder, I had also enabled SSL Proxying to include this location: "*:443" which I believe means that I want to see all data coming in.

I'm not sure what the problem is, but whenever I open up Charles Proxy, it doesn't allow me to access any websites, all the data coming in Charles is coming in as status: "Blocked"

I'm using Windows 10 if that helps. I didn't have this issue on MacOS, Help is appreciated!

like image 782
Tony Tai Nguyen Avatar asked May 22 '20 16:05

Tony Tai Nguyen


2 Answers

Here was the solution to my problem:

First quit Charles. Then go to the Internet Options in your Control Panel. Go to the Connections tab. Click on the LAN Settings. You’ll see a Proxy panel. Uncheck the Use a Proxy checkbox. Click OK until you’ve closed the Internet Options.

Then opened up Charles Log, go to Tools -> Allow List and make sure "Enable Allow List" is unchecked.

like image 122
Tony Tai Nguyen Avatar answered Sep 23 '22 10:09

Tony Tai Nguyen


I suggest you check Windows proxy settings as your applications are most probably trying to communicate on a wrong IP/port proxy address matching.

Open cmd (Windows+R, cmd, Enter). Execute:

rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4

Click on LAN settings, then check Use a proxy server for your LAN.

enter image description here

Click Advanced button near Address and Port labels.

Define your addresses and ports here. I once had a task that required me to check all incoming and outgoing HTTP/HTTPS connections from my machine, so I set on HTTP field the address 127.0.0.1 with port 8888 and checked the option "Use the same proxy server for all protocols". If you want a finer control, you leave this option unchecked set different ports to handle FTP and Socks connections. Those ports are used by Charles. Check those settings in Charles Proxy as well!

enter image description here

Click Ok, then click Ok again.

On Charles, in Proxy-Proxy settings, make sure the port numbers are the same for the relative protocols as you set up before in the Windows proxy page.

enter image description here

like image 24
Fabio Crispino Avatar answered Sep 23 '22 10:09

Fabio Crispino