Azure Logic Apps · Standard logic apps: storage account

Cannot reach host runtime

Short answer

This Azure Logic Apps (Standard) error on the Workflows pane means the workflows cannot load because the artifacts in the storage account are not accessible. For a public storage account, check connectivity with Azure Storage Explorer and confirm the connection string in the AzureWebJobsStorage and WEBSITE_CONTENTAZUREFILECONNECTIONSTRING app settings.

VerifiedLast verified

01Error text

Azure Logic Apps error
Cannot reach host runtime. Error details, Code: 'BadRequest', Message: 'Encountered an error (ServiceUnavailable) from host runtime.'
Cannot reach host runtime. Error details, Code: 'BadRequest', Message: 'Encountered an error (InternalServerError) from host runtime.'
Cannot reach host runtime. Error details, Code: 'BadRequest', Message: 'Encountered an error (BadGateway) from host runtime.'

02Likely causes

  • The storage account itself is not accessible.
  • The storage account is behind a firewall but no private endpoint is set up for the storage services to use.

03How to fix it

  1. For a public storage account, check connectivity with Azure Storage Explorer and confirm the connection string in the AzureWebJobsStorage and WEBSITE_CONTENTAZUREFILECONNECTIONSTRING app settings.
  2. For a storage account behind a firewall, check that private endpoints are set up for the Blob, File, Table and Queue storage services.
  3. From a virtual machine in the same virtual network, run nslookup and psping against each storage service.
  4. Set the logic app's WEBSITE_DNS_SERVER app setting to the DNS server that resolves the services, and confirm that virtual network integration is set up correctly.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for Azure Logic Apps work:Open Azure Logic Apps jobsAzure Logic Apps rates and salaries

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.