macosazureazure-storageazure-blob-storageazure-storage-emulator

Microsoft Azure Storage Explorer does not load local emulator storage


I'm using Microsoft Azure Storage Explorer 1.7.0 on macOS 10.14.4 for local development on an Azure function. After attaching to a local emulator the Queues, Blob Containers and Tables are stuck "Loading...".

Steps to Reproduce

  1. Click Add Account.
  2. Chose "Attach to local emulator". Click next.
  3. Fill in fields then click Next.

    • Display name: local-1
    • Blobs port: 10000
    • Files port: 10003
    • Queues port: 10002
    • Tables port: 10003
  4. Click Connect.

  5. In the Explorer expand Local & Attached > Storage Accounts > local-1 (Key) > Queues.
  6. Queues will say "Loading..." for around 30 minutes.
  7. Finally an alert will popup saying:
Unable to retrieve child resources.
Details: A network error occurred (NetworkTimeoutError: connect ECONNREFUSED 127.0.0.1:10002)

It is also not possible to add a new Queue while it is stuck loading. Right click Queues > Create Queue, then type a queue name and press return does not show the new queue in the list.

What I see in the app:

azure storage explorer


Solution

  • To use Storage Emulator on Mac (or Linux), please ensure that Azurite is installed.

    You can read more about the emulator support in Storage Explorer here: https://learn.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=macos#work-with-local-development-storage.