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.

Azurite Durable Functions Connection Refused

See original GitHub issue

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

Queue

Which version of the Azurite was used?

3.x.x

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

VS Code Extension

What’s the Node.js version?

v8.11.2

What problem was encountered?

I have tried in vain over the last couple of days to get various flavours of azurite working with durable functions. Whether using v2.x.x installed via npm, or v3 manually built (or installed via VS code. I seem to be running it to the following types of error.

Executed 'Functions.DurableFunctionsHttpStart' (Failed, Id=62b2f95e-ba13-44f1-b08b-731de1acdb77) [28/10/2019 14:47:09] System.Private.CoreLib: Exception while executing function: Functions.DurableFunctionsHttpStart. System.Private.CoreLib: Result: Failure

The listener for function 'Functions.Hello' was unable to start. Microsoft.WindowsAzure.Storage: Connection refused. System.Net.Http: Connection refused. System.Private.CoreLib: Connection refused.

I finally decided to abort my attempts at local storage and try to use a connection string from my azure portal. This worked and the initial Durable Template worked as expected.

This could be a bug, or hole in the documentation, failing that it could simply be me missing something.

Steps to reproduce the issue?

User the Durable Functions Hello starter and try to run with Azurite via VS Code on Mac with "AzureWebJobsStorage": "UseDevelopmentStorage=true;", in local.settings.json.

Have you found a mitigation/solution?

Use a storage account in Azure portal circumvents any issues but that only proves the Durable Functions template is fine and there is a deeper issue in the setup of Azurite and Durable Functions (or Knowledge gap)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:34 (15 by maintainers)

github_iconTop GitHub Comments

8reactions
XiaoningLiucommented, Aug 17, 2020

Azure Durable Functions requires Azure Table which is not supported by Azurite V3 yet. However, after serveral rounds of discussion and review. Azurite V3 is going to support Table. It’s great if anyone likes to contribute to Azurite V3 Table. Use following queries for all opening TODO items:

Other references: Azurite V3 Table GitHub Branch: https://github.com/Azure/Azurite/tree/table Azurite V3 Table GitHub Project: https://github.com/Azure/Azurite/projects/2 Azurite V3 Table Wiki (under development): https://github.com/Azure/Azurite/wiki/Azurite-V3-Table

5reactions
edwin-hubercommented, Jun 16, 2021

Durable functions now supported with preview version of Table API.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Listener for Azure function was unable to start error while ...
I have one Azure function app and I am trying to run that locally but getting the below error. I have the storage...
Read more >
Azure Functions: There was an error performing a read ...
I am trying to run a durable function on my local computer. I was getting this error. There was an error performing a...
Read more >
Local Azure Storage Emulation with Azurite and Azure Functions
It's simple . It's available in the Storage Emulator. Look at the Primary Connection string. Let's observe the connection ...
Read more >
How to fix Azure Functions Timer Trigger unable to start ...
Storage.Blobs: Service request failed. This error is related to Azurite (the local Azure Functions runtime environment). The version of ...
Read more >
Fixing Azure Functions and Azure Storage Emulator 5.8 issue
The thing is, it's not directly related to Azure Durable Functions. It's related, in my opinion, in a breaking change that happened in...
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