Logic App TImeout issue

Ingle, Sachin (DEU) 0 Reputation points
2024-04-15T07:17:41.2333333+00:00

Logic app time out issue ,

its taking 5 min for logic app to finish, and hence timou from Azure API ,

This is an intermittent issue and there is not really a ause for it

User's image

Thanks

Sachin

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,227 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,257 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sonny Gillissen 3,356 Reputation points
    2024-05-10T13:50:43.94+00:00

    Hi Ingle, Sachin (DEU),

    Thank you for reaching out on Microsoft Q&A!

    Even though the actions don't take as much time as the run time seems to be, please note that Logic App Consumption calls are placed on a queue which is managed by Microsoft. It could potentially happen that, when it is busy on the shared platform, it can take a longer time for it to actually be executed (thus making the run time longer).

    An option to consider here is to use an asynchronous pattern where you call the logic app, and then poll it to check it's status. Please refer to the documentation below for more information:

    https://learn.microsoft.com/en-us/azure/connectors/connectors-native-http?tabs=standard#asynchronous-request-response-behavior

    Please click “Accept answer” if you find this helpful. Feel free to drop additional queries in the comments below!

    Kind regards,

    Sonny

    0 comments No comments

  2. Shailesh Tiwari 0 Reputation points Microsoft Employee
    2024-05-14T14:40:34.6033333+00:00

    You can try updating the timeout by updating the Forward request policy with timeout interval by increasing the timeout to 8-10 minutes (60*10) as mentioned below

    [https://learn.microsoft.com/en-us/azure/api-management/forward-request-policy](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fazure%2Fapi-management%2Fforward-request-policy&data=05%7C02%7Cshaitiwari%40microsoft.com%7C83c23edc00234a31bf2208dc6f8656da%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638507870024862692%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=erVlEo5da1aVmKvC4e6PNUvC4wWQVLIrf1Aj6x2q1a8%3D&reserved=0"Original URL: https://learn.microsoft.com/en-us/azure/api-management/forward-request-policy. Click or tap if you trust this link.")

    However sometimes it may not be honored because the underlying network infrastructure can drop idle connections after 240 seconds. If you don't need to wait for the LogicApp response use, send-one-way-request policy, it sends the provided request to the specified URL without waiting for a response.

    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.