Azurite v3 Tables (alpha.1) - Durable Functions fails to start (Unsupported Media Type)
See original GitHub issueWhich service(blob, file, queue, table) does this issue concern?
Tables
Which version of the Azurite was used?
azurite@3.9.0-table-alpha.1
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm install -g azurite@alpha
What’s the Node.js version?
v10.14.1
Azure Storage SDK Version
Durable Functions on the latest version of the Azure Functions runtime uses WindowsAzure.Storage v9.3.1.
What problem was encountered?
When attempting to start a Durable Functions application that uses Azurite in the backend, the following error is encountered.
[2020-11-11T18:53:28.682] General error: Failed to create the task hub: Microsoft.WindowsAzure.Storage.StorageException: Unsupported Media Type
[2020-11-11T18:53:28.684] at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteAsyncInternal[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)
[2020-11-11T18:53:28.684] at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
[2020-11-11T18:53:28.685] at DurableTask.AzureStorage.AzureStorageOrchestrationService.GetTaskHubCreatorTask() in C:\source\durabletask\src\DurableTask.AzureStorage\AzureStorageOrchestrationService.cs:line 363
[2020-11-11T18:53:28.686] at DurableTask.AzureStorage.AzureStorageOrchestrationService.EnsureTaskHubAsync() in C:\source\durabletask\src\DurableTask.AzureStorage\AzureStorageOrchestrationService.cs:line 325
[2020-11-11T18:53:28.687] Request Information
[2020-11-11T18:53:28.687] RequestID:d2461c28-be61-480d-b374-927410c122ec
[2020-11-11T18:53:28.688] RequestDate:Wed, 11 Nov 2020 10:53:28 GMT
[2020-11-11T18:53:28.688] StatusMessage:Unsupported Media Type
[2020-11-11T18:53:28.689] ErrorCode:AtomFormatNotSupported
[2020-11-11T18:53:28.690] ErrorMessage:Atom format is not supported.
RequestId:d2461c28-be61-480d-b374-927410c122ec
Time:2020-11-11T18:53:28.601Z
Steps to reproduce the issue?
- Install the Azure Functions Core Tools (v3)
- Clone and build the following sample app: https://github.com/Azure/azure-functions-durable-extension/tree/dev/samples/precompiled
cd
into thesamples\precompiled\bin\Debug\netcoreapp3.1
directory- Run
func host start
Have you found a mitigation/solution?
Not yet, but I’m guessing that our internal use of the older storage SDK is part of the problem. We plan to upgrade eventually, but this needs to be carefully coordinated with the Azure Functions storage SDK dependencies.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Use Azurite emulator for local Azure Storage development
The Azurite open-source emulator provides a free local environment for testing your Azure storage applications.
Read more >The listener for function was unable to start. Why?
Azure Durable Functions rely on TableStorage, and the latest version of Azurite (v3) currently doesn't support TableStorage.
Read more >Progress and Perspectives of Electrochemical CO2 Reduction ...
This imbalance has become a significant perturbation to Earth's natural carbon cycle, as indicated in the top two sections of Table 1.
Read more >mn 0 01 05_1 1 10 100 10th 11 11_d0003 12 13 14 141a
.,mn 0 01 05_1 1 10 100 10th 11 11_d0003 12 13 14 141a 143b 15 16 17 17igp ... 214b 22 22_2...
Read more >38709-8.txt - Project Gutenberg
(3) Side-notes were relocated to function as titles of their respective paragraphs. ... The origin of the problem is open to conjecture.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@XiaoningLiu Will the docker images be updated as well? Which tag will contain this changes?
@XiaoningLiu Any movement on Azureite Table support?