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.

The host has not yet started

See original GitHub issue

I create new simple Azure LogicApps Standard following https://docs.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code#webhook-setup.

Azure Blob Service is running sucessfully and when press F5, I receive this error: Azure Functions Core Tools Core Tools Version: 3.0.3904 Commit hash: c345f7140a8f968c5dbc621f8a8374d8e3234206 (64-bit) Function Runtime Version: 3.3.1.0

[2021-11-29T21:42:05.409Z] Workflow Error: operationName=‘WorkflowDefinitionProvider.ProcessWorkflow’, message=‘Workflow ‘Stateful1’ validate and create workflow failed, the error is ‘Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente.’’, exception='Microsoft.WindowsAzure.Storage.StorageException: Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente.

I missing something, please help me.

My host.json file:

{
    "version": "2.0",
    "logging": {
        "applicationInsights": {
            "samplingSettings": {
                "isEnabled": true,
                "excludedTypes": "Request"
            }
        }
    }
}

My local.settings.json file:

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "WORKFLOWS_TENANT_ID": "e7e3deda-f62b-44f1-bf7a-f2a73e749546",
    "WORKFLOWS_SUBSCRIPTION_ID": "2c495b46-b29b-4297-99b8-80d327876d69",
    "WORKFLOWS_RESOURCE_GROUP_NAME": "rg-bhs-eus2-dev-sc-logicapps",
    "WORKFLOWS_LOCATION_NAME": "eastus2",
    "WORKFLOWS_MANAGEMENT_BASE_URI": "https://management.azure.com/",
    "Workflows.WebhookRedirectHostUri": "http://localhost:7071" //I tried ngrok link and receive same error.
  },
  "Host": {
    "LocalHttpPort": 7071,
    "CORS": "*",
    "CORSCredentials": false
  }
}

My workflow.json file:

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Response": {
                "type": "Response",
                "kind": "http",
                "inputs": {
                    "statusCode": 200,
                    "body": {
                        "Message": "hello"
                    }
                },
                "runAfter": {}
            }
        },
        "triggers": {
            "manual": {
                "type": "Request",
                "kind": "Http",
                "inputs": {}
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {}
    },
    "kind": "Stateful"
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
sven5commented, Dec 13, 2021

Ok, I have the solution, it’s easy, you just have to run all Azurite services. In VSCode - hit F1 - type Azurite: Start

0reactions
faelpinhocommented, Apr 11, 2023

In VSCode - hit F1 - type Azurite: Start

How can I start Azurite using Visual Studio 2022? I’m getting the same error here…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating to .NET 6 causes "The host has not yet started" ...
NET 6 and updating all the dependencies to latest causes an F5 of VS2019/VS2022 to create an error "The host has not yet...
Read more >
Starting Azure Service Bus Trigger Function throws ...
Starting Azure Service Bus Trigger Function throws InvalidOperationException for "Host not yet started" · Ask Question. Asked 4 years, 10 months ...
Read more >
Azure function failing with Microsoft.Azure.WebJobs.Host. ...
Hello all! I have an azure function app that takes messages from the service bus queue and posts them to salesforce.
Read more >
.NET7 Azure Functions: the host has not yet started
I have observed that you are getting the error in using the Service Bus Connection String such as 'Endpoint=sb://wbreverso.servicebus.windows.net/; ...
Read more >
Waiting for the host to start meeting/webinar
If you receive a message that you are waiting for the host to start this meeting or webinar, it means that the host...
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