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
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?
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
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!
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