Skip to content

"orchestration function not found when running multiple func hosts" on localhost #2175

Answered by cgillum
mizrael asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, it sounds like your two function apps are sharing the same task hub and the same storage account (i.e. the same storage emulator instance). The simple work-around is to configure each of your function apps with a different task hub name in host.json. More info here: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-task-hubs?tabs=csharp

{
  "version": "2.0",
  "extensions": {
    "durableTask": {
      "hubName": "TaskHubA"
    }
  }
}
{
  "version": "2.0",
  "extensions": {
    "durableTask": {
      "hubName": "TaskHubB"
    }
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mizrael
Comment options

Answer selected by mizrael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants