Charles代理不使用iPhone在Mac上工作

发布于 2025-01-20 00:35:42 字数 494 浏览 2 评论 0原文

我正在尝试通过 Charles 代理代理从 iPhone 到 Mac 的网络流量,以下是我正在使用的版本:

  • iPhone - 型号 13,操作系统 - 15.4
  • Mac - 操作系统 - Monterey (12.2.3)
  • Charles - 4.6.2(已授权) )

我在 Mac 上安装了 Charles,启用了 SSL 代理,在访问控制设置中添加了通用 IP (0.0.0.0/0),从帮助中获取了本地 IP 地址,并在我的 iPhone wifi 设置 - 代理上使用了它>手册>来自 Charles 的本地 IP 和端口 8888。

一旦我这样做,我的手机就根本无法连接到互联网。我已经看到了有关添加根证书、启用信任设置等的各种说明,但只有当我能够连接到互联网下载证书时才能完成这些操作。我无法做到这一点。

我浏览了该网站上提到 Charles 代理的每个问题,但没有一个可以为我的问题提供任何解决方案,因此感谢对此的任何输入。

I am trying the proxy the network traffic from my iPhone to Mac via Charles Proxy, below are the versions i am using:

  • iPhone - model 13, OS - 15.4
  • Mac - OS - Monterey (12.2.3)
  • Charles - 4.6.2 (licensed)

I installed Charles on Mac, enabled SSL Proxying, added generic IP (0.0.0.0/0) in Access Control Settings, got the local IP address from Help and used it on my iPhone wifi settings - Proxy > manual > local IP from Charles and port 8888.

As soon as i do this my phone is not able to connect to internet at all. I have seen various instructions about adding root certificate, enabling trust settings etc, but those all can be done only if am able to connect to internet to download the certificates. Which i am unable to.

I went through every question on this site which mentions Charles proxy, but none could provide any solution to my problem so appreciate any inputs on this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

陪你到最终 2025-01-27 00:35:42

如果手机中没有重要信息,则可以首先重置网络设置,然后尝试以下操作

  1. 确保计算机和手机都不使用虚拟专用网络,
  2. 计算机和手机在同一网络环境
  3. 中计算机已安装了Charles根证书,
  4. 手机已成功安装了Charles的证书并信任它。

如果以上建议对您没有帮助,我建议从头开始并逐步解决问题
让我们访问手机和计算机访问 https://www.google.com

  1. 在计算机安装证书,可以正常连接到Internet,并且可以抓取Google的响应请求吗?

  2. 手机和计算机位于同一网络段,并使用查尔斯提供的代理URL。您可以访问并下载证书吗?

3。在计算机上,查尔斯是否弹出了访问提示,并要求您选择是否同意访问权限?

  1. 关闭计算机侧爬行,并在手机上访问它,以查看它是否可以在手机上抓取响应请求。

If there is no important information in your phone, you can reset the network settings first, then try the following

  1. Make sure that both the computer and the phone are not using a virtual private network
  2. The computer and the phone are in the same network environment
  3. The computer has the Charles root certificate installed
  4. The phone has successfully installed Charles' certificate and trusts it.

If the above suggestions don't help you, I suggest starting from scratch and troubleshooting the problem step by step
Let's take mobile phones and computers accessing https://www.google.com separately as an example

  1. After the computer installs the certificate, can it be connected to the Internet normally, and can it crawl Google's response request?

  2. The mobile phone and the computer are on the same network segment and use the proxy URL provided by charles. Can you access and download the certificate?
    enter image description here

3. On the computer, does Charles pop up an access prompt and ask you to choose whether to agree to the access?

  1. Turn off the computer-side crawling and access it on the mobile phone to see if it can crawl the response request on the mobile phone.
一桥轻雨一伞开 2025-01-27 00:35:42

下次,请检查安全和隐私设置中的防火墙。它不应阻止 Charles 的传入连接。我花了两个小时试图弄清楚发生了什么事

Next time, check the firewall in the security and privacy settings. It should not block Charles' incoming connections. I spent two hours trying to figure out what was going on

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文