question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Attaching Azure Storage Explorer to remote Azurite Docker image ?

See original GitHub issue

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the Azurite was used?

docker/latest

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

Dockerhub

What’s the Node.js version?

What problem was encountered?

Steps to reproduce the issue?

Started Docker Image on Remote Docker Host machine with

docker run -p 10000:10000 -d --name AZURE-91 mcr.microsoft.com/azure-storage/azurite  azurite-blob --blobHost 0.0.0.0 --blobPort 10000. 

Using the browser to connect to http:/192.168.1.250:10000 gives me

<Error>
<script/>
<Code>InvalidQueryParameterValue</Code>
<Message>Value for one of the query parameters specified in the request URI is invalid. RequestId:bf7355cf-c1cf-4e12-8e8e-e796c65665af Time:2020-08-23T01:38:49.247Z</Message>
</Error>

So I think this means something (Azurite I assume) is listening on that port and accessible from my laptop.

Trying to get Azure Storage Explorer connected, but being new to this and at a bit of a lost… If I select attach to a local emualator it appears to assume that the emulator is literally running locally.

If I try and use a connection string such as

DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;
AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;
BlobEndpoint=http://192.168.1.250:10000/devstoreaccount1;

I get the following in the Attach with Connection String dialog…

!The connection string is missing an account key or SAS token.

At this point I’m out of ideas…

Have you found a mitigation/solution?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
bluewwcommented, Aug 24, 2020

@markddrake Thanks for raising the issue!

For Connection string, please remove the space, and line change char in the connection string and try again:

DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://192.168.1.250:10000/devstoreaccount1;

For the error with “InvalidQueryParameterValue” Would you like to provide the Azurite debug log for it?

0reactions
4vadim4commented, Jan 19, 2022

@markddrake , hi, maybe you can help, My case is: i have docker container with app and i want to have azurite storage in separate docker container which can upload, give and delete data on request from the first container with app. All this using python. Documentation says, azurite has constants: Account name: devstoreaccount1 Account key: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw== but i didn’t find how to use it to transfer blob-data from docker container with App to docker container with Azurite

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Azurite emulator for local Azure Storage development
Follow these steps to add Azurite HTTPS to Storage Explorer: Select Toggle Explorer; Select Local & Attached; Right-click on Storage Accounts ...
Read more >
docker compose - Azurite Access local blobs on emulator
My short-term goal is to setup azurite in a docker container and build a simple console app that connect to the local azurite...
Read more >
Azurite by Microsoft | Docker Hub
About this Image ... Please refer to Azurite official GitHub repository for more information. Azurite is an open source Azure Storage API compatible...
Read more >
Emulating Cloud Services with Containers | by Chris Dykstra
The command is actually given on the DockerHub page, docker pull mcr.microsoft.com/azure-storage/azurite. What is this doing? We are using ...
Read more >
Getting started with Azure storage explorer - SQLShack
If you want to connect directly to a specific blob container, file share, or other services and not to the Azure account then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found