如何在具有代理设置的系统中使用charles?

问题描述 投票:0回答:1

我正在办公室使用虚拟电脑,我想用查尔斯测试。 Windows操作系统使用代理连接到网络。 在Charles软件中,当我取消选中“启用Windows代理”复选框时,我可以连接到互联网,但不会记录来自localhost的连接! 当我检查它时,我明白了,

查尔斯错误报告

Name lookup failed for external proxy server
Charles failed to resolve the name of your external proxy server into an IP address.    
Check your external proxy configuration in the External Proxy Settings.
The actual exception reported was:
java.net.UnknownHostException: http://webproxy.****.***.*****.net<br>

虽然我收到此错误,但当选中“启用Windows代理”复选框时,我能够记录本地主机请求! 为什么是这样? 在“外部代理设置”中,启用“使用外部代理”,当取消选中-internet但无法录制时。 我的目标是捕获除浏览器以外的操作系统软件发送的所有请求。 怎么做?请帮助。 谢谢

debugging proxy charles-proxy
1个回答
0
投票

您的VPC可能位于不同的子网上,允许绕过Windows代理 - 这也可以解释为什么它无法解析代理的主机名(不同的子网)。检查Virtual PC中的网络设置,看看是否不能使用其他方法连接到网络(NAT,桥接连接等)。

© www.soinside.com 2019 - 2024. All rights reserved.