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
377 stars 87 forks source link

Unable to retrieve child resources #1152

Closed yThomasS closed 5 years ago

yThomasS commented 5 years ago

Storage Explorer Version: 1.6.2 Platform/OS: Windows Server 2016 Architecture: x64 Regression From: N/A

Bug description Try to connect to Blob Storage, but only get error "Unable to retrieve child resources. Details: This request is not authorized to perform this operation.

Steps to Reproduce

  1. Start Azure Storage Explorer
  2. Click on Blob Container

Expected Experience Should show Blob containers

Actual Experience Shows error message

Additional Context It is working from a Mac, so configuration seems to be ok. The Windows Server is hosted in Azure and has a public IP address.

screen shot 2019-02-21 at 15 36 37
yThomasS commented 5 years ago

Is maybe a problem with the IP address. If I create a connection with a general Access Key the connection is ok. With a SAS without IP address it is ok. But if I specify the IP address of the Windows Server in the SAS it does not work any more.

mikecasas commented 5 years ago

Getting the same error.

I deleted the folder as described in https://github.com/Microsoft/AzureStorageExplorer/issues/436#issuecomment-461548078 but it didn't fix the issue.

1 2

mikecasas commented 5 years ago

When I used to the Cloud Explorer from within Visual Studio, I got a slightly different error message. It said it was not initialized and I had to run the init command.

I opened a command line and navigated to C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator

then i ran

AzureStorageEmulator init

That did the trick and I am able to see my local Tables from Cloud Explorer within VS2017 and from the MSFT Azure Storage Explorer.

The doc below provided the basic guidance.

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-emulator

LavMehta commented 5 years ago

errorn Same error

craxal commented 5 years ago

Hi everyone! We're happy to help you get to the bottom of this, but we need you to give us more information about what you're trying to accomplish. Please make sure you're providing steps on what you're clicking, what you're trying to connect to, and so on.

@yThomasS It appears you're attempt to connect using a SAS. Can you tell us where you got the SAS URI from? What permissions does it have? If possible please share the URI you have, redacting the signature portion of the SAS token.

@mikecasas Were you attempting to connect to a storage emulator? If so, note that Storage Explorer does not start the emulator automatically (see Getting Started page).

@LavMehta We need more context on what you're trying to connect to. Please give us some steps that we can easily follow.

LavMehta commented 5 years ago

Hi @craxal ; I installed Azure storage explorer and then by clicking on the connector button on left , i started connecting the azure storage using a connection string, as soon as the connection was successful, i clicked on the storage account and , then on Blob Containers . After that it keeps on loading , and neither i can access anything inside my blob container nor i can upload any data. And after some time i get the error i showed above. I tried making connections using Key as well. In all the cases connection is scuccessful but still there is no access. i hope it makes picture a bit clear to you. Thanks in Advance for helping.

mikecasas commented 5 years ago

@craxal, Yes it was the emulator. I figured that out from the docs, but just left the notes for anyone else; or even for my future self. Thanks!

pflickin commented 5 years ago

Having the same problem on osx. I reset storage explorer, added my credentials, expand one of my subscriptions, then get:

Unable to retrieve child resources. Details: Cannot read property 'connectionString' of undefined

EDIT: Got around it by deleting everything in: /Users//Library/Application Support/StorageExplorer

craxal commented 5 years ago

@LavMehta Click on the account node and look at the Properties tab below. Do you see service endpoints there? Do they appear correct? Also, is it possible to access your storage accounts by signing in instead?

MRayermannMSFT commented 5 years ago

Closing due to inactivity from original author. If you're still facing issues please open a new issue. Thanks!

LavMehta commented 5 years ago

Thanks craxal and extremely sorry for the late reply, my issue got solved on it's own after reinstalling the Storage explorer.

NoelAbrahams commented 4 years ago

In my case this the connection to CosmosDB was blocked by the firewall. The old DTUI actually provided me with an informative error message:

image

Perhaps you guys can learn something about UX from that?