microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
365 stars 85 forks source link

Getting "Unable to retrieve child resources" error when I am trying to expand blob container in azurite storage emulator. #7891

Closed padmasekhar closed 2 months ago

padmasekhar commented 2 months ago

Preflight Checklist

Storage Explorer Version

1.33.1

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20240410.2

Platform

Windows

OS Version

Windows 11

Bug Description

Getting "Unable to retrieve child resources" error when I am trying to expand blob container in azurite storage emulator. I have attached error json here.

Unable to retrieve child resources.txt

Steps to Reproduce

  1. Launch Storage explorer
  2. Expand storage accounts
  3. Expand storage
  4. Expand Blob Container

Actual Experience

Getting "Unable to retrieve child resources" error when I am trying to expand blob container in azurite storage emulator. I have attached error json here.

Expected Experience

No response

Additional Context

No response

MRayermannMSFT commented 2 months ago

@padmasekhar

  1. Is your emulator running?
  2. Is it running on the same machine you are running Storage Explorer?
  3. Is it exposing blob service on port 10000?
padmasekhar commented 2 months ago

Hi @MRayermannMSFT

  1. Is your emulator running? - Yes - I ran "azurite" command in the command prompt and I got success response. I have attached the screen shot.
  2. Is it running on the same machine you are running Storage Explorer? - Yes
  3. Is it exposing blob service on port 10000? - Yes
padmasekhar commented 2 months ago

azure

padmasekhar commented 2 months ago

azure2

MRayermannMSFT commented 2 months ago

@padmasekhar ok, one thing I now notice is that you trying to use Azurite with a custom storage account name. Normally the name of the Azurite storage account is devstoreaccount1. Are you intentionally trying to use a custom account name?

If you are ok with using the normal account, devstoreaccount1, then please try:

  1. Start Azurite
  2. Start Storage Explorer
  3. Expand: Emulator & Attached > Storage Accounts > (Emulator - Default ports)

If you are wanting to use a custom account name, can you make sure you have followed the steps here to do so? https://github.com/Azure/Azurite?tab=readme-ov-file#customized-storage-accounts--keys

padmasekhar commented 2 months ago

Well, No I am not intentionally trying to user custom account but, I little confused and created a new one. However, I just followed your suggestion and it is working as expected. Thank you very much for quick response @MRayermannMSFT