microsoft / vscode-azurestorage

Azure Storage extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestorage
MIT License
60 stars 38 forks source link

Storage account file system provider hangs with Too Many Requests error #1236

Open nanotower opened 1 year ago

nanotower commented 1 year ago

Hi. I'm experiencing the same issue, this time without too many requests message. I can list my containers but they hang up loading. azure tools v1.2.0 azure storage v0.15.2 azure resources v0.7.5 visual studio code 1.78.2 🍎

I'm going back to Azure Resources v0.5.6 extension. This one still works flawlessly.

alexweininger commented 1 year ago

Hi @nanotower, this is an high priority item that I'm currently working on. I apologize that the fix has been delayed this long.

alexweininger commented 1 year ago

Related to #1226

alexweininger commented 1 year ago

@nanotower I have a development build, can you try it out and report if it works for you? Make sure to reopen any blob containers using the "Open in Explorer" command. Simply opening a recent blob container from the Quick Open or Recents menus will not work.

https://dev.azure.com/ms-azuretools/AzCode/_build/results?buildId=62672&view=artifacts&pathAsName=false&type=publishedArtifacts

Steps to install extension development build:

  1. Download the extension VSIX from the Azure DevOps Pipeline Artifacts image

  2. Extract the .zip archive and find the .VSIX file.

  3. From the command palette (F1 or Command/Ctrl + Shift + P), run the "Extensions: Install from VSIX..." command.

  4. Select the extracted .VSIX file, then reload VS Code as prompted.

nanotower commented 1 year ago

Hey @alexweininger , it's working! But not like you said. I can open any file in blob storage from the side menu in VScode, by just clicking. If I run the command Open in Explorer, it wouldn't work. IMHO, this command is not as useful as the side panel, though. Good fix. Thanks 🚀

alexweininger commented 1 year ago

Fix has been released in v0.15.3 https://github.com/microsoft/vscode-azurestorage/releases/tag/v0.15.3

nanotower commented 1 year ago

I updated all vs code extensions to the latest:

but no luck @alexweininger 😢 . The extension does not list the storages and hangs. I have a "too many requests" error warning in the AZ UI portal.

⚠️ Update: I've installed Azure resources extension 0.5.6 and kept Azure storage v0.15.3 and now it works again! I know 0.5.6 is an old one, but I knew it works flawlessly.

alexweininger commented 1 year ago

The extension does not list the storages and hangs. I have a "too many requests" error warning in the AZ UI portal.

I'm sorry you're still having issues with the release.

  1. Is this after opening the blob container in a new/current window from the the side menu in VS Code?
  2. Does the error happen immediately, or only after working with the open blob container for a while and doing operations like opening directories, etc.?
nanotower commented 1 year ago

It hangs from the very beginning. I've just opened VS code, then the AZ extension, and uncollapse storage. I could see the list, but with the spinners waiting.