Telerik Forums
Fiddler Forum
1 answer
2.7K+ views

As soon as we start Fiddler Everywhere for profiling we got the following error in our application whenever a gRPC-call is executed:

Connection id "0HMT23GS5CF6U", Request id "0HMT23GS5CF6U:00000001": An unhandled exception was thrown by the application.

Error: Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Unable to get subchannel from HttpRequestMessage. (127.0.0.1:8866) InvalidOperationException: Unable to get subchannel from HttpRequestMessage.", DebugException="System.Net.Http.HttpRequestException: Unable to get subchannel from HttpRequestMessage. (127.0.0.1:8866)") ---> System.Net.Http.HttpRequestException: Unable to get subchannel from HttpRequestMessage. (127.0.0.1:8866) ---> System.InvalidOperationException: Unable to get subchannel from HttpRequestMessage. at Grpc.Net.Client.Balancer.Internal.BalancerHttpHandler.OnConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

Any idea how to fix this?

 

br

Nick Iliev
Telerik team
 answered on 23 Aug 2023
1 answer
1.1K+ 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
101 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
774 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
156 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
150 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
3.3K+ 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
72 views
Привет. Как удалить аккаунт?
Я не могу использовать fiddler везде, система показывает окно: «Пробная версия недоступна для вашего местоположения!». В меню настроек учетной записи нет опции удаления. Как это сделать?
Nick Iliev
Telerik team
 answered on 02 Aug 2023
7 answers
597 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
626 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?