Azure Blob Timeout 0:01:40 units

DanDare 21 Reputation points
2022-09-16T12:27:55.157+00:00

Hi

I am trying to write large files to Azure Blob storage over a slow network and I am getting timeout issues.

  • The operation was cancelled because it exceeded the configured timeout of 0:01:40. Network time can be adjusted in ClientOptions.Retry.NetworkTimeout.

I am trying to set the NetworkTimeout using something like TimeSpan.FromSeconds(90).

But I need to know the units of the 1:40. Is that milliseconds, seconds, minutes, etc.

Any help appreciated.

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,529 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sreeju Nair 12,666 Reputation points
    2022-09-18T04:50:59.07+00:00

    The displayed value seems to be 1 minute and 40 seconds. Try setting the NetworkTimeout value to a higher value like TimeSpan.FromSeconds(300) and see whether you are able to upload.

    Refer: https://learn.microsoft.com/en-us/dotnet/api/azure.core.retryoptions.networktimeout?view=azure-dotnet#azure-core-retryoptions-networktimeout

    Hope this helps


0 additional answers

Sort by: Most helpful

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.