Blob File Upload connector timeout Error at Azure Logic App

Mohamed Hussein 510 Reputation points
2024-12-23T16:36:05.7433333+00:00

Good Day,

Appreciate your efforts,

I got an error Blob file upload timeout at Azure Logic app,

Unfortunaely, errors logs also raises exception

Client Tracking ID 08584666357077634335964511332CU00

Action Tracking ID 33bef8eb-affb-401d-8c89-45a009c0f55e

ActionTimedOut

The workflow action 'UploadDocFiletoBlob' timed out while waiting for underlying operation to complete.

Connected!
2024-12-23T17:21:10Z   [Warning]   Outgoing HTTP request ends with server failure: correlationId='345841a4-de6b-46e0-98d4-77a02f210aaf', operationName='CallApiHubEndpoint.Action.CustomApi/azureblob', httpMethod='POST', hostName='57458ce888d126d6.03.common.logic-eastus.azure-apihub.net', targetUri='https://57458ce888d126d6.03.common.logic-eastus.azure-apihub.net:443/apim/azureblob/de4bdeee47d44572bf611ba800e583b4/v2/datasets/AccountNameFromSettings/files?folderPath=*sanitized*&name=*sanitized*&queryParametersSingleEncoded=*sanitized*', clientRequestId='9f78c63d-4351-4913-b187-5f28366fd405', clientSessionId='', clientApplicationId='', apiVersion='', contentLength='-1', serviceRequestId='', durationInMilliseconds='119992', httpStatusCode='0', exceptionMessage='System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.', errorCode='', errorMessage='', referer='<null>', failureCause='', contentType='', contentEncoding='', armServiceRequestId='', organizationId='', activityVector='IN.0A', locale='en-US', additionalProperties='{"ParentActivityId":"00-d1388d23025a54e1a20e530b2ed9b985-5ff151a9c94e8be0-00"}', targetResourceProvider='', targetResourceType='', extensionVersion='1.94.32.0', siteName='HusAzFastLogicApp', slotName='Production', activityId='9f78c63d-4351-4913-b187-5f28366fd405'.

User's image

User's image

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,275 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 9,310 Reputation points
    2024-12-23T18:32:30.8433333+00:00

    Hello Mohamed Hussein,

    Thanks for posting your question in the Microsoft Q&A forum.

    The default timeout for Blob service operations is 30 seconds. For larger files or slower connections, this may not be sufficient. To address this:

    • Increase the timeout parameter in your Logic App's Blob storage connector settings.
    • If possible, set the max_single_put_size to a smaller value (4MB) to break the upload into smaller chunks

    The error message suggests a network-related issue: System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. This could be due to:

    • Intermittent network issues between your Logic App and the Blob storage.
    • High latency or bandwidth constraints.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


  2. Keshavulu Dasari 2,420 Reputation points Microsoft Vendor
    2024-12-24T03:01:34.3066667+00:00

    Hi Mohamed Hussein ,
    Given that your file size is less than 1 MB and both your Azure Logic App and Blob Storage are in the same region (East US), the timeout issue might be related to other factors.
    I suggest few steps you can take to troubleshoot the issue.
    Enable Diagnostic Logging:

    • Go to your Logic App in the Azure portal.
    • Under Monitoring, select Diagnostic settings.
    • Add a diagnostic setting to send logs to a Log Analytics workspace, Event Hub, or Storage Account. This will help you capture detailed logs for further analysis1.

    Check Run History:

    • In the Logic App designer, go to Overview and select Runs history.
    • Review the inputs, outputs, and error messages for each step in the workflow. This can provide insights into where the issue might be occurring.

    Use Retry Policies:

    • Implement retry policies for actions that might fail due to transient issues. This can help mitigate temporary network issues or service disruptions.

    Application Insights:

    • Integrate Application Insights with your Logic App to get more detailed telemetry data. This can help you monitor performance and diagnose issues more effectively. Use scopes and the "run after" feature to handle errors gracefully. You can set up actions to run after a failure and log specific error details.

    By enabling detailed logging and monitoring, you can get a clearer picture of what's causing the timeout and take appropriate steps to resolve it.
    For more information:
    https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-diagnosing-failures?tabs=consumption
    https://learn.microsoft.com/en-us/azure/logic-apps/error-exception-handling


    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. 
    User's imageIf you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you


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.