Questions tagged [azurite]

77 questions
0
votes
1 answer

Problem with uploading a file on azurite thought uploadlink with sas token

I'm trying to test an upload file with azurite with my code from datetime import datetime, timedelta import requests from azure.storage.blob import BlobSasPermissions, BlobServiceClient, generate_blob_sas connect_str =…
0
votes
1 answer

How do you keep a message in an Azure storage queue for more than seven days?

I've used the heck out of storage queues, typically with Azure queue-triggered functions and no visibility delay. I have recently encountered a use case where I need to schedule events, sometimes 90 days out. I know that the TTL for storage queues…
0
votes
0 answers

how can spark read / write from azurite

I am trying to read (and eventually write) from azurite (version 3.18.0) using spark (3.1.1) i can't understand what spark configurations and file uri i need to set to make this work properly for example these are the containers and files i have…
Mr T.
  • 4,278
  • 9
  • 44
  • 61
0
votes
1 answer

How to create a storage account with Azurite and Docker-compose and connect to it via Storage Explorer

I am creating an Azure Function that must be connected to a local storage account. It's for study purpose. The problem does not exists if I run the function with "default" options, the ones are set when I create an Azure function that connect to a…
0
votes
1 answer

BlobServiceClient making wrong calls when Azurite is not on default port

I'm using Azurite to run tests locally about some functionality that uploads file to an Azure Blob Storage. I'm running it by using docker compose, and I would like to run it in a non-default port for the tests. The configuration I came up with is…
0
votes
0 answers

How to fake failure when testing Azure Blob Storage with Azurite

I'm using Azurite (Blob Storage Simulator) to unit test Blob Storage applications, how can I force or fake some failure cases to test the error handling ? I can use Azurite to test normal success cases, but how could I to force or fake some failure…
Wan-yong
  • 1
  • 1
0
votes
1 answer

Where does Azurite store blobs, queues and tables on mac?

I'm developing an Azure Function on VSCode. I see that a bunch of files are created in my workspace folder. However, even if I delete them, when I open Azure Storage Explorer, I still see a bunch of containers etc. How can I delete all of them in…
Gpack
  • 1,878
  • 3
  • 18
  • 45
0
votes
1 answer

Connecting to azurite from service in docker-compose

I am trying to create some API tests for Azure Functions Apps. For the API to work properly it needs an azure storage account. I create a docker-compose file with my API Azurite my API Tests Everything works pretty smooth, until the API tries to…
Woozar
  • 1,000
  • 2
  • 11
  • 35
0
votes
0 answers

Launch Azurite with command line from Visual Studio 2022

VS 2022 has a "Connected Services" feature that allows adding Azurite and launching it. When adding Azurite NPM installation to VS connected services, it doesn't give you the option to specify any command line. I am only interested in launching…
Adam
  • 3,872
  • 6
  • 36
  • 66
0
votes
1 answer

Azure Function to get image from Blob Storage stopped working on Local Azure Emulator (Azurite)

Simple Azure function to get image from storage... [FunctionName("GetImage")] public static IActionResult GetImage( [HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "image/{fileName}")] HttpRequest req, …
Piotr
  • 21
  • 1
  • 4
0
votes
1 answer

vs code azure function - debugging 2nd time

With Azurite running, I'm able to debug by c# dotnet-isolated azure function app ok by hitting F5. I then stop the debug session by clicking the stop button on the debug tool bar. Problem is, if I try to run a 2nd debug session, I just blue…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

Upload blob storage return issues trying to upload local container

I want to implement Azurite + Microsoft Azure Storage Explorer. First of all, I Installed Azurite globally, and after that, I run azurite run command. Once I did with that I connect it via Microsoft Azure Storage Explorer as a Local Storage Emulator…
Jesus
  • 331
  • 1
  • 4
  • 19
0
votes
1 answer

Is it possible to define secondary storage account endpoints for Azurite emulator in a connection string?

I'm in the process of migrating from Azure Storage Emulator to Azurite, and with this option comes the ability to define custom storage accounts (and associated keys). However, in doing so I've run into an incompatibility (possibly a bug or…
tphuoc
  • 113
  • 1
  • 10
0
votes
1 answer

Azurite Access local blobs on emulator

Context: I'm building a web app, that reads data from json files, my plan is to host these json flatfiles in Azure blob storage, then to expose them to my Web app through an API. Right now, I am trying to build a local dev environment. My short-term…
Paweł Ciucias
  • 108
  • 1
  • 8
0
votes
0 answers

Azure HTTP Trigger function using Azurite local storage emulator

Starting a new Azure HTTP Function project using Visual Studio Community 2022. According to the official docs, the Azure Storage Emulator is depreciated and Azurite is automatically available with Visual Studio 2022. Using the command line, >…
bdcoder
  • 3,280
  • 8
  • 35
  • 55