You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host ID collisions in several functionapps and slots although Environment variable "AzureFunctionsWebHost__hostid" is used in every functionapp and every slot
#10650
Open
ulluoink opened this issue
Nov 22, 2024
· 4 comments
Function App version: .net 8 isolated, Runtime version 4
Region: west europe
Repro steps
several FunctionApps in one storage account with two deployment slots each (staging and production)
in every functionapp and in each slot we have an environment variable "AzureFunctionsWebHost__hostid" with a unique value (just like documented by microsoft)
deploy several FunctionApps to their staging slot
switch slot of each function to production
Error "A collision for Host ID 'functionsv4x64dotnetisolated8pla' was detected in the configured storage account. For more information, see https://aka.ms/functions-hostid-collision." occurs in several functionapps (either in production or in staging slot). The 'functionsv4x64dotnetisolated8pla' value differs from functionapp to functionapp
Expected behavior
no host id collision errors if the environment variable is used as documented
The text was updated successfully, but these errors were encountered:
ulluoink
changed the title
Host ID collisions although Envirnoment variable "AzureFunctionsWebHost__hostid" is used in every functionapp and every slot
Host ID collisions in several functionapps and slots although Environment variable "AzureFunctionsWebHost__hostid" is used in every functionapp and every slot
Nov 22, 2024
Repro steps
Expected behavior
no host id collision errors if the environment variable is used as documented
Documentation we used to address this issue:
https://learn.microsoft.com/en-us/azure/azure-functions/storage-considerations?tabs=azure-cli#override-the-host-id
https://learn.microsoft.com/en-us/azure/azure-functions/errors-diagnostics/diagnostic-events/azfd0004#options-for-addressing-collisions
https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-override
The text was updated successfully, but these errors were encountered: