using azure function in visual studio

1 Answer 221 Views
Fiddler Classic
Diana
Top achievements
Rank 1
Diana asked on 26 Apr 2023, 08:21 PM
If I have the fiddler classic running and i try to debug my azure function .net 7  I get an error in the attachment.  I'm not using grpc in my function it literally is an endpoint that calls another Rest endpoint.  Is there any way that I can have fiddler running and a azure function in debug running at the same time

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 27 Apr 2023, 06:22 AM

Hello Diana,

 

Fiddler Classic works as a local forward proxy and does not change the type of client requests. The proxy stands in the middle and establishes a connection with the client application (in your case, with the NET 7 app) and then establishes a connection with the server. It is important to note that Fiddler Classic does not support HTTP/2, and as gRPC utilizes HTTP/2, it also does not support gRPC. Fiddler cannot change the used protocol to gRPC or create its own gRPC call.

That said, and based on the screenshot error, it looks like some part of the client NET7 application relies on gRPC and tries to make a gRPC call. This leads to the error because the Fiddler Classic proxy does not support HTTP/2 and gRPC. You should be able to trace where the gRPC is being used by following where the NET application uses the Grpc.Core NuGet library (which is the library that produces the error).


As a side note, the latest version of Fiddler Everywhere (a different product from Fiddler Classic) now supports gRPC and HTTP/2. If applicable, you could test your application using Fiddler Everywhere as a local proxy. More about the support of gRPC in Fiddler Everywhere in the following blog post: https://www.telerik.com/blogs/introduction-grpc-fiddler-everywhere 

 

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
Asked by
Diana
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or