Telerik Forums
Fiddler Forum
1 answer
1.2K+ views

Hello,

I have set up an upstream proxy that requires authentication. I'm using the Fiddler preference fiddler.defaultproxy to enter the IP address and port number.

Because this proxy requires authentication I'm also using fiddler.proxy.creds to store the user name and password in Base64 format as explained here: https://jegansblog.wordpress.com/2015/05/07/setup-fiddler-as-proxy-server-with-basic-authentication/

However, when I open a new browser window, I'm am getting the authentication prompt again:

Why is it not using the credentials stored in the fiddler.proxy.creds field? 

Nick Iliev
Telerik team
 answered on 22 Aug 2023
1 answer
127 views
Hi, how would I in the BeforeRequest event return a file from the local computer?

This is related to FiddlerCore, and I'm trying to recreate the function of the Fiddler AutoResponder, to match a string and then respond with a file. Would BeforeRequest be the right thing?

I found this somewhere else on the forum: http://fiddler.wikidot.com/fiddlercore-autorespond

Hope someone has a bit more knowledge,

Thanks
Nick Iliev
Telerik team
 answered on 16 Aug 2023
1 answer
901 views
I had to format my pc, and now I'm facing the issue where Fiddler is only capturing HTTP traffic, I have the root certificate installed, and capture/decrypt HTTPS traffic settings on too.   
Nick Iliev
Telerik team
 answered on 06 Aug 2023
1 answer
183 views
What URL do I need to allow through the corporate firewall for Fiddler2 "Check for Updates"?
Nick Iliev
Telerik team
 answered on 06 Aug 2023
2 answers
161 views

Hello,

I have a very strange behavior, I build on a Java program a request to query a site. For your information, here is the code, but it's not the root of the problem:

conn = (HttpURLConnection) url.openConnection();
conn.setConnectTimeout(SimpleCrawler.timeout);
		      conn.setReadTimeout(SimpleCrawler.timeout);
		      conn.setRequestProperty( "Host", url.getAuthority() );
		      conn.setRequestProperty( "User-Agent", userAgent );
		      conn.setRequestProperty( "Accept", SimpleCrawler.acceptPageType);//text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
		      conn.setRequestProperty( "Accept-Language", SimpleCrawler.acceptLanguage );
		      conn.setRequestProperty( "Accept-Encoding", "gzip, deflate, br" );
InputStream input = conn.getInputStream();
			  byte[] buffer = new byte[4096];
			  int n;

			  OutputStream output = new FileOutputStream( chemin );
			  while ((n = input.read(buffer)) != -1) 
			  {
			      output.write(buffer, 0, n);
			  }
			  output.close();


And the request downloads a corrupted file. Now if I go through fiddler with this code :

 Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.0.1", 8888));
		    	  conn = (HttpURLConnection) url.openConnection(proxy);

 

I see the request go through Fiddler and the file downloads correctly.

It's as if Fiddler modified the return or the request by reorganizing something to correct a problem that was there before. But I can't figure out what it is, if I knew I'd fix my problem.

Do you have any idea why I am seeing this behavior?

Thanks


idia
Top achievements
Rank 1
Iron
 answered on 03 Aug 2023
1 answer
4.0K+ views
I also tested using the built in browser launcher from Fiddler Everywhere to https://libwebsockets.org/testserver/

and I'm not seeing any Websocket tabs anywhere or any of the ws traffic. There's a lot of HTTP.

Additionally, in our application the http(s) connections use the Upgrade mechanism to upgrade to a ws(s) connection but the listening port on our service is not being used in whatever the fiddler proxy thing is doing. I just see attempts to go to port 80. Is this something we configure in Fiddler Everywhere?
Nick Iliev
Telerik team
 answered on 02 Aug 2023
1 answer
77 views
Привет. Как удалить аккаунт?
Я не могу использовать fiddler везде, система показывает окно: «Пробная версия недоступна для вашего местоположения!». В меню настроек учетной записи нет опции удаления. Как это сделать?
Nick Iliev
Telerik team
 answered on 02 Aug 2023
7 answers
672 views

This is the code I am currently using.

if (oSession.fullUrl.Contains("go_proxy=1"))

{

oSession["ui-backcolor"] = "green";

oSession["x-OverrideGateway"] = "socks=192.168.5.201:1080";

FiddlerObject.log("log:"+oSession["X-OverrideGateway"]);

}

Strangely, when I set the proxy outside the if statement, it works. But when I set the proxy inside the if statement, it doesn't work.

oSession["x-OverrideGateway"] = "socks=192.168.5.201:1080";

if (oSession.fullUrl.Contains("go_proxy=1"))

{

       oSession["ui-backcolor"] = "green";

      oSession["x-OverrideGateway"] = "socks=192.168.5.201:1080";

      FiddlerObject.log("log:"+oSession["X-OverrideGateway"]);

}

I set the session to green in the if code block, and I can see in the log that the code has taken effect. That is, the judgment code is valid, but the proxy setting is invalid.

 

I don't know why? Please help me, thank you very much!

 

Neha
Top achievements
Rank 2
Iron
Iron
 answered on 21 Jul 2023
2 answers
714 views

I want to use fiddler to switch the javascript files

I've solve the cors policy, but I don't know to to set the rules to allow my script bypass the integrity tags

looking for help

Neha
Top achievements
Rank 2
Iron
Iron
 answered on 21 Jul 2023
1 answer
748 views
There is an issue I am facing while using chatGPT when the proxy is on. Whenever I submit my chat prompt to chatGPT, it throws 403 unauthorized errors.  Please check screenshot below
image.png

 

ChatGpt is using cloudflare and I suspect it might be blocking the request.
Kindly suggest what might going wrong here and how chatGPT detects and blocks
requests from fiddler. Is there any way we can overcome this issue?

 

Rosen Vladimirov
Telerik team
 answered on 13 Jul 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?