简体   繁体   English

Microsoft Azure 存储资源管理器不加载本地模拟器存储

[英]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.我在 macOS 10.14.4 上使用 Microsoft Azure Storage Explorer 1.7.0 在 Azure 函数上进行本地开发。 After attaching to a local emulator the Queues, Blob Containers and Tables are stuck "Loading...".附加到本地模拟器后,队列、Blob 容器和表卡在“正在加载...”。

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显示名称:local-1
    • Blobs port: 10000斑点端口:10000
    • Files port: 10003文件端口:10003
    • Queues port: 10002队列端口:10002
    • Tables port: 10003表端口:10003
  4. Click Connect.单击“连接”。

  5. In the Explorer expand Local & Attached > Storage Accounts > local-1 (Key) > Queues.在 Explorer 中展开 Local & Attached > Storage Accounts > local-1 (Key) > Queues。
  6. Queues will say "Loading..." for around 30 minutes.队列将显示“正在加载...”大约 30 分钟。
  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.右键单击 Queues > Create Queue,然后键入队列名称并按回车键不会在列表中显示新队列。

What I see in the app:我在应用程序中看到的:

天蓝色存储资源管理器

To use Storage Emulator on Mac (or Linux), please ensure that Azurite is installed.要在 Mac(或 Linux)上使用Storage Emulator ,请确保安装了Azurite

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 .您可以在此处阅读有关存储资源管理器中的模拟器支持的更多信息: 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.最简单的修复方法是在 VSCode 上安装 Azurite 插件并从命令面板运行“Azurite Start Blob Service”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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