Fiddler拦截request,未修改请求,直接Run to Completion,无法获取Response

Question:
When I am trying to capture traffic of my website that deployed over HTTPS protocol along with proxy configuration in my local network, system throw following error. I have tried all possible setting in Tools -> Fiddler Option -> HTTPS and Connection but nothing work:

[Fiddler] The connection to the upstream proxy/gateway failed. Closing Fiddler, changing your system proxy settings, and restarting Fiddler may help.
System.Exception Upstream Gateway refused requested CONNECT.

Please help me in fixing this problem, as I need to record some performance matrix for my website.

Answer:
When you say "capture traffic of my website" what exactly do you mean? The error you encountered should only ever be seen if Fiddler itself is generating requests, and not if a web browser or other client generates the request. If a client other than Fiddler generates the request, it should automatically handle a HTTP/407 response by returning credentials for the proxy.

In the scenario where Fiddler generates the request, it doesn't today have a means to prompt you for credentials. You can, however, supply those credentials by clicking in the black QuickExec box below the Web Sessions list and typing

prefs set fiddler.composer.HTTPSProxyBasicCreds yourusername:yourpassword

...and hitting Enter. Fiddler will then apply those credentials when generating CONNECT tunnels to your authenticating proxy.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容