Download from Blob storage gets stuck sometimes and never completes
See original GitHub issue- Package Name: Azure/azure-storage-node
- Package Version: v12.9.0
- Operating system: Ubuntu 20.04.4 LTS
- nodejs
- version: v16.13.0
- browser
- name/version: NA
- typescript
- version:
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://docs.microsoft.com
Describe the bug
Download from blob storage fails to complete and gets stuck for very long time. Here’s an example run for the same (with info
logs from SDK)- https://github.com/kotewar/cron-action-test-download-bug/runs/6935926824?check_suite_focus=true

This doesn’t happen always but once in a while it is getting stuck for many users. There are many issues raised regarding the same by the users of Actions/Cache for the same.
References-
- https://github.com/actions/cache/issues/810
- https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10289
To Reproduce Steps to reproduce the behavior: As this is an intermittent issue, this can be reproduced by having a github action scheduled that creates a cache huge in size. This workflow file can be used for the same.
Expected behavior The download should complete 100% everytime and not get stuck intermittently.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context Same file gets downloaded by multiple runners most of the times. And this issue is mostly seen when the same file is getting downloaded in parallel from Azure Blob Storage.
Issue Analytics
- State:
- Created a year ago
- Reactions:9
- Comments:38 (12 by maintainers)
@bishal-pdMSFT , we don’t have the plan to release a hotfix for it.
Hi @bishal-pdMSFT ,
The stuck can have several causes. For now, I can repro a stuck with unplugging network cable from my local machine. For a downloading, the SDK will split it into small pieces and send out a downloading request for each piece in parallel. We’ll need to set a timeout for each request to download the small chunks. I’ll make a fix ASAP.
Thanks Emma