You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTTP connector of the Logic App has sent an HTTP request (to the function) twice in a row (no failure in either of the function calls, and there is not even a retry policy in the HTTP action). In the run history, it only shows one action call without errors or retries, with the duration of the action spanning from the start of the first request to the end of the second one. The action also simply returns the response from the second HTTP request with success status code. No trace of any retries in the run history for that action (retry policy is set to none and no loops etc. or any other errors in the run).
On the other hand, the logs of the Azure function called by the HTTP action show traces of two requests coming from the same workflow run (we track in application insights the workflow run id among other things).
Each of the function calls has taken approx. 30s so there is no timeout issues. We can see from AppRequests table that both calls have returned 200 success.
So far, this is just an isolated case, usually there are no problems (with hundreds of successful runs).
Plan Type
Standard
Steps to Reproduce the Bug or Issue
Only happened couple of times, hard to reproduce. Seems to happen at random: if the workflow run is retriggered, everything goes without problems.
This is a business critical process where function creates data to target (contract to D365 FO). In no circumstances POST requests should be sent several times (unless requested by the retry policy). Please investigate to locate the root cause.
The text was updated successfully, but these errors were encountered:
The issue has unfortunately reappeared, now in production environment.
spulkkinen
changed the title
Logic app standard HTTP action sent duplicate request without any reason or trace (returns simply success of the second call)
Logic app standard HTTP action sent duplicate POST request without any reason or trace (returns simply success of the second call)
Sep 13, 2024
spulkkinen
changed the title
Logic app standard HTTP action sent duplicate POST request without any reason or trace (returns simply success of the second call)
Logic app standard HTTP action sent duplicate POST request without any reason (returns simply success of the second call)
Sep 13, 2024
We have the same issue in production environment, actually it happened two times last week. Http action in logic app standard sends 2 requests, but it shows that action was invoked only once.
Requests are handled by azure function, and handling each duplicated request takes around 1 second, but action in logic app that sends duplicated requests takes around 11 seconds (not duplicated actions takes around 1 second).
Describe the Bug
The HTTP connector of the Logic App has sent an HTTP request (to the function) twice in a row (no failure in either of the function calls, and there is not even a retry policy in the HTTP action). In the run history, it only shows one action call without errors or retries, with the duration of the action spanning from the start of the first request to the end of the second one. The action also simply returns the response from the second HTTP request with success status code. No trace of any retries in the run history for that action (retry policy is set to none and no loops etc. or any other errors in the run).
On the other hand, the logs of the Azure function called by the HTTP action show traces of two requests coming from the same workflow run (we track in application insights the workflow run id among other things).
Each of the function calls has taken approx. 30s so there is no timeout issues. We can see from AppRequests table that both calls have returned 200 success.
So far, this is just an isolated case, usually there are no problems (with hundreds of successful runs).
Plan Type
Standard
Steps to Reproduce the Bug or Issue
Only happened couple of times, hard to reproduce. Seems to happen at random: if the workflow run is retriggered, everything goes without problems.
Workflow JSON
Action in question
{
"type": "Http",
"inputs": {
"uri": "@{parameters('ContractIntegrationFunctionURL')}",
"method": "POST",
"headers": {
"x-functions-key": "@{parameters('ContractIntegrationFunctionKey')}"
},
"body": "@Body('HTTP_POST_LTINT773GetContractReferenceDataFunction')",
"retryPolicy": {
"type": "none"
}
},
"runAfter": {
"HTTP_POST_LTINT773GetContractReferenceDataFunction": [
"Succeeded"
]
}
}
Screenshots or Videos
Additional context
This is a business critical process where function creates data to target (contract to D365 FO). In no circumstances POST requests should be sent several times (unless requested by the retry policy). Please investigate to locate the root cause.
The text was updated successfully, but these errors were encountered: