Azure / Azure/Azurite

There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid.

Open
#1,179 21 comments 3 reactions 1 assignee Claimed by @blueww View on GitHub
blob-storage question
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

### Which service(blob, file, queue, table) does this issue concern?
My guess is all of them the error message, but I'm only using queue from my app.

### Which version of the Azurite was used?
3.14.3

### Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
Came with VS2022. I then uninstall from NPM and reinstall from NPM to v3.14.3

### What's the Node.js version?
v14.18.1.

### What problem was encountered?
Trying to debug my azure function app in VS2022 and on startup I get the above error. I don't get this error on any other function app debug session.

```console
[2021-11-18T20:06:09.561Z] There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid.
[2021-11-18T20:06:09.611Z] A host error has occurred during startup operation 'e8b3d28c-2c65-4fc6-9c7e-69cd82eda265'.
[2021-11-18T20:06:09.613Z] Azure.Storage.Blobs: Service request failed.
[2021-11-18T20:06:09.615Z] Status: 500 (Internal Server Error)
[2021-11-18T20:06:09.617Z]
[2021-11-18T20:06:09.618Z] Headers:
[2021-11-18T20:06:09.619Z] Server: Azurite-Blob/3.14.3
[2021-11-18T20:06:09.620Z] Date: Thu, 18 Nov 2021 20:06:09 GMT
[2021-11-18T20:06:09.620Z] Connection: keep-alive
[2021-11-18T20:06:09.621Z] Keep-Alive: REDACTED
[2021-11-18T20:06:09.621Z] Content-Length: 0
```

### Steps to reproduce the issue?
Press F5

```json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
"FunctionStorageBindings-StorageConnectionString": "REDACTED",
"AzureAppConfiguration.ConnectionString_PrimaryStore": "REDACTED",
"AzureAppConfiguration.ConnectionString_SecondaryStore": "REDACTED",
"AzureAppConfiguration.CacheExpirationTimeInSeconds": 120,
"AzureAppConfiguration.EnvironmentLabel": "LabA",
"DurableTaskHubName": "BulkEditProcessorDEV2",
"DurableManagementStorage": "UseDevelopmentStorage=true",
"AzureWebJobs.ProcessBulkEditQueue.Disabled": 0
}
}
```

Here are the versions of the packages being used:
```json













```

If possible, please provide the debug log using the -d parameter, replacing \ with an appropriate path for your OS, or review the instructions for docker containers:

```
-d ""
```

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.

### Have you found a mitigation/solution?
No

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.