question

SumanthKrishnaKondapalli-4572 avatar image
0 Votes"
SumanthKrishnaKondapalli-4572 asked JayaC-MSFT answered

Azure API Management response time-out

I have an backend application that is running in docker (Azure container instance ) , the API Endpoint takes around 13 to 15 minutes to send a response.

When i send the request directly to the docker endpoint it works properly , but when i add that endpoint to API management and try the same and call the endpoint i receive an error after 5 minutes as below:

{
"statusCode": 500,
"message": "Internal server error",
"activityId": "6265bfa9-73b7-4110-b345-8f698c5c8b2b"
}

500Internal Server Error
5 m 2.10 s
239 B

The above one was from Postman .

I have added timeout in the outbound policy section as mentioned below, the calls waits till the timeout mentioned and then fails with same 500 Internal Server Error .

Even if the backend application has completed the execution and sent the response, I don't get the actual response that the endpoint has sent.

<backend>
<forward-request timeout="900"/>
</backend>

azure-api-management
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SumanthKrishnaKondapalli-4572 Welcome to Microsoft QnA. Thank you for the question. We will review and update at the earliest.

0 Votes 0 ·

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.