question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

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

Screenshot 2022-06-20 at 11 11 10 AM

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-

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. Screenshot 2022-06-20 at 11 11 10 AM

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:open
  • Created a year ago
  • Reactions:9
  • Comments:38 (12 by maintainers)

github_iconTop GitHub Comments

9reactions
EmmaZhucommented, Aug 2, 2022

@bishal-pdMSFT , we don’t have the plan to release a hotfix for it.

6reactions
EmmaZhucommented, Jul 27, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download of large blob from Azure Blob Storage was frozen
It looks like you are having issues downloading a large blob. I have provided some steps below to help you debug these kinds...
Read more >
Azure Storage Explorer troubleshooting guide - Microsoft Learn
Start Storage Explorer. From the menu, go to Help > Toggle Developer Tools. In the opened window, on the Application tab, go to...
Read more >
Troubleshooting | Cloud Storage
Solution: If your browser downloads a zero byte object and you get a 301 HTTP response code when accessing a directory, such as...
Read more >
SSIS Flexible File System Task with Azure Blob Storage
Unfortunately, the older controls do not support files actions within blob storage. The work around is to use the download task to copy...
Read more >
Angular File Download with Progress | Nils Mehlhorn
By specifying the responseType option we can perform a GET request returning a blob representing the downloaded file. Let's assume we've got ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found