How to fix this issue "Cannot reach host runtime. Error details, Code: 'BadRequest', Message: 'Encountered an error (InternalServerError) from host runtime.'"

Bacol, Jaypee B 5 Reputation points
2024-02-17T10:05:15.0733333+00:00

We have standard Azure Logic Apps which being used as our Dev. It contains many 90 workflows, 48 connections, and 43 parameters. See details below: Problem: The Logic App cannot load the workflows and says "Cannot reach host runtime. Error details, Code: 'BadRequest', Message: 'Encountered an error (InternalServerError) from host runtime.: I remember I encountered this before and it just went back to normal where error got disappeared in few minutes without any changes made. But this time is different as the issue is persistent. Tried Solution: We also noticed that Runtime version is empty compared to our Test Logic App which has 4.30.0.22097 value and the test logic app is working. So that's why we came-up to try to fix this using this https://techcommunity.microsoft.com/t5/azure-integration-services-blog/azure-logic-apps-standard-now-supports-azure-functions-v4/ba-p/3656072but no luck as issue still persists.File Attachment: Logic App Error.png Note: Pls help us as this is a big showstopper to us.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 34,661 Reputation points MVP Volunteer Moderator
    2024-02-17T10:37:38.1933333+00:00

    Hi Bacol, Jaypee B, Thanks for reaching out to Microsoft Q&A.

    This error message usually indicates that there is a problem with the host runtime configuration or the network connectivity of your Logic App. Check the following points to narrow down your issue.

    • Check if you Logic App is stopped or disabled. You can check the status of your Logic App in the Azure portal.
    • if your Logic App is using a private endpoint and your machine doesn’t have access to the private IP of the Logic App. You can either grant access to your client machine or use a public endpoint for your Logic App.
    • The Logic App is using an outdated or incompatible version of the Azure Functions runtime or the Azure Logic Apps runtime. You can update the runtime versions to the latest ones in the Azure portal or in your local.settings.json file.
    • Check if your Logic App is using incorrect or missing app settings or host settings. You can review and edit the app settings and host settings in the Azure portal or in your local.settings.json and host.json files.

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.