Getting Server Error - There was an unexpected error in the request processing azure

Gurpreet Singh 0 Reputation points
2023-08-31T09:31:27.61+00:00

I started getting "

Server Error - There was an unexpected error in the request processing azure" randomly in azure function apps after Aug 22, 2023.

I am unable to see any description of these errors in logs.

My scenario is :

  • Load is getting distributed to two Azure Function Apps deployed on different regions (US Central and US East) using Azure Traffic Manager.
  • Both the function apps are getting down at the same time with the above mentioned error.
  • No details regarding the error in logs.
  • Need help with troubleshooting as it seems to be from Azure end.
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,192 questions
Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
129 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
864 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 26,245 Reputation points Microsoft Employee
    2023-09-01T04:49:39.8+00:00

    @Gurpreet Singh Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I see that you are facing an issue with your Azure Function Apps, which are deployed on different regions (US Central and US East) and are getting down at the same time with the error message "Server Error - There was an unexpected error in the request processing azure." You are unable to see any description of these errors in logs and seeking help with troubleshooting as it seems to be from Azure's end.

    Please follow the below action plans for now:

    1. Could you please enable the Application insight logs for the FunctionApp and check if there are any invocation exceptions. You can enabled the AppInsights as explained here.You can enabled the AppInsights as explained here.
    2. Please check Functions metrics for the HTTP Server Errors at the time of the issue.
      User's image

    3.Please check the Function App detectors by navigating to the Diagnose and Solve Problems section in the Azure Portal for the Functions as shown below: You can rely on the Function App Down or Reporting Errors setting:

    User's image

    4.You can also query the FunctionLogs as shown below:
    User's image

    More Info here.

    **
    Note:** If none of the above steps help, Please share the below details over an email at AzCommunity@microsoft.com ( with subject "Attn: Naveen") and include the below details:

    • Your Azure Function Name
    • You Azure Function App resource URI in below format: /subscriptions/XXXXXXXXXX/resourceGroups/XXXXXX/providers/Microsoft.Web/sites/XXXXXX
    • Most recent UTC time of the actual issue where you received HTTP 500 error

    I will look at the backend logs to identify the root cause.

    **
    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.