简体   繁体   中英

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:

天蓝色存储资源管理器

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 .

The easiest way to fix it is to install Azurite plugin on VSCode and run 'Azurite Start Blob Service' from the command pallet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM