Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The listener for activity function was unable to start. DurableTask.AzureStorage: No connection could be made because the target machine actively refused it. #3014

Closed
lipalath-ms opened this issue Jan 16, 2025 · 3 comments
Labels
Needs: Author Feedback Waiting for the author of the issue to respond to a question no-recent-activity

Comments

@lipalath-ms
Copy link

I was successfully running Azure Durable Functions locally and now I am not able to run them and am getting the following error. Not sure what has changed -- any pointers on what to look at would be most appreciated.

For detailed output, run func with --verbose flag.
[2025-01-16T23:37:11.872Z] The listener for function 'Functions.CreateThresholdNotificationFunction' was unable to start.
[2025-01-16T23:37:11.875Z] The listener for function 'Functions.CreateThresholdNotificationFunction' was unable to start. DurableTask.AzureStorage: No connection could be made because the target machine actively refused it. (127.0.0.1:10000). Microsoft.WindowsAzure.Storage: No connection could be made because the target machine actively refused it. (127.0.0.1:10000). System.Net.Http: No connection could be made because the target machine actively refused it. (127.0.0.1:10000). System.Net.Sockets: No connection could be made because the target machine actively refused it.
[2025-01-16T23:37:46.519Z] The listener for function 'Functions.LoggerFunction' was unable to start.

I tried adding this setting "AzureWebJobsSecretStorageType": "files" as suggested in Azure/azure-functions-host#3795 (comment) but still running into the same issue. What am I missing?

@jviau
Copy link
Contributor

jviau commented Jan 21, 2025

@lipalath-ms it appears you are running locally, correct? Durable is trying to connect to Azurite (Azure Storage emulator), which is not running I am guessing.

Going to transfer to durable extension repo for additional help.

@jviau jviau transferred this issue from Azure/azure-functions-host Jan 21, 2025
@cgillum
Copy link
Member

cgillum commented Jan 21, 2025

@lipalath-ms can you confirm that you're running Azurite locally when attempting to run your function app?

@cgillum cgillum added Needs: Author Feedback Waiting for the author of the issue to respond to a question and removed Needs: Triage 🔍 labels Jan 21, 2025
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Waiting for the author of the issue to respond to a question no-recent-activity
Projects
None yet
Development

No branches or pull requests

3 participants