Azure / logicapps

Azure Logic Apps labs, samples, and tools
MIT License
367 stars 302 forks source link

Failed to execute 'open' on 'XMLHttpRequest': Invalid URL #818

Closed lhq2100 closed 12 months ago

lhq2100 commented 1 year ago

AB#24351928

lhq2100 commented 1 year ago

Here's my current version that I just installed today.

VSCode: v1.79.0 Azure Logic Apps (Standard) v2.18.3 Azurite v3.24.0

And I found that this old page of discussion. Not sure how to fix mine issue yet. https://github.com/Azure/logicapps/issues/528

Thanks,

lhq2100 commented 1 year ago

After I changed from "AzureWebJobsStorage": "UseDevelopmentStorage=true", to my Azure Blob account: "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=mystorageacct113;AccountKey=7h2WiUUN3xuZScRloaNb................2i+hE/Evh4gv+ASteVhGXg==;EndpointSuffix=core.windows.net",

The error is gone, and I get this link. But it does not work when I run from postman. Stateful-Workflow: http://localhost:7071/api/Stateful-Workflow/triggers/When_a_HTTP_request_is_received/invoke

image

image

lhq2100 commented 1 year ago

Did not get the full callback URL image

lhq2100 commented 1 year ago

Finally get it working using azure Storage instead of Azurite.

  1. Stop Azurite
  2. Close Overview page
  3. Start Debug F5
  4. Waiting for a while
  5. Open Overview page and the callback URL shows up

image

ccastrotrejo commented 1 year ago

Hi @lhq2100 thank you for raising this issue. It seems that the issue has due to the azure storage (azurite), I will take a further look and update on this.

ccastrotrejo commented 1 year ago

Hi @lhq2100 it does looks like an azurite issue. Could you please try another azurite version, maybe the v3.23.0. If this just happens with the 3.24.0, it might be completely on the new azurite version and we can start looking at the issue from there

lhq2100 commented 1 year ago

Hi,

It's same (not working) using V3.23.0.

Thanks,

Robert

