Internet Connection lost when setting Charles proxy on Android

烂漫一生 提交于 2020-08-22 06:53:10

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/50296421/internet-connection-lost-when-setting-charles-proxy-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!