Azure Logic Apps · Standard logic apps: storage account
Cannot reach host runtime
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
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
- For a public storage account, check connectivity with Azure Storage Explorer and confirm the connection string in the
AzureWebJobsStorageandWEBSITE_CONTENTAZUREFILECONNECTIONSTRINGapp settings. - For a storage account behind a firewall, check that private endpoints are set up for the Blob, File, Table and Queue storage services.
- From a virtual machine in the same virtual network, run
nslookupandpspingagainst each storage service. - Set the logic app's
WEBSITE_DNS_SERVERapp setting to the DNS server that resolves the services, and confirm that virtual network integration is set up correctly.
04Official documentation
→Related errors
- Access to the path 'C:\home\site\wwwroot\host.json' is deniedThis Azure Logic Apps (Standard) error means the logic app cannot access its storage account, typically one behind a firewall. In the Azure portal, make sure that the storage account and file share still exist.
- The network path was not foundThis Azure Logic Apps (Standard) error means the logic app is unable to connect to the file share in its storage account. In the Azure portal, make sure that the storage account and file share still exist.
- The user name or password is incorrectThis Azure Logic Apps (Standard) error means the logic app is unable to authenticate to the file share in its storage account. In the Azure portal, make sure that the storage account and file share still exist.
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