From: Carlos Emiliano Castro Trejo @.> Sent: June 22, 2023 3:01 PM To: Azure/LogicAppsUX @.> Cc: Haoqiang robert Li @.>; Mention @.> Subject: Re: [Azure/LogicAppsUX] Failed to execute 'open' on 'XMLHttpRequest': Invalid URL (Issue Azure/logicapps#818)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

AC ITS Caution: This email originated from an external sender. Be careful of phishing attacks.

Security Tip of the Month: You are constantly asked for your personal data, whether online or in person. Don't just blindly give it up. Consider why the information is needed, who is requesting your information, and how it will be used. Remember, the Internet never forgets; take a moment to think before you give out your personal information.

Hi @lhq2100https://github.com/lhq2100 it does looks like an azurite issue. Could you please try another azurite version, maybe the v3.23.0. If this just happens with the 3.24.0, it might be completely on the new azurite version and we can start looking at the issue from there

- Reply to this email directly, view it on GitHubhttps://github.com/Azure/logicapps/issues/818, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNJVXHHUHCY32DVFWYO2NDXMSI5NANCNFSM6AAAAAAY7LF3MQ. You are receiving this because you were mentioned.Message ID: @.**@.>>

ccastrotrejo commented 1 year ago

@lhq2100 Thanks! This might be more of a backend issue then. We will move the issue into another repo where backend folks can triage it.

j-chao commented 1 year ago

I can replicate this issue as well on MacOS:

Visual Studio Code: Version: 1.80.0 Commit: 660393deaaa6d1996740ff4880f1bad43768c814 Date: 2023-07-04T13:39:33.766Z (2 days ago) Electron: 22.3.14 ElectronBuildId: 21893604 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Darwin x64 21.6.0

Name: Azurite Id: Azurite.azurite Description: An open source Azure Storage API compatible server Version: 3.24.0 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Azurite.azurite

Name: Azure Logic Apps (Standard) Id: ms-azuretools.vscode-azurelogicapps Description: Visual Studio Code extension for Azure Logic Apps (Standard) Version: 2.28.4 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurelogicapps

ccastrotrejo commented 1 year ago

Hi @j-chao, can you give it a try by updating the Azurite and Azure Logic Apps (Standard) to the latest versions? Also, could you please follow the 1-4 steps from here to properly run, test and debug locally the logic app project. Please, if this keeps happening let me know. Also, if there are any console errors could you please attach them as well?

lhq2100 commented 1 year ago

Same error for me:

Generating debug symbols... Debug symbols generated.

Azure Functions Core Tools Core Tools Version: 4.0.4865 Commit hash: N/A (64-bit) Function Runtime Version: 4.12.2.19454

[2023-08-08T18:13:54.227Z] Workflow Error: operationName='WorkflowDefinitionProvider.ProcessWorkflow', message='Workflow 'Stateful-Workflow' validation and creation failed. Error: 'One or more errors occurred. (Unexpected HTTP status code 'NotFound'.) (Unexpected HTTP status code 'NotFound'.)'', exception='System.AggregateException: One or more errors occurred. (Unexpected HTTP status code 'NotFound'.) (Unexpected HTTP status code 'NotFound'.) [2023-08-08T18:13:54.229Z] ---> Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:13:54.229Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:13:54.230Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.231Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.231Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.232Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageQueueClient.CreateIfNotExists(OperationContext operationContext, FastCloudStorageExecutionContext executionContext) [2023-08-08T18:13:54.233Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task1 operation) [2023-08-08T18:13:54.234Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateQueueInternal(CloudQueueClient client, String queue, IStorageEventSource eventSource, QueueRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:13:54.235Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.CustomBackgroundJobsDataProvider.AddQueueMessageInternal(String operationName, String queueName, CloudQueueMessage queueMessage, TimeSpan visibilityDelay) [2023-08-08T18:13:54.235Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.BackgroundJobsDataProvider.CreateJobTrigger(String jobPartition, String jobId, Guid triggerId, String messageId, TimeSpan visibilityDelay, Nullable1 jobVersion, Nullable1 executionTime, JobExecutionState[] executionStates) [2023-08-08T18:13:54.236Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Execution.JobExecutionEngine.ScheduleJobExecution(JobManagementClient managementClient, JobDefinition newDefinition, JobDefinition oldDefinition, DateTime nextExecutionTime, JobUpdateOperation jobUpdateOperation, String clientOperationId, Nullable1 version, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.237Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.JobManagementClient.CreateJob(JobBuilder builder, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.238Z] Request Information [2023-08-08T18:13:54.239Z] RequestID: [2023-08-08T18:13:54.239Z] RequestDate: [2023-08-08T18:13:54.240Z] StatusMessage:Not Found [2023-08-08T18:13:54.241Z] ErrorCode: [2023-08-08T18:13:54.241Z] [2023-08-08T18:13:54.242Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.243Z] at Microsoft.Azure.Workflows.Web.Engines.EdgeFlowWebManagementEngine.CreateNewFlow(String subscriptionId, String resourceGroup, String flowName, FlowPropertiesDefinition definitionProperties, FlowTemplateRuntimeContext runtimeContext) [2023-08-08T18:13:54.244Z] at Microsoft.Azure.Workflows.Web.Engines.EdgeFlowWebManagementEngine.ValidateAndCreateFlow(String appName, String flowName, FlowPropertiesDefinition flowPropertiesDefinition) [2023-08-08T18:13:54.245Z] at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncRetry.Retry(Func1 action, Int32 retryCount, TimeSpan retryInterval, CancellationToken cancellationToken, Nullable1 retryTimeout, Func2 isRetryable, Action1 errorAction, Func2 retryAfter) [2023-08-08T18:13:54.246Z] at Microsoft.Azure.Workflows.WebJobs.Extensions.Initialization.WorkflowFunctionDefinitionProvider.ProcessWorkflow(FlowFunction flowFunction, ConcurrentDictionary2 flowsProcessed) [2023-08-08T18:13:54.246Z] ---> (Inner Exception #1) Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:13:54.247Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:13:54.248Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.248Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.249Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.250Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageQueueClient.CreateIfNotExists(OperationContext operationContext, FastCloudStorageExecutionContext executionContext) [2023-08-08T18:13:54.251Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task1 operation) [2023-08-08T18:13:54.251Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateQueueInternal(CloudQueueClient client, String queue, IStorageEventSource eventSource, QueueRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:13:54.252Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.CustomBackgroundJobsDataProvider.AddQueueMessageInternal(String operationName, String queueName, CloudQueueMessage queueMessage, TimeSpan visibilityDelay) [2023-08-08T18:13:54.253Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.BackgroundJobsDataProvider.CreateJobTrigger(String jobPartition, String jobId, Guid triggerId, String messageId, TimeSpan visibilityDelay, Nullable1 jobVersion, Nullable1 executionTime, JobExecutionState[] executionStates) [2023-08-08T18:13:54.254Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Execution.JobExecutionEngine.ScheduleJobExecution(JobManagementClient managementClient, JobDefinition newDefinition, JobDefinition oldDefinition, DateTime nextExecutionTime, JobUpdateOperation jobUpdateOperation, String clientOperationId, Nullable1 version, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.255Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.JobManagementClient.CreateJob(JobBuilder builder, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.256Z] Request Information [2023-08-08T18:13:54.256Z] RequestID: [2023-08-08T18:13:54.257Z] RequestDate: [2023-08-08T18:13:54.258Z] StatusMessage:Not Found [2023-08-08T18:13:54.258Z] ErrorCode: [2023-08-08T18:13:54.259Z] <--- [2023-08-08T18:13:54.260Z] ', extensionVersion='1.31.12.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='a75b5d42-0257-4cdd-b47d-ed53dc0254e7'. [2023-08-08T18:13:54.324Z] Workflow Error: operationName='WorkflowDefinitionProvider.ProcessWorkflow', message='Workflow 'Stateful-Workflow' validation and creation failed. Error: 'One or more errors occurred. (Unexpected HTTP status code 'NotFound'.) (Unexpected HTTP status code 'NotFound'.)'', exception='System.AggregateException: One or more errors occurred. (Unexpected HTTP status code 'NotFound'.) (Unexpected HTTP status code 'NotFound'.) [2023-08-08T18:13:54.326Z] ---> Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:13:54.327Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:13:54.327Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.332Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.333Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.334Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageQueueClient.CreateIfNotExists(OperationContext operationContext, FastCloudStorageExecutionContext executionContext) [2023-08-08T18:13:54.335Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task1 operation) [2023-08-08T18:13:54.335Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateQueueInternal(CloudQueueClient client, String queue, IStorageEventSource eventSource, QueueRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:13:54.336Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.CustomBackgroundJobsDataProvider.AddQueueMessageInternal(String operationName, String queueName, CloudQueueMessage queueMessage, TimeSpan visibilityDelay) [2023-08-08T18:13:54.337Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.BackgroundJobsDataProvider.CreateJobTrigger(String jobPartition, String jobId, Guid triggerId, String messageId, TimeSpan visibilityDelay, Nullable1 jobVersion, Nullable1 executionTime, JobExecutionState[] executionStates) [2023-08-08T18:13:54.338Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Execution.JobExecutionEngine.ScheduleJobExecution(JobManagementClient managementClient, JobDefinition newDefinition, JobDefinition oldDefinition, DateTime nextExecutionTime, JobUpdateOperation jobUpdateOperation, String clientOperationId, Nullable1 version, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.339Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.JobManagementClient.CreateJob(JobBuilder builder, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.340Z] Request Information [2023-08-08T18:13:54.340Z] RequestID: [2023-08-08T18:13:54.341Z] RequestDate: [2023-08-08T18:13:54.342Z] StatusMessage:Not Found [2023-08-08T18:13:54.343Z] ErrorCode: [2023-08-08T18:13:54.344Z] [2023-08-08T18:13:54.344Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.345Z] at Microsoft.Azure.Workflows.Web.Engines.EdgeFlowWebManagementEngine.CreateNewFlow(String subscriptionId, String resourceGroup, String flowName, FlowPropertiesDefinition definitionProperties, FlowTemplateRuntimeContext runtimeContext) [2023-08-08T18:13:54.346Z] at Microsoft.Azure.Workflows.Web.Engines.EdgeFlowWebManagementEngine.ValidateAndCreateFlow(String appName, String flowName, FlowPropertiesDefinition flowPropertiesDefinition) [2023-08-08T18:13:54.347Z] at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncRetry.Retry(Func1 action, Int32 retryCount, TimeSpan retryInterval, CancellationToken cancellationToken, Nullable1 retryTimeout, Func2 isRetryable, Action1 errorAction, Func2 retryAfter) [2023-08-08T18:13:54.348Z] at Microsoft.Azure.Workflows.WebJobs.Extensions.Initialization.WorkflowFunctionDefinitionProvider.ProcessWorkflow(FlowFunction flowFunction, ConcurrentDictionary2 flowsProcessed) [2023-08-08T18:13:54.349Z] ---> (Inner Exception #1) Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:13:54.349Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:13:54.350Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.351Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.351Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.352Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageQueueClient.CreateIfNotExists(OperationContext operationContext, FastCloudStorageExecutionContext executionContext) [2023-08-08T18:13:54.353Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task1 operation) [2023-08-08T18:13:54.354Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateQueueInternal(CloudQueueClient client, String queue, IStorageEventSource eventSource, QueueRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:13:54.355Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.CustomBackgroundJobsDataProvider.AddQueueMessageInternal(String operationName, String queueName, CloudQueueMessage queueMessage, TimeSpan visibilityDelay) [2023-08-08T18:13:54.356Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Data.BackgroundJobsDataProvider.CreateJobTrigger(String jobPartition, String jobId, Guid triggerId, String messageId, TimeSpan visibilityDelay, Nullable1 jobVersion, Nullable1 executionTime, JobExecutionState[] executionStates) [2023-08-08T18:13:54.357Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.Execution.JobExecutionEngine.ScheduleJobExecution(JobManagementClient managementClient, JobDefinition newDefinition, JobDefinition oldDefinition, DateTime nextExecutionTime, JobUpdateOperation jobUpdateOperation, String clientOperationId, Nullable1 version, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.358Z] at Microsoft.WindowsAzure.ResourceStack.Common.BackgroundJobs.JobManagementClient.CreateJob(JobBuilder builder, Func1 onCommitJobDefinitionDelegate) [2023-08-08T18:13:54.359Z] Request Information [2023-08-08T18:13:54.360Z] RequestID: [2023-08-08T18:13:54.361Z] RequestDate: [2023-08-08T18:13:54.361Z] StatusMessage:Not Found [2023-08-08T18:13:54.362Z] ErrorCode: [2023-08-08T18:13:54.363Z] <--- [2023-08-08T18:13:54.364Z] ', extensionVersion='1.31.12.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='a979617c-3097-4185-8a70-63d3086fbc99'.

Functions:

    WorkflowDispatcher: edgeWorkflowRuntimeTrigger

For detailed output, run func with --verbose flag. [2023-08-08T18:13:54.527Z] Workflow Error: operationName='WorkflowRuntimeTriggerListener.StartAsync', message='Workflow runtime could not connect to the configured storage emulator. Please ensure storage emulator is installed and running.', exception='Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:13:54.530Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:13:54.530Z] --- End of inner exception stack trace --- [2023-08-08T18:13:54.531Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.532Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:54.533Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageTableClient.CreateIfNotExists(String tableName, OperationContext operationContext, FastCloudTableStorageExecutionContext executionContext) [2023-08-08T18:13:54.534Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task1 operation) [2023-08-08T18:13:54.534Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateTableInternal(CloudTableClient client, String table, IStorageEventSource eventSource, TableRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:13:54.535Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.ExecuteBatchInternal(StorageDataProviderBatchOperation batchOperation, String operationName, String partitionKey, DateTime clientTimestamp, String clientOperationId) [2023-08-08T18:13:54.536Z] at Microsoft.Azure.Workflows.Data.Engines.EdgeManagementEngine.RegisterEdgeEnvironment() [2023-08-08T18:13:54.537Z] at Microsoft.Azure.Workflows.WebJobs.Extensions.Trigger.EdgeWorkflowRuntimeTriggerListener.StartAsync(CancellationToken cancellationToken) [2023-08-08T18:13:54.537Z] Request Information [2023-08-08T18:13:54.538Z] RequestID: [2023-08-08T18:13:54.539Z] RequestDate: [2023-08-08T18:13:54.539Z] StatusMessage:Not Found [2023-08-08T18:13:54.540Z] ErrorCode: [2023-08-08T18:13:54.541Z] ', extensionVersion='1.31.12.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='00000000-0000-0000-0000-000000000000'. [2023-08-08T18:13:54.550Z] The listener for function 'Functions.WorkflowDispatcher' was unable to start. [2023-08-08T18:13:54.552Z] The listener for function 'Functions.WorkflowDispatcher' was unable to start. Microsoft.WindowsAzure.ResourceStack: Unexpected HTTP status code 'NotFound'. The remote server returned an error: (404) Not Found. [2023-08-08T18:13:56.572Z] Workflow Error: operationName='WorkflowRuntimeTriggerListener.StartAsync', message='Workflow runtime could not connect to the configured storage emulator. Please ensure storage emulator is installed and running.', exception='Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:13:56.573Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:13:56.573Z] --- End of inner exception stack trace --- [2023-08-08T18:13:56.574Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:56.575Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:13:56.575Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageTableClient.CreateIfNotExists(String tableName, OperationContext operationContext, FastCloudTableStorageExecutionContext executionContext) [2023-08-08T18:13:56.576Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task1 operation) [2023-08-08T18:13:56.577Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateTableInternal(CloudTableClient client, String table, IStorageEventSource eventSource, TableRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:13:56.578Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.ExecuteBatchInternal(StorageDataProviderBatchOperation batchOperation, String operationName, String partitionKey, DateTime clientTimestamp, String clientOperationId) [2023-08-08T18:13:56.579Z] at Microsoft.Azure.Workflows.Data.Engines.EdgeManagementEngine.RegisterEdgeEnvironment() [2023-08-08T18:13:56.579Z] at Microsoft.Azure.Workflows.WebJobs.Extensions.Trigger.EdgeWorkflowRuntimeTriggerListener.StartAsync(CancellationToken cancellationToken) [2023-08-08T18:13:56.580Z] Request Information [2023-08-08T18:13:56.581Z] RequestID: [2023-08-08T18:13:56.581Z] RequestDate: [2023-08-08T18:13:56.582Z] StatusMessage:Not Found [2023-08-08T18:13:56.583Z] ErrorCode: [2023-08-08T18:13:56.583Z] ', extensionVersion='1.31.12.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='00000000-0000-0000-0000-000000000000'. [2023-08-08T18:13:56.664Z] The listener for function 'Functions.WorkflowDispatcher' was unable to start. [2023-08-08T18:13:56.666Z] The listener for function 'Functions.WorkflowDispatcher' was unable to start. Microsoft.WindowsAzure.ResourceStack: Unexpected HTTP status code 'NotFound'. The remote server returned an error: (404) Not Found. [2023-08-08T18:13:59.333Z] Host lock lease acquired by instance ID '000000000000000000000000439ED052'. [2023-08-08T18:14:00.933Z] Workflow Error: operationName='WorkflowRuntimeTriggerListener.StartAsync', message='Workflow runtime could not connect to the configured storage emulator. Please ensure storage emulator is installed and running.', exception='Microsoft.WindowsAzure.Storage.StorageException: Unexpected HTTP status code 'NotFound'. [2023-08-08T18:14:00.934Z] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. [2023-08-08T18:14:00.935Z] --- End of inner exception stack trace --- [2023-08-08T18:14:00.935Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Attempt(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:14:00.936Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageClientExecutor.Execute(OperationContext operationContext, FastCloudStorageExecutionContext executionContext, MemoryStream content) [2023-08-08T18:14:00.937Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.FastCloudStorageTableClient.CreateIfNotExists(String tableName, OperationContext operationContext, FastCloudTableStorageExecutionContext executionContext) [2023-08-08T18:14:00.937Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.ExecuteOperationAsync[T](Task`1 operation) [2023-08-08T18:14:00.938Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.CreateTableInternal(CloudTableClient client, String table, IStorageEventSource eventSource, TableRequestOptions requestOptions, StorageArtifactKey artifactKey) [2023-08-08T18:14:00.939Z] at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.ExecuteBatchInternal(StorageDataProviderBatchOperation batchOperation, String operationName, String partitionKey, DateTime clientTimestamp, String clientOperationId) [2023-08-08T18:14:00.940Z] at Microsoft.Azure.Workflows.Data.Engines.EdgeManagementEngine.RegisterEdgeEnvironment() [2023-08-08T18:14:00.940Z] at Microsoft.Azure.Workflows.WebJobs.Extensions.Trigger.EdgeWorkflowRuntimeTriggerListener.StartAsync(CancellationToken cancellationToken) [2023-08-08T18:14:00.941Z] Request Information [2023-08-08T18:14:00.941Z] RequestID: [2023-08-08T18:14:00.942Z] RequestDate: [2023-08-08T18:14:00.943Z] StatusMessage:Not Found [2023-08-08T18:14:00.943Z] ErrorCode: [2023-08-08T18:14:00.944Z] ', extensionVersion='1.31.12.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='00000000-0000-0000-0000-000000000000'. [2023-08-08T18:14:00.993Z] The listener for function 'Functions.WorkflowDispatcher' was unable to start. [2023-08-08T18:14:00.995Z] The listener for function 'Functions.WorkflowDispatcher' was unable to start. Microsoft.WindowsAzure.ResourceStack: Unexpected HTTP status code 'NotFound'. The remote server returned an error: (404) Not Found.

From: Carlos Emiliano Castro Trejo @.> Sent: Tuesday, August 8, 2023 1:28 PM To: Azure/logicapps @.> Cc: Haoqiang robert Li @.>; Author @.> Subject: Re: [Azure/logicapps] Failed to execute 'open' on 'XMLHttpRequest': Invalid URL (Issue #818)

AC ITS Caution: This email originated from an external sender. Be careful of phishing attacks.

Security Tip of the Month: You are constantly asked for your personal data, whether online or in person. Don't just blindly give it up. Consider why the information is needed, who is requesting your information, and how it will be used. Remember, the Internet never forgets; take a moment to think before you give out your personal information.

Hi @j-chaohttps://github.com/j-chao, can you give it a try by updating the Azurite and Azure Logic Apps (Standard) to the latest versions? Also, could you please follow the 1-4 steps from herehttps://learn.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code#run-test-and-debug-locally to properly run, test and debug locally the logic app project. Please, if this keeps happening let me know. Also, if there are any console errors could you please attach them as well?

- Reply to this email directly, view it on GitHubhttps://github.com/Azure/logicapps/issues/818#issuecomment-1670023100, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNJVXBFZNWU3WCIZKBIMSTXUJZJBANCNFSM6AAAAAAZQWMDYM. You are receiving this because you authored the thread.Message ID: @.**@.>>

AbodeSaafan commented 1 year ago

Hey,

For the latest stack trace, I see that the runtime isn't able to connect to the emulator, can you confirm your storage setting and that the emulator azurite is running fine

'Workflow runtime could not connect to the configured storage emulator. Please ensure storage emulator is installed and running.',

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] commented 12 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.