azure-functions-host icon indicating copy to clipboard operation
azure-functions-host copied to clipboard

Azure function fails to deploy. "Error while loading functions Encountered an error (ServiceUnavailable) from host runtime."

Open KAdvait opened this issue 10 months ago • 3 comments

I have created a container based azure function app (linux) with an app service plan attached. B1 to be specific. I created a python 3.10 function (http_trigger) for the same on VS Code. Whenever I try to deploy the function using VS Code it shows me the following error: image

In addition to that I am getting the same error in the azure portal image

I have been stuck on this issue for past few days and I have checked previous issues as well... I do not have the WEBSITE_RUN_FROM_PACKAGE app setting and I havent made any changes in the connection string.

KAdvait avatar Apr 19 '24 12:04 KAdvait

Thanks for reporting.is it in python or dotnet ? Because it deployed properly I checked. can you try again.

bhagyshricompany avatar Apr 22 '24 10:04 bhagyshricompany

I'm having some of the same issues. I'm running on node and found that the latest tag isn't working for me (4.33.2). I did this and it worked.

FROM mcr.microsoft.com/azure-functions/node:4.33.1

Can you try something similar? Drop back one version?

jessephelps avatar Apr 24 '24 00:04 jessephelps

Thanks for reporting.is it in python or dotnet ? Because it deployed properly I checked. can you try again.

it is in python

KAdvait avatar Apr 29 '24 05:04 KAdvait

Isn't this the same as #8583 (open since June/2022)?

RoFz avatar Jul 29 '24 19:07 RoFz