This is a migrated thread and some comments may be shown as answers.

HTTPS traffic capturing

7 Answers 928 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
GURDARSHAN SINGH
Top achievements
Rank 1
GURDARSHAN SINGH asked on 22 Sep 2014, 01:13 PM
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.

7 Answers, 1 is accepted

Sort by
0
GURDARSHAN SINGH
Top achievements
Rank 1
answered on 22 Sep 2014, 01:47 PM
Along with given error on checking Request header following error message in Request header:

Fiddler - Gateway Connection Failed
0
Eric Lawrence
Telerik team
answered on 22 Sep 2014, 08:31 PM
When Fiddler isn't running, what are your proxy settings inside Internet Explorer's Tools > Options > Connections > LAN Settings?

What, if any, text do you see on Fiddler's LOG tab?

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
GURDARSHAN SINGH
Top achievements
Rank 1
answered on 23 Sep 2014, 05:28 AM
When Fiddler isn't running, what are your proxy settings inside Internet Explorer's Tools > Options > Connections > LAN Settings?
<Guru> Please see attached screen shot LanSetting.jpg for detail about this point.

What, if any, text do you see on Fiddler's LOG tab?

See below log tab detail:

-= Fiddler Event Log =-

10:55:07:6796 fiddler.network.connect2> Upstream gateway demanded proxy authentication, which is not supported in this scenario. HTTP/1.1 407 authenticationrequired
Via: 1.1 10.227.1.250 (McAfee Web Gateway 7.3.2.10.0.17592)
Content-Type: text/html
Cache-Control: no-cache
Content-Length: 2830
Proxy-Connection: Close
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="Ad
0
Eric Lawrence
Telerik team
answered on 23 Sep 2014, 02:27 PM
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.

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
GURDARSHAN SINGH
Top achievements
Rank 1
answered on 23 Sep 2014, 02:40 PM
Thanks Eric,

It's awesome, you solution works but not sure why this is happening this way, as request is send from browser only and Fiddler just catching each request.

BTW, thanks for your support.

Regards,
Guru
0
Luciano
Top achievements
Rank 1
answered on 14 Jun 2017, 11:26 PM

i have this error (failed to register Fiddler as the system proxy),When I open the program. How could fix it?

 

0
Tsviatko Yovtchev
Telerik team
answered on 20 Jun 2017, 06:12 PM
Hi,

Which Operating System and Fiddler version is that?

Regards,
Tsviatko Yovtchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
GURDARSHAN SINGH
Top achievements
Rank 1
Answers by
GURDARSHAN SINGH
Top achievements
Rank 1
Eric Lawrence
Telerik team
Luciano
Top achievements
Rank 1
Tsviatko Yovtchev
Telerik team
Share this question
or