John Smith
John Smith

Reputation: 71

Internet Connection lost when setting Charles proxy on Android

I am trying to set charles proxy on Android 8.0( S8 ). I have installed the root certificate-> Changed WIFI settings to charles proxy settings. But After connecting to proxy, Internet connection is lost. Tried multiple times. Is there any other security certificate I need to install for Android 8.0. Please suggest. Thanks

Upvotes: 7

Views: 21946

Answers (3)

In Charles:

  1. I selected Tools menu > Allow List
  2. Unchecked Enable Allow List
  3. Clicked Ok

This worked for me to get internet with the proxy set & finally was able to download the certified.

Upvotes: 1

Anil sikhwal
Anil sikhwal

Reputation: 1

If anyone who is still looking for answer then try these steps. It worked for me ☺️ When you enter proxy, there will be one more option that is "Bypass for" in this field enter * as value, and thnx me later.

Upvotes: -1

kubano
kubano

Reputation: 651

The sequence of steps is really important:

  1. Connect the Android device and the computer that running Charles to the same LAN (WiFi) network
  2. Start Charles
  3. Then set the Charles machine LAN IP as manual proxy on your phone. Open the list of Wifi connections, then touch and hold the connected network, and select Modify network.

    • Proxy: Manual
    • Proxy hostname: Open the Help > Local IP Address menu in Charles and paste into it the address displayed
    • Proxy port: 8888 (This is the default value that can be changed in the Proxy > Proxy Settings menu.)
  4. Open a browser on your phone and make some network traffic

  5. After that you have to click into the Charles app window. You will see a confirmation dialog that asking you to allow network traffic from the mobile device, press Allow.

  6. After all, open the https://chls.pro/ssl URL on your device and install the .pem file for VPN and apps (Use Chrome browser on Android, and Safari for iOS devices.)


Troubleshooting

  • When Charles is the background, the confirmation dialog will not be visible automatically, you have to activate (bring back to the foreground) the Charles application window to see it.

  • To check the device connection permission, go to Proxy > Access Control Settings. You should also see its LAN IP on the list.

  • To getting your Android phone LAN IP address open the Dialer and enter: *#*#4636#*#*, then select Wi-Fi information > WiFi status and refresh stats.

Upvotes: 3

Related Questions