Fiddler Classic not chaining to remote proxy "Gateway specified was unreachable and is being ignored"

1 Answer 242 Views
Fiddler Classic Windows
Mark
Top achievements
Rank 1
Mark asked on 02 Nov 2023, 03:24 PM | edited on 02 Nov 2023, 03:28 PM

So I have a https proxy that I know works. I use it in Firefox all the time and did a sanity check just before and after setting it up in Fiddler Classic to ensure it works in Firefox which it does. 

Unfortunately it doesn't work with Fiddler Classic and my mind is boggled. The docs for Fiddler Classic seem rather limited as I've been digging through them in frustration. Murphy's law in full effect I guess.

So here's what I've done:

1. I have local fiddler proxy listen on 8888 in connection tab.

2.. Act as system proxy on startup is checked

3. In the gateway tab I have manual proxy entered in the following format: username:password@remote-proxy-ip:32222

4. When I click on "Show Current Gateway Info" it tells me HTTP / HTTPS / FTP Gateway specified was unreachable and is being ignored" I don't care about FTP but I do care about HTTP / HTTPS. 

5. When I try to collect to the local fiddler proxy, the connection itself works fine but it's not chaining into the remote proxy; the remote proxy is being ignored as stated in 4 because I see my normal external ip instead of my remote proxy ip for the ip address.

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 06 Nov 2023, 11:58 AM

Hello Mark,

 

The "Manual Proxy Configuration" option in the Gateway tab does not officially support basic authentication in the proxy address string.

However, It is possible to include a Proxy-Authorization header in either all or certain requests. For example, open the FiddlerScript tab, and then add within the OnBeforeRequest event:

if (!oSession.isHTTPS) 
{
  oSession.oRequest["Proxy-Authorization"] = "Basic dXNlcjoxMjM=";
}

Where the value (in the example above dXNlcjoxMjM=) is the base64 representation of the actual username:password combination.

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Fiddler Classic Windows
Asked by
Mark
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or