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

Func app throws Encountered an error (BadGateway) from host runtime upon migration from .net6 in-proc to .net8 isolated model #2483

Open
twisha opened this issue May 15, 2024 · 2 comments
Labels

Comments

@twisha
Copy link

twisha commented May 15, 2024

Use this repo to file issues in documentation or the Functions Visual Studio tooling.

If you need technical help, you'll get the fastest response on the forums (https://social.msdn.microsoft.com/Forums/azure/en-US/home?forum=AzureFunctions) or Stack Overflow: http://stackoverflow.com/questions/tagged/azure-functions. The entire engineering team monitors those forums.

If you're not sure where to file your issue, feel free to file it here. Please provide detailed steps to reproduce, including code if applicable.

@twisha twisha added the bug label May 15, 2024
@twisha
Copy link
Author

twisha commented May 15, 2024

Upon deploying (using GHA) our updated azure func app, we get following error
Encountered an error (BadGateway) from host runtime.

NOTE: Works as expected on local

We've updated our FUNCTIONS_WORKER_RUNTIME from dotnet -> dotnet-isolated
AND updated our linuxFxVersion from DOTNET|6.0 -> DOTNET-ISOLATED|8.0
using az cli
Here are the commands

az functionapp config appsettings set --name dev-vert-conference-svc --resource-group dev-azfunctions --settings FUNCTIONS_WORKER_RUNTIME="dotnet-isolated"
az functionapp config set --name dev-vert-conference-svc --resource-group dev-azfunctions --linux-fx-version '"DOTNET-ISOLATED|8.0"'

NOTE: There is NO change in our function version. We are on ~4. { "name": "FUNCTIONS_EXTENSION_VERSION", "slotSetting": false, "value": "~4" },

@twisha
Copy link
Author

twisha commented May 16, 2024

We tried creating a new func app. Its the same behavior/error i.e. Encountered an error (BadGateway) from host runtime.

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

No branches or pull requests

1 participant