Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KAdvait opened this issue Apr 19, 2024 · 3 comments
Assignees

Comments

@KAdvait
Copy link

KAdvait commented Apr 19, 2024

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.

@bhagyshricompany
Copy link

bhagyshricompany commented Apr 22, 2024

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

@jessephelps
Copy link

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?

@KAdvait
Copy link
Author

KAdvait commented Apr 29, 2024

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

it is in python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants