Azure APIM | Connection issues

Abhay Chandramouli 966 Reputation points
2024-04-23T12:18:31.2166667+00:00

Hi

I have an APIM with backends created. These backends point to an Azure Function App.

I am receiving frequent logs like

  1. The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
  2. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  3. Client connection was unexpectedly closed.

Can you please help me with the possible fixes... ?

Thanks

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,768 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,298 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 21,471 Reputation points
    2024-04-23T12:25:52.3866667+00:00

    @Abhay Chandramouli Thanks for reaching out. Please refer to my blog which explains in detail about all these scenarios.

    https://techcommunity.microsoft.com/t5/azure-paas-blog/troubleshooting-4xx-and-5xx-errors-with-azure-apim-services/ba-p/2115744

    do let me know incase of further queries, I would be happy to assist you.