Azurite | Durable functions not starting - The listener for function 'x' was unable to start.
See original GitHub issueWhich service(blob, file, queue, table) does this issue concern?
Queue (affects only durable functions though) normal queue trigger works fine
Which version of the Azurite was used?
3.9.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
Used both npm & VSCode extension
What’s the Node.js version?
v12.13.0
What problem was encountered?
When I start my azure function app, I get the following:
[2020-11-04T17:41:50.594] The listener for function 'Functions.DurableFunctionsActivity1' was unable to start.
[2020-11-04T17:41:50.596] The listener for function 'Functions.DurableFunctionsActivity1' was unable to start. Microsoft.WindowsAzure.Storage: No connection could be made because the target machine actively refused it. System.Net.Http: No connection could be made because the target machine actively refused it. System.Private.CoreLib: No connection could be made because the target machine actively refused it.
[2020-11-04T17:42:22.228] The listener for function 'Functions.DurableFunctionsActivity2' was unable to start.
[2020-11-04T17:42:22.231] The listener for function 'Functions.DurableFunctionsActivity2' was unable to start. Microsoft.WindowsAzure.Storage: No connection could be made because the target machine actively refused it. System.Net.Http: No connection could be made because the target machine actively refused it. System.Private.CoreLib: No connection could be made because the target machine actively refused it.
[2020-11-04T17:42:50.648] The listener for function 'Functions.DurableFunctionsOrchestrator' was unable to start.
[2020-11-04T17:42:50.655] The listener for function 'Functions.DurableFunctionsOrchestrator' was unable to start. Microsoft.WindowsAzure.Storage: No connection could be made because the target machine actively refused it. System.Net.Http: No connection could be made because the target machine actively refused it. System.Private.CoreLib: No connection could be made because the target machine actively refused it.
The project still runs but if I were to try send a http request to my durable function http listener then I would get the following error in the console
Result: Failure
Exception: Error: The operation failed with an unexpected status code: 500. Details: {"Message":"Something went wrong while processing your request","ExceptionMessage":"No connection could be made because the target machine actively refused it"
Attached is my debug.log generated by azurite: debug.log
Steps to reproduce the issue?
-
Install azurite
-
Setup the azure durable functions
-
run the azure function project and you shall see the errors described above
Have you found a mitigation/solution?
No, I know it works with the Microsoft Azure Storage Emulator
but azurite is a requirement since it works with MAC OS
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
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 >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 >How to fix Azure Functions Timer Trigger unable to start ...
The listener for function 'function name' was unable to start. Azure.Storage.Blobs: Service request failed. This error is related to Azurite ( ...
Read more >How to fix "The listener for function was unable to start. Out of ...
I'm not saying it was built with Azure Functions, but it was definitely. How to fix “The listener for function was unable to...
Read more >Azure Function - The listener for function was unable to start
Issue. When debugging one of my Azure Functions in Visual Studio 2017, I got the error below: “The listener for function 'MyFunction' was ......
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
@Jamess-Lucass
There might be no short term solution , and we need wait for table in Azurite V3. For legacy version (v2) , it supports table, so in theory it supports Azure function, but not validated before.
We already have item tracking Azurite V3 Table in #253, will close this.