@Lu Li This error is generally network-related error occurred while establishing a connection to the Server. Please check if the firewalls are enable or any proxy could be used from that particular network.
Run logic app locally
Hello,
I am new to Azure cloud and Logic App. I was assigned a task to use logic apps develop an integration project.
For the first step i want to get a simple logic apps running locally. My IDE is Visual Studio Code and i followed online tutorial to install and run the Azurite Visual Studio Code extension, but i got below error when i run the application. Anyone has idea about the issue ?
Azure Functions Core Tools
Core Tools Version: 3.0.3477 Commit hash: 5fbb9a76fc00e4168f2cc90d6ff0afe5373afc6d (64-bit)
Function Runtime Version: 3.0.15584.0
[2021-06-07T01:16:34.117Z] Workflow Error: operationName='WorkflowDefinitionProvider.ProcessWorkflow', message='Workflow 'Nav-to-Westpac-Transmit-File-Workflow' validate and create workflow failed, the error is 'No connection could be made because the target machine actively refused it.'', exception='Microsoft.WindowsAzure.Storage.StorageException: No connection could be made because the target machine actively refused it.
[2021-06-07T01:16:34.119Z] ---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
[2021-06-07T01:16:34.120Z] ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
[2021-06-07T01:16:34.120Z] at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
[2021-06-07T01:16:34.121Z] --- End of inner exception stack trace ---
[2021-06-07T01:16:34.121Z] at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
[2021-06-07T01:16:34.122Z] at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
[2021-06-07T01:16:34.123Z] at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[2021-06-07T01:16:34.123Z] at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[2021-06-07T01:16:34.124Z] at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
[2021-06-07T01:16:34.125Z] at Microsoft.WindowsAzure.ResourceStack.Common.Http.HttpWebRequestProcessor.SendWithHttpClient(HttpWebRequest webRequest, MemoryStream content, CancellationToken cancellationToken)
[2021-06-07T01:16:34.126Z] at Microsoft.WindowsAzure.ResourceStack.Common.Http.HttpWebRequestProcessor.SendWithHttpClient(HttpWebRequest request, TimeSpan timeout, MemoryStream content)
[2021-06-07T01:16:34.127Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content)
[2021-06-07T01:16:34.128Z] --- End of inner exception stack trace ---
[2021-06-07T01:16:34.129Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content)
[2021-06-07T01:16:34.130Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content)
[2021-06-07T01:16:34.132Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content)
[2021-06-07T01:16:34.132Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageTableClient.RetrieveEntity(TableOperation operation, OperationContext operationContext, FastCloudTableStorageExecutionContext executionContext)
[2021-06-07T01:16:34.133Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsyncT
[2021-06-07T01:16:34.134Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.FindInternalT
[2021-06-07T01:16:34.135Z] at Microsoft.Azure.Workflows.Data.CacheProviders.RegionalCacheProvider.<>c__DisplayClass98_0.<<FindSubscriptionRemote>b__0>d.MoveNext()
[2021-06-07T01:16:34.135Z] --- End of stack trace from previous location where exception was thrown ---
[2021-06-07T01:16:34.136Z] at Microsoft.Azure.Workflows.Data.Algorithms.DistributedPassThroughCache.GetValueInternalT
[2021-06-07T01:16:34.137Z] at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncPassThroughCache2.GetValue(TKey cacheKey, Func
1 valueFactory)
[2021-06-07T01:16:34.137Z] at Microsoft.Azure.Workflows.Web.Engines.EdgeFlowWebManagementEngine.ValidateAndCreateFlow(String flowName, FlowPropertiesDefinition definition)
[2021-06-07T01:16:34.138Z] at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncRetry.Retry(Func1 action, Int32 retryCount, TimeSpan retryInterval, CancellationToken cancellationToken, Nullable
1 retryTimeout, Func2 isRetryable, Action
1 errorAction, Func2 retryAfter) [2021-06-07T01:16:34.139Z] at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncRetry.Retry(Func
1 action, Int32 retryCount, TimeSpan retryInterval, CancellationToken cancellationToken, Nullable1 retryTimeout, Func
2 isRetryable, Action1 errorAction, Func
2 retryAfter)
[2021-06-07T01:16:34.140Z] at Microsoft.Azure.Workflows.WebJobs.Extensions.Initialization.WorkflowFunctionDefinitionProvider.ProcessWorkflow(FlowFunction flowFunction, ConcurrentDictionary`2 flowsProcessed)
[2021-06-07T01:16:34.141Z] Request Information
[2021-06-07T01:16:34.143Z] RequestID:
[2021-06-07T01:16:34.144Z] RequestDate:
[2021-06-07T01:16:34.145Z] StatusMessage:
[2021-06-07T01:16:34.145Z] ErrorCode:
[2021-06-07T01:16:34.146Z] ', extensionVersion='1.0.0.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='e5da79b8-fb84-4f83-8fb4-e26075532f40'.
[2021-06-07T01:16:36.286Z] A host error has occurred during startup operation 'ca0e5024-025e-459f-8196-bca58d72aa47'.
[2021-06-07T01:16:36.288Z] Microsoft.WindowsAzure.ResourceStack: 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.
Value cannot be null. (Parameter 'provider')
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command func host start" terminated with exit code: 1.
Azure Logic Apps
2 additional answers
Sort by: Most helpful
-
SvenGlöckner 446 Reputation points
2021-12-13T15:42:21.12+00:00 it's easy, you just have to run all Azurite services.
In VSCode - hit F1 - type Azurite: Start
The documentation could be more clear on this.
-
Daniele Galimberti 1 Reputation point
2021-11-04T11:39:24.5+00:00 I have the same issue, I tried to disable the firewall, but it doesn't works.
Any other options for resolve the issue?