Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Use with Azure Storage Explorer #155

Closed
jamesadarich opened this issue Feb 6, 2018 · 9 comments
Closed

Use with Azure Storage Explorer #155

jamesadarich opened this issue Feb 6, 2018 · 9 comments

Comments

@jamesadarich
Copy link
Contributor

I'm trying to user Microsoft Azure Storage Explorer to check out the contents but the loading wheels keep spinning :(

image

Do you need to do any special setup to get it working?

@jamesadarich
Copy link
Contributor Author

Interestingly just got an error:

image

This may be a problem with the explorer but just wanted to see if anyone had used it in conjunction with Azurite / had any tips or alternative tools to view queues etc.

@jamesadarich
Copy link
Contributor Author

right, it appears that it's just very slow/error prone... no idea why though do we think it's worth investigating? Is this a tool we want to be supporting?

@arafato
Copy link
Owner

arafato commented Feb 7, 2018

hi @jamesrichford ! I think there are three problems with the MS Azure Storage Explorer Tool currently:

  • It cannot be configured to use a different emulator per default. Meaning whenever you unfold the Local Storage Account item it tries to start the official storage emulator. Depending on whether another process is already listening on ports 10000-10004 this may cause strange behavior of the explorer (see next point).
  • The slow/error prone behavior may be because of Storage Explorer trying to constantly launch the official emulator which fails in case Azurite is already listening on port 10000 for example. Maybe there is a special handshake between storage explorer and official emulator first?
  • Storage Explorer does not support a local emulator at all on platforms other than Windows.

I've already tried to address these issues at the product group but they have a lot of different things on their roadmap which have a higher priority. I will get back to them and ask about the current state. Will post an update here asap.

@arafato
Copy link
Owner

arafato commented Feb 7, 2018

It seems that Storage Explorer expects the $logs container to be present in the storage account. It does an initial HEAD operation on the $logs container. If this operation returns a 404 Storage Explorer is stuck for over a minute or so. If the container exists everything seems to be way faster. I cannot find anything in the documentation, however, that says that a $logs container must be present... Also looking at various storage accounts on Azure many do not have a $logs container (only if they are used for collecting metrics etc.)

@jamesadarich
Copy link
Contributor Author

@arafato so a HEAD call to $logs on an actual Azure Storage Account returns 404?

Is it the case we just need to implement these end points then I guess?

@arafato
Copy link
Owner

arafato commented Feb 15, 2018

@jamesrichford well a HEAD call to a non-existant $logs container returns 404 on Azurite as well. But this is exactly where Storage Explorer gets stuck. If I add a $logs container and it returns 200 everything works fine. I need to capture the traffic with Fiddler and see how Storage Explorer behaves with Azure Emulator or real Storage Accounts.

@arafato
Copy link
Owner

arafato commented Mar 2, 2018

@jamesrichford during initialization time Azurite now creates a $logs container (if the workspace / json file does not exist yet). This improves integration with Azure Storage Explorer.

@seguler can you provide an update about the future roadmap of Azure Storage Explorer integration with Azurite?

@jamesadarich
Copy link
Contributor Author

Ace thanks @arafato :) congrats on 100 stars by the way!

Looking forward to much more awesome stuff, may even be submitting some PRs soon. Is table storage the top of your agenda?

@arafato
Copy link
Owner

arafato commented Mar 3, 2018

@jamesrichford thanks! :-)
Yes, table storage has highest priority for me right now. Aiming for a complete implementation by the end of March at the very latest.
Looking forward to your PRs, really appreciating your commitment here, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants