"Bad gRPC response. HTTP status code: 500" error with Azure function app

David Toyer 15 Reputation points
2024-05-29T16:50:50.1366667+00:00

Not sure if this is the write forum to ask this question. please direct me to the proper place if not.

We have a .NET 8 C# function app (V4), running in isolation mode. It is a gRPC client connecting to a gRPC server also running in Azure, under a dedicated app service plan, processing some relatively high volume transactions. Over the past few weeks we've seen a spike in errors with the following error message - "Bad gRPC response. HTTP status code: 500".
User's image

If I am reading the transaction details correctly in App Insights, the gRPC server completed successfully but the client still generated this 500 response error.User's image

Most of the transactions get through, and the ones that don't, our retry process kicks in and they will process successfully the next time. Been searching around for what this error means and some possible causes. Have not really been successful. Any suggestions on things to try.

Thanks
David

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,571 questions
{count} votes