美文网首页
Fiddler拦截request,未修改请求,直接Run to

Fiddler拦截request,未修改请求,直接Run to

作者: 爱吃葡萄冰的鲸 | 来源:发表于2017-08-30 18:34 被阅读250次

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.

相关文章

网友评论

      本文标题:Fiddler拦截request,未修改请求,直接Run to

      本文链接:https://www.haomeiwen.com/subject/auuxjxtx.html